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