3ac04d
Name:           munge-maven-plugin
3ac04d
Version:        1.0
3ac04d
Release:        11%{?dist}
3ac04d
Summary:        Munge Maven Plugin
3ac04d
License:        CDDL-1.0
3ac04d
URL:            http://github.com/sonatype/munge-maven-plugin
3ac04d
BuildArch:      noarch
3ac04d
3ac04d
Source0:        https://github.com/sonatype/munge-maven-plugin/archive/munge-maven-plugin-1.0.tar.gz
3ac04d
3ac04d
BuildRequires:  maven-local
3ac04d
BuildRequires:  mvn(junit:junit)
3ac04d
BuildRequires:  mvn(org.apache.maven:maven-core)
3ac04d
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
3ac04d
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
3ac04d
BuildRequires:  mvn(org.sonatype.plugins:plugins-parent:pom:)
3ac04d
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
3ac04d
3ac04d
%description
3ac04d
Munge is a purposely-simple Java preprocessor. It only supports
3ac04d
conditional inclusion of source based on defined strings of the
3ac04d
form "if[tag]", "if_not[tag]", "else[tag]", and "end[tag]".
3ac04d
Unlike traditional preprocessors, comments, and formatting are all
3ac04d
preserved for the included lines. This is on purpose, as the output
3ac04d
of Munge will be distributed as human-readable source code.
3ac04d
3ac04d
To avoid creating a separate Java dialect, the conditional tags are
3ac04d
contained in Java comments. This allows one build to compile the
3ac04d
source files without pre-processing, to facilitate faster incremental
3ac04d
development. Other builds from the same source have their code contained
3ac04d
within that comment. The format of the tags is a little verbose, so
3ac04d
that the tags won't accidentally be used by other comment readers
3ac04d
such as javadoc. Munge tags must be in C-style comments;
3ac04d
C++-style comments may be used to comment code within a comment.
3ac04d
3ac04d
Like any preprocessor, developers must be careful not to abuse its
3ac04d
capabilities so that their code becomes unreadable. Please use it
3ac04d
as little as possible.
3ac04d
3ac04d
%package javadoc
3ac04d
Summary:        API documentation for %{name}
3ac04d
3ac04d
%description javadoc
3ac04d
This package provides %{summary}.
3ac04d
3ac04d
%prep
3ac04d
%setup -q -n %{name}-%{name}-%{version}
3ac04d
3ac04d
%build
3ac04d
%mvn_build
3ac04d
3ac04d
%install
3ac04d
%mvn_install
3ac04d
3ac04d
%files -f .mfiles
3ac04d
%dir %{_javadir}/%{name}
3ac04d
%license LICENSE
3ac04d
%doc README
3ac04d
3ac04d
%files javadoc -f .mfiles-javadoc
3ac04d
%license LICENSE
3ac04d
3ac04d
%changelog
3ac04d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3ac04d
3ac04d
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 1.0-10
3ac04d
- Specify CDDL license version
3ac04d
3ac04d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-9
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ac04d
3ac04d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3ac04d
3ac04d
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-7
3ac04d
- Regenerate build-requires
3ac04d
3ac04d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3ac04d
3ac04d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3ac04d
3ac04d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
3ac04d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ac04d
3ac04d
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-3
3ac04d
- Use Requires: java-headless rebuild (#1067528)
3ac04d
3ac04d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-2
3ac04d
- Fix unowned directory
3ac04d
3ac04d
* Tue Sep 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-1
3ac04d
- Initial packaging