2011-11-07 16:46:26 +00:00
|
|
|
%global base_name lang
|
|
|
|
%global short_name commons-%{base_name}3
|
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
2014-04-14 07:58:08 +00:00
|
|
|
Version: 3.3.2
|
|
|
|
Release: 1%{?dist}
|
2011-11-07 16:46:26 +00:00
|
|
|
Summary: Provides a host of helper utilities for the java.lang API
|
|
|
|
License: ASL 2.0
|
|
|
|
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
|
|
|
|
|
2014-03-20 16:21:14 +00:00
|
|
|
# testParseSync() test fails on ARM and PPC64LE for unknown reason
|
|
|
|
Patch0: fix-ppc64le-test-failure.patch
|
|
|
|
|
2013-02-06 18:31:54 +00:00
|
|
|
BuildRequires: maven-local
|
2013-05-29 09:18:48 +00:00
|
|
|
BuildRequires: mvn(commons-io:commons-io)
|
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
2012-08-27 16:04:08 +00:00
|
|
|
%if 0%{?rhel} <= 0
|
2013-05-29 09:18:48 +00:00
|
|
|
BuildRequires: mvn(org.easymock:easymock)
|
2012-08-27 16:04:08 +00:00
|
|
|
%endif
|
|
|
|
|
2011-11-07 16:46:26 +00:00
|
|
|
%description
|
|
|
|
The standard Java libraries fail to provide enough methods for
|
|
|
|
manipulation of its core classes. The Commons Lang Component provides
|
|
|
|
these extra methods.
|
|
|
|
The Commons Lang Component provides a host of helper utilities for the
|
|
|
|
java.lang API, notably String manipulation methods, basic numerical
|
|
|
|
methods, object reflection, creation and serialization, and System
|
|
|
|
properties. Additionally it contains an inheritable enum type, an
|
|
|
|
exception structure that supports multiple types of nested-Exceptions
|
|
|
|
and a series of utilities dedicated to help with building methods, such
|
|
|
|
as hashCode, toString and equals.
|
|
|
|
|
|
|
|
With version of commons-lang 3.x, developers decided to change API and
|
|
|
|
therefore created differently named artifact and jar files. This is
|
|
|
|
the new version, while apache-commons-lang is the compatibility
|
|
|
|
package.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{short_name}-%{version}-src
|
2014-03-20 16:21:14 +00:00
|
|
|
%patch0
|
2013-05-29 09:18:48 +00:00
|
|
|
%mvn_file : %{name} %{short_name}
|
2011-11-07 16:46:26 +00:00
|
|
|
|
|
|
|
%build
|
2013-05-29 09:18:48 +00:00
|
|
|
%mvn_build %{?rhel:-f}
|
2011-11-07 16:46:26 +00:00
|
|
|
|
|
|
|
%install
|
2013-05-29 09:18:48 +00:00
|
|
|
%mvn_install
|
2011-11-07 16:46:26 +00:00
|
|
|
|
2013-05-29 09:18:48 +00:00
|
|
|
%files -f .mfiles
|
2011-11-07 16:46:26 +00:00
|
|
|
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
|
|
|
|
2013-05-29 09:18:48 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
2011-11-07 16:46:26 +00:00
|
|
|
%doc LICENSE.txt NOTICE.txt
|
|
|
|
|
|
|
|
%changelog
|
2014-04-14 07:58:08 +00:00
|
|
|
* Mon Apr 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-1
|
|
|
|
- Update to upstream version 3.3.2
|
|
|
|
|
2014-03-20 16:21:14 +00:00
|
|
|
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-2
|
|
|
|
- Disable test failing on PPC64LE
|
|
|
|
|
2014-03-20 12:58:25 +00:00
|
|
|
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-1
|
|
|
|
- Update to upstream version 3.3.1
|
|
|
|
|
2014-03-11 08:04:36 +00:00
|
|
|
* Tue Mar 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
|
|
|
|
- Update to upstream version 3.3
|
|
|
|
|
2014-03-04 08:04:32 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.1-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2014-01-09 15:43:13 +00:00
|
|
|
* Thu Jan 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-1
|
|
|
|
- Update to upstream version 3.2.1
|
|
|
|
|
2014-01-02 13:26:00 +00:00
|
|
|
* Thu Jan 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
|
|
|
|
- Update to upstream version 3.2
|
|
|
|
|
2013-08-03 01:19:38 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-29 09:18:48 +00:00
|
|
|
* Wed May 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
|
|
|
|
- Build with xmvn
|
|
|
|
- Update to current packaging guidelines
|
|
|
|
|
2013-02-13 16:46:12 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 18:31:54 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1-4
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-08-27 16:04:08 +00:00
|
|
|
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-3
|
|
|
|
- Make easymock3 dependency conditional for Fedora
|
|
|
|
|
2012-07-18 16:16:34 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-16 09:49:57 +00:00
|
|
|
* Wed May 16 2012 gil cattaneo <puntogil@libero.it> - 3.1-1
|
|
|
|
- update to 3.1
|
|
|
|
|
2012-01-12 21:35:52 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-07 16:46:26 +00:00
|
|
|
* Thu Nov 3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-1
|
|
|
|
- Initial version of the package
|
|
|
|
|