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