Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 87da3f3d29004126c973dc7b6f369e6b > files > 1

apache-commons-exec-1.2-3.mga5.src.rpm

%global base_name exec
%global short_name commons-%{base_name}

Name:           apache-commons-exec
Version:        1.2
Release:        %mkrel 3
Summary:        Java library to reliably execute external processes from within the JVM

Group:          Development/Java
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:  java-devel >= 1:1.6.0
BuildRequires:  jpackage-utils
BuildRequires:  maven-local
BuildRequires:  maven-install-plugin
BuildRequires:  maven-invoker-plugin
Requires:       java-headless >= 1:1.6.0
Requires:       jpackage-utils
BuildArch:      noarch

%description
Commons Exec is a library for dealing with external process execution and
environment management in Java.


%package javadoc
Summary:        Javadocs for %{name}
Group:          Documentation
Requires:       jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.


%prep
%setup -q -n %{short_name}-%{version}-src

# Fix wrong end-of-line encoding
for file in LICENSE.txt NOTICE.txt STATUS; do
  sed -i.orig "s/\r//" $file && \
  touch -r $file.orig $file && \
  rm $file.orig
done

# 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 :%{short_name} %{short_name} %{name}


%build
%mvn_build  -f


%install
%mvn_install


%files -f .mfiles
%doc LICENSE.txt NOTICE.txt STATUS


%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt





%changelog
* Sun Jan 18 2015 dmorgan <dmorgan> 1.2-3.mga5
+ Revision: 811341
- Disable tests

* Thu Jan 01 2015 pterjan <pterjan> 1.2-2.mga5
+ Revision: 807953
- Clean rebuild
- Sync with Fedora 21 (update to 1.2)

* Wed Oct 15 2014 umeabot <umeabot> 1.1-12.mga5
+ Revision: 738957
- Second Mageia 5 Mass Rebuild

  + tv <tv>
    - rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 1.1-10.mga5
+ Revision: 677806
- Mageia 5 Mass Rebuild

* Tue May 27 2014 dmorgan <dmorgan> 1.1-9.mga5
+ Revision: 627043
- Add missing BRs

* Sat Oct 19 2013 umeabot <umeabot> 1.1-8.mga4
+ Revision: 529881
- Mageia 4 Mass Rebuild

* Sun Jul 14 2013 dmorgan <dmorgan> 1.1-7.mga4
+ Revision: 453999
- Replace maven BuildRequires with maven-local

* Fri Jan 11 2013 umeabot <umeabot> 1.1-6.mga3
+ Revision: 345713
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Dec 08 2012 dmorgan <dmorgan> 1.1-5.mga3
+ Revision: 328239
- Build with maven 3

* Wed Apr 27 2011 dmorgan <dmorgan> 1.1-4.mga1
+ Revision: 92234
- Rebuild after bootstrapping
- imported package apache-commons-exec


* Mon Mar 07 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-3
- fix maven fragment

* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Dec 28 2010 Mohamed El Morabity <melmorabity@fedorapeople.org> - 1.1-1
- Update to 1.1

* Wed Sep 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0.1-4
- BR iputils. Needed by tests.

* Wed Sep 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0.1-3
- Change maven plugin names to the new ones.

* Wed Feb  3 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 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 <melmorabity@fedoraproject.org> 1.0.1-1
- Initial RPM release