adee38
Name:           apache-commons-io
adee38
Epoch:          1
adee38
Version:        2.6
adee38
Release:        3%{?dist}
adee38
Summary:        Utilities to assist with developing IO functionality
adee38
License:        ASL 2.0
adee38
URL:            http://commons.apache.org/io
adee38
BuildArch:      noarch
adee38
adee38
Source0:        http://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz
adee38
adee38
BuildRequires:  maven-local
adee38
BuildRequires:  mvn(junit:junit)
adee38
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
adee38
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
adee38
adee38
%description
adee38
Commons-IO contains utility classes, stream implementations,
adee38
file filters, and endian classes. It is a library of utilities
adee38
to assist with developing IO functionality.
adee38
adee38
%{?javadoc_package}
adee38
adee38
%prep
adee38
%setup -q -n commons-io-%{version}-src
adee38
sed -i 's/\r//' *.txt
adee38
adee38
%build
adee38
%mvn_file  : commons-io %{name}
adee38
%mvn_alias : org.apache.commons:
adee38
adee38
# NOTE: tests *may* fail because commons-io is on surefire's classpath and causes
adee38
# tests to be run against the system version and not the one we just built
adee38
%mvn_build
adee38
adee38
%install
adee38
%mvn_install
adee38
adee38
%files -f .mfiles
adee38
%license LICENSE.txt NOTICE.txt
adee38
%doc RELEASE-NOTES.txt
adee38
adee38
%changelog
adee38
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-3
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
adee38
adee38
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-2
adee38
- Cleanup spec file
adee38
adee38
* Sun Oct 22 2017 Michael Simacek <msimacek@redhat.com> - 1:2.6-1
adee38
- Update to upstream version 2.6
adee38
adee38
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.5-3
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
adee38
adee38
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.5-2
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
adee38
adee38
* Thu Jun 23 2016 Michael Simacek <msimacek@redhat.com> - 1:2.5-1
adee38
- Update to upstream version 2.5
adee38
adee38
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.4-15
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
adee38
adee38
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-14
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
adee38
adee38
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-13
adee38
- Remove legacy Obsoletes/Provides for jakarta-commons
adee38
adee38
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-12
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
adee38
adee38
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.4-11
adee38
- Use Requires: java-headless rebuild (#1067528)
adee38
adee38
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-10
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
adee38
adee38
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 1:2.4-9
adee38
- Rebuild
adee38
adee38
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-8
adee38
- Update to current packaging guidelines
adee38
adee38
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-7
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
adee38
adee38
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:2.4-6
adee38
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
adee38
- Replace maven BuildRequires with maven-local
adee38
adee38
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-5
adee38
- Bump release tag
adee38
adee38
* Tue Jan  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-4
adee38
- Build with xmvn
adee38
adee38
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-3
adee38
- Add Provides/Obsoletes for jakarta-commons-io
adee38
adee38
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-2
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
adee38
adee38
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-1
adee38
- Updae to 2.4
adee38
adee38
* Mon Apr 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.3-1
adee38
- Update to 2.3
adee38
adee38
* Wed Apr 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.2-1
adee38
- Update to 2.2
adee38
- Remove rpm bug workaround
adee38
- Finalize renaming from jakarta-comons-io
adee38
adee38
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1-2
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
adee38
adee38
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 1:2.1-1
adee38
- Update to latest upstream (2.1).
adee38
adee38
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-3
adee38
- Fix build with maven3
adee38
- Use new add_maven_depmap macro
adee38
adee38
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.1-2
adee38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
adee38
adee38
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-1
adee38
- Update to 2.0.1
adee38
- Versionless jars & javadocs
adee38
- Use maven 3 to build
adee38
- Use apache-commons-parent for BR
adee38
adee38
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 1:2.0-1
adee38
- Updated to 2.0
adee38
- Cleaned up BRs
adee38
adee38
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-6
adee38
- Add license to javadoc subpackage
adee38
adee38
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-5
adee38
- Correct depmap filename for backward compatibility
adee38
adee38
* Mon May 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-4
adee38
- Fix maven depmap JPP name to short_name
adee38
adee38
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-3
adee38
- Add obsoletes to javadoc sub-package
adee38
adee38
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-2
adee38
- Add symlink to short_name.jar
adee38
- Fix mavendepmapfragdir wildcard
adee38
adee38
* Tue May 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-1
adee38
- Rename and rebase of jakarta-commons-io
adee38
- Clean up whole spec