|
Stanislav Ochotnicky |
64fedaa |
%global base_name lang
|
|
Stanislav Ochotnicky |
64fedaa |
%global short_name commons-%{base_name}3
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
Name: apache-%{short_name}
|
|
|
278001a |
Version: 3.2
|
|
|
278001a |
Release: 1%{?dist}
|
|
Stanislav Ochotnicky |
64fedaa |
Summary: Provides a host of helper utilities for the java.lang API
|
|
Stanislav Ochotnicky |
64fedaa |
License: ASL 2.0
|
|
Stanislav Ochotnicky |
64fedaa |
URL: http://commons.apache.org/%{base_name}
|
|
Stanislav Ochotnicky |
64fedaa |
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
Stanislav Ochotnicky |
64fedaa |
BuildArch: noarch
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
777aa7c |
BuildRequires: maven-local
|
|
|
50ad8c4 |
BuildRequires: mvn(commons-io:commons-io)
|
|
|
50ad8c4 |
BuildRequires: mvn(org.apache.commons:commons-parent)
|
|
|
50ad8c4 |
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
Stanislav Ochotnicky |
7c89621 |
%if 0%{?rhel} <= 0
|
|
|
50ad8c4 |
BuildRequires: mvn(org.easymock:easymock)
|
|
Stanislav Ochotnicky |
7c89621 |
%endif
|
|
Stanislav Ochotnicky |
7c89621 |
|
|
Stanislav Ochotnicky |
64fedaa |
%description
|
|
Stanislav Ochotnicky |
64fedaa |
The standard Java libraries fail to provide enough methods for
|
|
Stanislav Ochotnicky |
64fedaa |
manipulation of its core classes. The Commons Lang Component provides
|
|
Stanislav Ochotnicky |
64fedaa |
these extra methods.
|
|
Stanislav Ochotnicky |
64fedaa |
The Commons Lang Component provides a host of helper utilities for the
|
|
Stanislav Ochotnicky |
64fedaa |
java.lang API, notably String manipulation methods, basic numerical
|
|
Stanislav Ochotnicky |
64fedaa |
methods, object reflection, creation and serialization, and System
|
|
Stanislav Ochotnicky |
64fedaa |
properties. Additionally it contains an inheritable enum type, an
|
|
Stanislav Ochotnicky |
64fedaa |
exception structure that supports multiple types of nested-Exceptions
|
|
Stanislav Ochotnicky |
64fedaa |
and a series of utilities dedicated to help with building methods, such
|
|
Stanislav Ochotnicky |
64fedaa |
as hashCode, toString and equals.
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
With version of commons-lang 3.x, developers decided to change API and
|
|
Stanislav Ochotnicky |
64fedaa |
therefore created differently named artifact and jar files. This is
|
|
Stanislav Ochotnicky |
64fedaa |
the new version, while apache-commons-lang is the compatibility
|
|
Stanislav Ochotnicky |
64fedaa |
package.
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%package javadoc
|
|
Stanislav Ochotnicky |
64fedaa |
Summary: API documentation for %{name}
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%description javadoc
|
|
Stanislav Ochotnicky |
64fedaa |
%{summary}.
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%prep
|
|
Stanislav Ochotnicky |
64fedaa |
%setup -q -n %{short_name}-%{version}-src
|
|
|
50ad8c4 |
%mvn_file : %{name} %{short_name}
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%build
|
|
|
50ad8c4 |
%mvn_build %{?rhel:-f}
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%install
|
|
|
50ad8c4 |
%mvn_install
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
|
50ad8c4 |
%files -f .mfiles
|
|
Stanislav Ochotnicky |
64fedaa |
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
|
50ad8c4 |
%files javadoc -f .mfiles-javadoc
|
|
Stanislav Ochotnicky |
64fedaa |
%doc LICENSE.txt NOTICE.txt
|
|
Stanislav Ochotnicky |
64fedaa |
|
|
Stanislav Ochotnicky |
64fedaa |
%changelog
|
|
|
278001a |
* Thu Jan 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
|
|
|
278001a |
- Update to upstream version 3.2
|
|
|
278001a |
|
|
|
e9ecd4f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-7
|
|
|
e9ecd4f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e9ecd4f |
|
|
|
50ad8c4 |
* Wed May 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
|
|
|
50ad8c4 |
- Build with xmvn
|
|
|
50ad8c4 |
- Update to current packaging guidelines
|
|
|
50ad8c4 |
|
|
|
6857f96 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-5
|
|
|
6857f96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6857f96 |
|
|
Stanislav Ochotnicky |
777aa7c |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1-4
|
|
Stanislav Ochotnicky |
777aa7c |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
777aa7c |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
777aa7c |
|
|
Stanislav Ochotnicky |
7c89621 |
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-3
|
|
Stanislav Ochotnicky |
7c89621 |
- Make easymock3 dependency conditional for Fedora
|
|
Stanislav Ochotnicky |
7c89621 |
|
|
|
a00cbbc |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
a00cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a00cbbc |
|
|
|
6fd2968 |
* Wed May 16 2012 gil cattaneo <puntogil@libero.it> - 3.1-1
|
|
|
6fd2968 |
- update to 3.1
|
|
|
6fd2968 |
|
|
|
ab9c9ba |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
|
|
|
ab9c9ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ab9c9ba |
|
|
Stanislav Ochotnicky |
64fedaa |
* Thu Nov 3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-1
|
|
Stanislav Ochotnicky |
64fedaa |
- Initial version of the package
|
|
Stanislav Ochotnicky |
64fedaa |
|