replacer/replacer.spec

185 lines
6.8 KiB
RPMSpec
Raw Normal View History

2013-06-10 14:50:08 +00:00
Name: replacer
2015-03-17 18:03:43 +00:00
Version: 1.6
Release: 29%{?dist}
2013-06-10 14:50:08 +00:00
Summary: Replacer Maven Mojo
License: MIT
2015-03-17 18:03:43 +00:00
URL: https://github.com/beiliubei/maven-replacer-plugin
# http://code.google.com/p/maven-replacer-plugin/
Source0: https://github.com/beiliubei/maven-replacer-plugin/archive/%{version}.tar.gz
Patch0: 0001-Port-to-maven-plugin-annotations-from-Javadoc-tags.patch
2015-03-17 18:03:43 +00:00
BuildRequires: maven-local
BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(org.apache.ant:ant)
2020-07-29 12:49:51 +00:00
BuildRequires: mvn(org.apache.commons:commons-lang3)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(xerces:xercesImpl)
2013-06-10 14:50:08 +00:00
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
2013-06-10 14:50:08 +00:00
%description
Maven plugin to replace tokens in a given file with a value.
This plugin is also used to automatically generating PackageVersion.java
in the FasterXML.com project.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
2015-03-17 18:03:43 +00:00
%setup -q -n maven-replacer-plugin-%{version}
%patch0 -p1
2013-06-10 14:50:08 +00:00
# remove unnecessary dependency on parent POM
%pom_remove_parent
2013-06-10 14:50:08 +00:00
%pom_remove_plugin :dashboard-maven-plugin
2015-03-17 18:03:43 +00:00
%pom_remove_plugin :maven-assembly-plugin
2014-07-03 13:12:54 +00:00
# remove hard-coded compiler settings
%pom_remove_plugin :maven-compiler-plugin
2020-07-29 12:49:51 +00:00
# trivial port to commons-lang3
%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1
2023-12-27 20:58:25 +00:00
# "No mojo definitions were found for plugin" with maven-plugin-plugin 3.9
%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-plugin-plugin']" \
'<configuration><skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound></configuration>'
2020-07-29 12:49:51 +00:00
for i in $(find -name "*.java"); do
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" $i;
done
2013-07-03 20:33:57 +00:00
%mvn_file :%{name} %{name}
%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin
2013-06-10 14:50:08 +00:00
2013-07-03 20:33:57 +00:00
%build
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
2013-06-10 14:50:08 +00:00
2013-07-03 20:33:57 +00:00
%install
%mvn_install
2013-06-10 14:50:08 +00:00
2013-07-03 20:33:57 +00:00
%files -f .mfiles
2015-03-17 18:03:43 +00:00
%doc README.md
%license LICENSE
2013-06-10 14:50:08 +00:00
2013-07-03 20:33:57 +00:00
%files javadoc -f .mfiles-javadoc
2015-03-17 18:03:43 +00:00
%license LICENSE
2013-06-10 14:50:08 +00:00
%changelog
* Fri Feb 09 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-29
- Port to maven-plugin-annotations from Javadoc tags
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.6-23
- Rebuilt for Drop i686 JDKs
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.6-22
- Rebuilt for java-17-openjdk as system jdk
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-05-12 12:15:36 +00:00
* Wed May 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 1.6-19
- Remove maven-javadoc-plugin dependency
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-07-29 12:49:51 +00:00
* Thu Jul 30 2020 Fabio Valentini <decathorpe@gmail.com> - 1.6-17
- Port to commons-lang3.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-11 03:48:00 +00:00
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.6-15
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Fri Jun 26 2020 Mat Booth <mat.booth@redhat.com> - 1.6-14
- Allow building against Java 11
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 22 2019 Fabio Valentini <decathorpe@gmail.com> - 1.6-12
- Remove unnecessary dependency on parent POM.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Apr 18 2019 Mat Booth <mat.booth@redhat.com> - 1.6-10
- Disable tests to reduce dependency tree
2019-02-13 16:28:16 +00:00
* Wed Feb 13 2019 Mat Booth <mat.booth@redhat.com> - 1.6-9
- Fix build against mockito 2.x
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-03-17 18:03:43 +00:00
* Tue Mar 17 2015 gil cattaneo <puntogil@libero.it> 1.6-1
- update to 1.6
- fix Url tag and Source0 tag
2015-02-11 19:48:53 +00:00
* Wed Feb 11 2015 gil cattaneo <puntogil@libero.it> 1.5.3-2
- introduce license macro
2014-07-03 13:12:54 +00:00
* Thu Jul 03 2014 gil cattaneo <puntogil@libero.it> 1.5.3-1
- update to 1.5.3
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.5.2-4
- Use Requires: java-headless rebuild (#1067528)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-03 20:33:57 +00:00
* Wed Jul 03 2013 gil cattaneo <puntogil@libero.it> 1.5.2-2
- switch to XMvn
- minor changes to adapt to current guideline
2013-06-10 14:50:08 +00:00
* Sun May 26 2013 gil cattaneo <puntogil@libero.it> 1.5.2-1
- initial rpm