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