2023-02-23 17:42:54 +00:00
|
|
|
%global base_name lang
|
|
|
|
%global short_name commons-%{base_name}3
|
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
|
|
|
Version: 3.1
|
|
|
|
Release: 9%{?dist}
|
2022-08-08 16:30:24 +00:00
|
|
|
Summary: Provides a host of helper utilities for the java.lang API
|
|
|
|
License: ASL 2.0
|
2023-02-23 17:42:54 +00:00
|
|
|
URL: http://commons.apache.org/%{base_name}
|
|
|
|
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
2022-08-08 16:30:24 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
2023-02-23 17:42:54 +00:00
|
|
|
BuildRequires: mvn(commons-io:commons-io)
|
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent) >= 26-7
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
|
|
%if 0%{?rhel} <= 0
|
|
|
|
BuildRequires: mvn(org.easymock:easymock)
|
|
|
|
%endif
|
2022-08-08 16:30:24 +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.
|
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
%description javadoc
|
|
|
|
%{summary}.
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{short_name}-%{version}-src
|
|
|
|
%mvn_file : %{name} %{short_name}
|
2022-08-08 16:30:24 +00:00
|
|
|
|
|
|
|
%build
|
2023-02-23 17:42:54 +00:00
|
|
|
%mvn_build %{?rhel:-f}
|
2022-08-08 16:30:24 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
2023-02-23 17:42:54 +00:00
|
|
|
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%doc LICENSE.txt NOTICE.txt
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
%changelog
|
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.1-9
|
|
|
|
- Mass rebuild 2013-12-27
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-8
|
|
|
|
- Add BuildRequires on apache-commons-parent >= 26-7
|
2022-08-08 16:30:24 +00:00
|
|
|
|
2023-02-23 17:42:54 +00:00
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-7
|
|
|
|
- Rebuild to regenerate API documentation
|
|
|
|
- Resolves: CVE-2013-1571
|
2022-08-08 16:30:24 +00:00
|
|
|
|
|
|
|
* Wed May 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
|
|
|
|
- Build with xmvn
|
|
|
|
- Update to current packaging guidelines
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-3
|
|
|
|
- Make easymock3 dependency conditional for Fedora
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Wed May 16 2012 gil cattaneo <puntogil@libero.it> - 3.1-1
|
|
|
|
- update to 3.1
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Thu Nov 3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-1
|
|
|
|
- Initial version of the package
|
2023-02-23 17:42:54 +00:00
|
|
|
|