From 2979610d895f8d04c1e834c3b9e52c9a976ced7a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:34:20 +0000 Subject: import rh-maven33-apache-commons-exec-1.1-11.12.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b92b6b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/commons-exec-1.1-src.tar.gz diff --git a/.rh-maven33-apache-commons-exec.metadata b/.rh-maven33-apache-commons-exec.metadata new file mode 100644 index 0000000..91d78d6 --- /dev/null +++ b/.rh-maven33-apache-commons-exec.metadata @@ -0,0 +1 @@ +40b06888c059ef544e5368c80ab3999b24c2fd7f SOURCES/commons-exec-1.1-src.tar.gz 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/SPECS/apache-commons-exec.spec b/SPECS/apache-commons-exec.spec new file mode 100644 index 0000000..1f2af4c --- /dev/null +++ b/SPECS/apache-commons-exec.spec @@ -0,0 +1,155 @@ +%global pkg_name apache-commons-exec +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +%global base_name exec +%global short_name commons-%{base_name} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.1 +Release: 11.12%{?dist} +Summary: Java library to reliably execute external processes from within the JVM + +License: ASL 2.0 +URL: http://commons.apache.org/exec/ +Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz + +BuildRequires: iputils +BuildRequires: %{?scl_prefix_java_common}javapackages-tools +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}apache-commons-parent >= 26-7 +BuildArch: noarch + +%description +Commons Exec is a library for dealing with external process execution and +environment management in Java. + + +%package javadoc +Summary: Javadocs for %{pkg_name} + +%description javadoc +This package contains the API documentation for %{pkg_name}. + + +%prep +%setup -q -n %{short_name}-%{version}-src +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x + +# Shell scripts used for unit tests must be executable (see +# http://commons.apache.org/exec/faq.html#environment-testing) +chmod a+x src/test/scripts/*.sh + +%mvn_file : %{pkg_name} %{short_name} +%{?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 +%doc LICENSE.txt NOTICE.txt STATUS + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + + +%changelog +* Mon Feb 08 2016 Michal Srb - 1.1-11.12 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 1.1-11.11 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 1.1-11.10 +- maven33 rebuild + +* Tue Jan 13 2015 Michael Simacek - 1.1-11.9 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 1.1-11.8 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 1.1-11.7 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.1-11.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.1-11.5 +- Mass rebuild 2014-02-18 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.1-11.4 +- Remove requires on java + +* Mon Feb 17 2014 Mikolaj Izdebski - 1.1-11.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.1-11.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.1-11.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.1-11 +- Mass rebuild 2013-12-27 + +* Fri Sep 20 2013 Mikolaj Izdebski - 1.1-10 +- Add BuildRequires on apache-commons-parent >= 26-7 +- Migrate from mvn-rpmbuild to %%mvn_build + +* Mon Jul 15 2013 Mikolaj Izdebski - 1.1-9 +- Install NOTICE file with javadoc package +- Resolves: rhbz#984417 + +* Mon Feb 18 2013 Java SIG - 1.1-8 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Feb 13 2013 Fedora Release Engineering - 1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 30 2011 Alexander Kurtakov 1.1-4 +- Build with maven 3. +- Adapt to current guidelines. + +* Mon Mar 07 2011 Tom Callaway - 1.1-3 +- fix maven fragment + +* Mon Feb 07 2011 Fedora Release Engineering - 1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 28 2010 Mohamed El Morabity - 1.1-1 +- Update to 1.1 + +* Wed Sep 1 2010 Alexander Kurtakov 1.0.1-4 +- BR iputils. Needed by tests. + +* Wed Sep 1 2010 Alexander Kurtakov 1.0.1-3 +- Change maven plugin names to the new ones. + +* Wed Feb 3 2010 ELMORABITY Mohamed 1.0.1-2 +- Add missing %%post/%%postun Requires +- Use macro %%{_mavendepmapfragdir} instead of %%{_datadir}/maven2/pom +- Unown directories %%{_mavenpomdir} and %%{_mavendepmapfragdir} + +* Mon Jan 18 2010 ELMORABITY Mohamed 1.0.1-1 +- Initial RPM release