Blame SPECS/apache-commons-exec.spec

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