diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f0a9fe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maven-antrun-plugin-1.7-source-release.zip diff --git a/.rh-maven33-maven-antrun-plugin.metadata b/.rh-maven33-maven-antrun-plugin.metadata new file mode 100644 index 0000000..57ba7ac --- /dev/null +++ b/.rh-maven33-maven-antrun-plugin.metadata @@ -0,0 +1 @@ +eadbe97096ee628522791344d3d314ca01cb50ca SOURCES/maven-antrun-plugin-1.7-source-release.zip diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/fix-deps.patch b/SOURCES/fix-deps.patch new file mode 100644 index 0000000..db16e0b --- /dev/null +++ b/SOURCES/fix-deps.patch @@ -0,0 +1,14 @@ +--- pom.xml.orig 2011-10-28 20:00:32.000000000 +0300 ++++ pom.xml 2011-11-01 09:52:35.921717462 +0200 +@@ -71,6 +71,11 @@ under the License. + ${mavenVersion} + + ++ org.apache.maven ++ maven-compat ++ ${mavenVersion} ++ ++ + org.codehaus.plexus + plexus-utils + 2.0.5 diff --git a/SPECS/maven-antrun-plugin.spec b/SPECS/maven-antrun-plugin.spec new file mode 100644 index 0000000..28a37af --- /dev/null +++ b/SPECS/maven-antrun-plugin.spec @@ -0,0 +1,163 @@ +%global pkg_name maven-antrun-plugin +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.7 +Release: 8.14%{?dist} +Summary: Maven AntRun Plugin + +License: ASL 2.0 +URL: http://maven.apache.org/plugins/maven-antrun-plugin/ +Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip +Patch0: fix-deps.patch + +BuildArch: noarch + +BuildRequires: %{?scl_prefix}plexus-utils +BuildRequires: %{?scl_prefix_java_common}ant +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}maven-install-plugin +BuildRequires: %{?scl_prefix}maven-compiler-plugin +BuildRequires: %{?scl_prefix}maven-plugin-plugin +BuildRequires: %{?scl_prefix}maven-resources-plugin +BuildRequires: %{?scl_prefix}maven-surefire-plugin +BuildRequires: %{?scl_prefix}maven-surefire-provider-junit +BuildRequires: %{?scl_prefix}maven-jar-plugin +BuildRequires: %{?scl_prefix}maven-javadoc-plugin + + +%description +Runs Ant scripts embedded in the POM + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +API documentation for %{pkg_name}. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%patch0 +#%patch1 +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/%{pkg_name} +%dir %{_javadir}/%{pkg_name} +%doc LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + +%changelog +* Mon Feb 08 2016 Michal Srb - 1.7-8.14 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 1.7-8.13 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 1.7-8.12 +- maven33 rebuild + +* Thu Jan 15 2015 Mikolaj Izdebski - 1.7-8.11 +- Add directory ownership on %%{_mavenpomdir} subdir + +* Tue Jan 13 2015 Michael Simacek - 1.7-8.10 +- Mass rebuild 2015-01-13 + +* Mon Jan 12 2015 Michael Simacek - 1.7-8.9 +- Rebuild to regenerate requires from java-common + +* Tue Jan 06 2015 Michael Simacek - 1.7-8.8 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 1.7-8.7 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.7-8.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.7-8.5 +- Mass rebuild 2014-02-18 + +* Mon Feb 17 2014 Mikolaj Izdebski - 1.7-8.4 +- Rebuild to fix incorrect auto-requires + +* Fri Feb 14 2014 Mikolaj Izdebski - 1.7-8.3 +- SCL-ize requires and build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.7-8.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.7-8.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.7-8 +- Mass rebuild 2013-12-27 + +* Fri Aug 23 2013 Michal Srb - 1.7-7 +- Migrate away from mvn-rpmbuild (Resolves: #997495) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.7-6 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.7-4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 1.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 1 2011 Alexander Kurtakov 1.7-1 +- Update to 1.7 upstream release. + +* Wed Jun 8 2011 Alexander Kurtakov 1.6-4 +- Build with maven 3.x. + +* Tue Feb 08 2011 Fedora Release Engineering - 1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 10 2011 Alexander Kurtakov 1.6-2 +- Make it work with ant 1.8.2. + +* Thu Oct 14 2010 Alexander Kurtakov 1.6-1 +- Update to 1.6. + +* Mon Sep 20 2010 Alexander Kurtakov 1.5-1 +- Update to 1.5. +- Use upstream tarball. +- Add License and readme as doc. + +* Tue Aug 31 2010 Alexander Kurtakov 1.4-4 +- Fix runtime issue of not finding ant-launcher. + +* Tue Aug 31 2010 Alexander Kurtakov 1.4-3 +- Add patch to fix build. + +* Fri May 28 2010 Alexander Kurtakov 1.4-2 +- Add provides/obsoletes. + +* Thu May 27 2010 Alexander Kurtakov 1.4-1 +- Initial package.