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