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