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