|
|
34cf5b |
%global base_name exec
|
|
|
34cf5b |
%global short_name commons-%{base_name}
|
|
|
34cf5b |
|
|
|
34cf5b |
Name: apache-commons-exec
|
|
|
34cf5b |
Version: 1.1
|
|
|
34cf5b |
Release: 11%{?dist}
|
|
|
34cf5b |
Summary: Java library to reliably execute external processes from within the JVM
|
|
|
34cf5b |
|
|
|
34cf5b |
Group: Development/Libraries
|
|
|
34cf5b |
License: ASL 2.0
|
|
|
34cf5b |
URL: http://commons.apache.org/exec/
|
|
|
34cf5b |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
34cf5b |
|
|
|
34cf5b |
BuildRequires: iputils
|
|
|
34cf5b |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
34cf5b |
BuildRequires: jpackage-utils
|
|
|
34cf5b |
BuildRequires: maven-local
|
|
|
34cf5b |
BuildRequires: apache-commons-parent >= 26-7
|
|
|
34cf5b |
Requires: java >= 1:1.6.0
|
|
|
34cf5b |
Requires: jpackage-utils
|
|
|
34cf5b |
BuildArch: noarch
|
|
|
34cf5b |
|
|
|
34cf5b |
%description
|
|
|
34cf5b |
Commons Exec is a library for dealing with external process execution and
|
|
|
34cf5b |
environment management in Java.
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%package javadoc
|
|
|
34cf5b |
Summary: Javadocs for %{name}
|
|
|
34cf5b |
Group: Documentation
|
|
|
34cf5b |
Requires: jpackage-utils
|
|
|
34cf5b |
|
|
|
34cf5b |
%description javadoc
|
|
|
34cf5b |
This package contains the API documentation for %{name}.
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%prep
|
|
|
34cf5b |
%setup -q -n %{short_name}-%{version}-src
|
|
|
34cf5b |
|
|
|
34cf5b |
# Shell scripts used for unit tests must be executable (see
|
|
|
34cf5b |
# http://commons.apache.org/exec/faq.html#environment-testing)
|
|
|
34cf5b |
chmod a+x src/test/scripts/*.sh
|
|
|
34cf5b |
|
|
|
34cf5b |
%mvn_file : %{name} %{short_name}
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%build
|
|
|
34cf5b |
%mvn_build
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%install
|
|
|
34cf5b |
%mvn_install
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%files -f .mfiles
|
|
|
34cf5b |
%doc LICENSE.txt NOTICE.txt STATUS
|
|
|
34cf5b |
|
|
|
34cf5b |
%files javadoc -f .mfiles-javadoc
|
|
|
34cf5b |
%doc LICENSE.txt NOTICE.txt
|
|
|
34cf5b |
|
|
|
34cf5b |
|
|
|
34cf5b |
%changelog
|
|
|
34cf5b |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1-11
|
|
|
34cf5b |
- Mass rebuild 2013-12-27
|
|
|
34cf5b |
|
|
|
34cf5b |
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-10
|
|
|
34cf5b |
- Add BuildRequires on apache-commons-parent >= 26-7
|
|
|
34cf5b |
- Migrate from mvn-rpmbuild to %%mvn_build
|
|
|
34cf5b |
|
|
|
34cf5b |
* Mon Jul 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-9
|
|
|
34cf5b |
- Install NOTICE file with javadoc package
|
|
|
34cf5b |
- Resolves: rhbz#984417
|
|
|
34cf5b |
|
|
|
34cf5b |
* Mon Feb 18 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1-8
|
|
|
34cf5b |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
34cf5b |
- Replace maven BuildRequires with maven-local
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
|
|
|
34cf5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
34cf5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
34cf5b |
|
|
|
34cf5b |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
|
|
|
34cf5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.1-4
|
|
|
34cf5b |
- Build with maven 3.
|
|
|
34cf5b |
- Adapt to current guidelines.
|
|
|
34cf5b |
|
|
|
34cf5b |
* Mon Mar 07 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-3
|
|
|
34cf5b |
- fix maven fragment
|
|
|
34cf5b |
|
|
|
34cf5b |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
34cf5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
34cf5b |
|
|
|
34cf5b |
* Tue Dec 28 2010 Mohamed El Morabity <melmorabity@fedorapeople.org> - 1.1-1
|
|
|
34cf5b |
- Update to 1.1
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Sep 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0.1-4
|
|
|
34cf5b |
- BR iputils. Needed by tests.
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Sep 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0.1-3
|
|
|
34cf5b |
- Change maven plugin names to the new ones.
|
|
|
34cf5b |
|
|
|
34cf5b |
* Wed Feb 3 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.0.1-2
|
|
|
34cf5b |
- Add missing %%post/%%postun Requires
|
|
|
34cf5b |
- Use macro %%{_mavendepmapfragdir} instead of %%{_datadir}/maven2/pom
|
|
|
34cf5b |
- Unown directories %%{_mavenpomdir} and %%{_mavendepmapfragdir}
|
|
|
34cf5b |
|
|
|
34cf5b |
* Mon Jan 18 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.0.1-1
|
|
|
34cf5b |
- Initial RPM release
|