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