|
|
e22611 |
%global pkg_name apache-commons-io
|
|
|
e22611 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
e22611 |
%{?java_common_find_provides_and_requires}
|
|
|
e22611 |
|
|
|
e22611 |
%global base_name io
|
|
|
e22611 |
%global short_name commons-%{base_name}
|
|
|
e22611 |
|
|
|
e22611 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
e22611 |
Version: 2.4
|
|
|
e22611 |
Release: 12.11%{?dist}
|
|
|
e22611 |
Epoch: 1
|
|
|
e22611 |
Summary: Utilities to assist with developing IO functionality
|
|
|
e22611 |
License: ASL 2.0
|
|
|
e22611 |
URL: http://commons.apache.org/%{base_name}
|
|
|
e22611 |
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
e22611 |
BuildArch: noarch
|
|
|
e22611 |
|
|
|
e22611 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
e22611 |
BuildRequires: %{?scl_prefix_maven}apache-commons-parent >= 26-7
|
|
|
e22611 |
|
|
|
e22611 |
|
|
|
e22611 |
%description
|
|
|
e22611 |
Commons-IO contains utility classes, stream implementations,
|
|
|
e22611 |
file filters, and endian classes. It is a library of utilities
|
|
|
e22611 |
to assist with developing IO functionality.
|
|
|
e22611 |
|
|
|
e22611 |
%package javadoc
|
|
|
e22611 |
Summary: API documentation for %{pkg_name}
|
|
|
e22611 |
|
|
|
e22611 |
%description javadoc
|
|
|
e22611 |
This package provides %{summary}.
|
|
|
e22611 |
|
|
|
e22611 |
%prep
|
|
|
e22611 |
%setup -q -n %{short_name}-%{version}-src
|
|
|
e22611 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
e22611 |
set -e -x
|
|
|
e22611 |
sed -i 's/\r//' *.txt
|
|
|
e22611 |
%{?scl:EOF}
|
|
|
e22611 |
|
|
|
e22611 |
%build
|
|
|
e22611 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
e22611 |
set -e -x
|
|
|
e22611 |
%mvn_file : %{short_name} %{pkg_name}
|
|
|
e22611 |
%mvn_alias : org.apache.commons:
|
|
|
e22611 |
%mvn_build
|
|
|
e22611 |
%{?scl:EOF}
|
|
|
e22611 |
|
|
|
e22611 |
%install
|
|
|
e22611 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
e22611 |
set -e -x
|
|
|
e22611 |
%mvn_install
|
|
|
e22611 |
%{?scl:EOF}
|
|
|
e22611 |
|
|
|
e22611 |
%files -f .mfiles
|
|
|
e22611 |
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
|
|
e22611 |
|
|
|
e22611 |
%files javadoc -f .mfiles-javadoc
|
|
|
e22611 |
%doc LICENSE.txt NOTICE.txt
|
|
|
e22611 |
|
|
|
e22611 |
%changelog
|
|
|
e22611 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1:2.4-12.11
|
|
|
e22611 |
- Mass rebuild 2015-01-13
|
|
|
e22611 |
|
|
|
e22611 |
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 1:2.4-12.10
|
|
|
e22611 |
- Mass rebuild 2015-01-09
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.9
|
|
|
e22611 |
- Migrate requires and build-requires to rh-java-common
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.8
|
|
|
e22611 |
- Mass rebuild 2014-12-15
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.7
|
|
|
e22611 |
- Rebuild for rh-java-common collection
|
|
|
e22611 |
|
|
|
e22611 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.6
|
|
|
e22611 |
- Mass rebuild 2014-05-26
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.5
|
|
|
e22611 |
- Mass rebuild 2014-02-19
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.4
|
|
|
e22611 |
- Mass rebuild 2014-02-18
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.3
|
|
|
e22611 |
- SCL-ize build-requires
|
|
|
e22611 |
|
|
|
e22611 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.2
|
|
|
e22611 |
- Rebuild to regenerate auto-requires
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-12.1
|
|
|
e22611 |
- First maven30 software collection build
|
|
|
e22611 |
|
|
|
e22611 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:2.4-12
|
|
|
e22611 |
- Mass rebuild 2013-12-27
|
|
|
e22611 |
|
|
|
e22611 |
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-11
|
|
|
e22611 |
- Add BuildRequires on apache-commons-parent >= 26-7
|
|
|
e22611 |
|
|
|
e22611 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-10
|
|
|
e22611 |
- Rebuild to regenerate API documentation
|
|
|
e22611 |
- Resolves: CVE-2013-1571
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 1:2.4-9
|
|
|
e22611 |
- Rebuild
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-8
|
|
|
e22611 |
- Update to current packaging guidelines
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-7
|
|
|
e22611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:2.4-6
|
|
|
e22611 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
e22611 |
- Replace maven BuildRequires with maven-local
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Jan 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-5
|
|
|
e22611 |
- Bump release tag
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Jan 8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-4
|
|
|
e22611 |
- Build with xmvn
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-3
|
|
|
e22611 |
- Add Provides/Obsoletes for jakarta-commons-io
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-2
|
|
|
e22611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-1
|
|
|
e22611 |
- Updae to 2.4
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Apr 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.3-1
|
|
|
e22611 |
- Update to 2.3
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Apr 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.2-1
|
|
|
e22611 |
- Update to 2.2
|
|
|
e22611 |
- Remove rpm bug workaround
|
|
|
e22611 |
- Finalize renaming from jakarta-comons-io
|
|
|
e22611 |
|
|
|
e22611 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1-2
|
|
|
e22611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e22611 |
|
|
|
e22611 |
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 1:2.1-1
|
|
|
e22611 |
- Update to latest upstream (2.1).
|
|
|
e22611 |
|
|
|
e22611 |
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-3
|
|
|
e22611 |
- Fix build with maven3
|
|
|
e22611 |
- Use new add_maven_depmap macro
|
|
|
e22611 |
|
|
|
e22611 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.1-2
|
|
|
e22611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e22611 |
|
|
|
e22611 |
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-1
|
|
|
e22611 |
- Update to 2.0.1
|
|
|
e22611 |
- Versionless jars & javadocs
|
|
|
e22611 |
- Use maven 3 to build
|
|
|
e22611 |
- Use apache-commons-parent for BR
|
|
|
e22611 |
|
|
|
e22611 |
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 1:2.0-1
|
|
|
e22611 |
- Updated to 2.0
|
|
|
e22611 |
- Cleaned up BRs
|
|
|
e22611 |
|
|
|
e22611 |
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-6
|
|
|
e22611 |
- Add license to javadoc subpackage
|
|
|
e22611 |
|
|
|
e22611 |
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-5
|
|
|
e22611 |
- Correct depmap filename for backward compatibility
|
|
|
e22611 |
|
|
|
e22611 |
* Mon May 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-4
|
|
|
e22611 |
- Fix maven depmap JPP name to short_name
|
|
|
e22611 |
|
|
|
e22611 |
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-3
|
|
|
e22611 |
- Add obsoletes to javadoc sub-package
|
|
|
e22611 |
|
|
|
e22611 |
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-2
|
|
|
e22611 |
- Add symlink to short_name.jar
|
|
|
e22611 |
- Fix mavendepmapfragdir wildcard
|
|
|
e22611 |
|
|
|
e22611 |
* Tue May 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-1
|
|
|
e22611 |
- Rename and rebase of jakarta-commons-io
|
|
|
e22611 |
- Clean up whole spec
|