|
|
9809b3 |
|
|
|
9809b3 |
%global base_name lang
|
|
|
9809b3 |
%global short_name commons-%{base_name}
|
|
|
9809b3 |
|
|
|
9809b3 |
Name: apache-%{short_name}
|
|
|
9809b3 |
Version: 2.6
|
|
|
9809b3 |
Release: 21%{?dist}
|
|
|
9809b3 |
Summary: Provides a host of helper utilities for the java.lang API
|
|
|
9809b3 |
License: ASL 2.0
|
|
|
9809b3 |
Group: Development/Libraries
|
|
|
9809b3 |
URL: http://commons.apache.org/%{base_name}
|
|
|
9809b3 |
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
9809b3 |
Patch1: 0002-Fix-FastDateFormat-for-Java-7-behaviour.patch
|
|
|
9809b3 |
|
|
|
9809b3 |
BuildArch: noarch
|
|
|
9809b3 |
BuildRequires: maven-local
|
|
|
9809b3 |
BuildRequires: apache-commons-parent
|
|
|
9809b3 |
BuildRequires: maven-surefire-provider-junit
|
|
|
9809b3 |
|
|
|
9809b3 |
%description
|
|
|
9809b3 |
The standard Java libraries fail to provide enough methods for
|
|
|
9809b3 |
manipulation of its core classes. The Commons Lang Component provides
|
|
|
9809b3 |
these extra methods.
|
|
|
9809b3 |
The Commons Lang Component provides a host of helper utilities for the
|
|
|
9809b3 |
java.lang API, notably String manipulation methods, basic numerical
|
|
|
9809b3 |
methods, object reflection, creation and serialization, and System
|
|
|
9809b3 |
properties. Additionally it contains an inheritable enum type, an
|
|
|
9809b3 |
exception structure that supports multiple types of nested-Exceptions
|
|
|
9809b3 |
and a series of utilities dedicated to help with building methods, such
|
|
|
9809b3 |
as hashCode, toString and equals.
|
|
|
9809b3 |
|
|
|
9809b3 |
%package javadoc
|
|
|
9809b3 |
Summary: API documentation for %{name}
|
|
|
9809b3 |
Group: Documentation
|
|
|
9809b3 |
|
|
|
9809b3 |
%description javadoc
|
|
|
9809b3 |
%{summary}.
|
|
|
9809b3 |
|
|
|
9809b3 |
%prep
|
|
|
9809b3 |
%setup -q -n %{short_name}-%{version}-src
|
|
|
9809b3 |
%patch1 -p1
|
|
|
9809b3 |
sed -i 's/\r//' *.txt *.html
|
|
|
9809b3 |
|
|
|
9809b3 |
# "enum" is used as a Java identifier, which is prohibited in Java >= 1.5
|
|
|
9809b3 |
%pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin . "
|
|
|
9809b3 |
<configuration><source>1.3</source></configuration>"
|
|
|
9809b3 |
|
|
|
9809b3 |
|
|
|
9809b3 |
%mvn_file : %{name} %{short_name}
|
|
|
9809b3 |
%mvn_alias : org.apache.commons: %{base_name}:%{base_name}
|
|
|
9809b3 |
# this package needs to be compiled with -source 1.3 option
|
|
|
9809b3 |
%mvn_config buildSettings/compilerSource 1.3
|
|
|
9809b3 |
|
|
|
9809b3 |
%build
|
|
|
9809b3 |
%mvn_build
|
|
|
9809b3 |
|
|
|
9809b3 |
%install
|
|
|
9809b3 |
%mvn_install
|
|
|
9809b3 |
|
|
|
9809b3 |
%files -f .mfiles
|
|
|
9809b3 |
%doc PROPOSAL.html LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
|
|
9809b3 |
|
|
|
9809b3 |
%files javadoc -f .mfiles-javadoc
|
|
|
9809b3 |
%doc LICENSE.txt NOTICE.txt
|
|
|
9809b3 |
|
|
|
9809b3 |
%changelog
|
|
|
9809b3 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-21
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-20
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-19
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-17
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-16
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Thu May 29 2014 Alexander Kurtakov <akurtako@redhat.com> 2.6-15
|
|
|
9809b3 |
- Drop old jakarta provides/obsoletes.
|
|
|
9809b3 |
|
|
|
9809b3 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-14
|
|
|
9809b3 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
9809b3 |
|
|
|
9809b3 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-13
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 2.6-12
|
|
|
9809b3 |
- Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Tue Apr 09 2013 Michal Srb <msrb@redhat.com> - 2.6-11
|
|
|
9809b3 |
- Properly specify XMvn's compilerSource option
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-10
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.6-9
|
|
|
9809b3 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
9809b3 |
- Replace maven BuildRequires with maven-local
|
|
|
9809b3 |
|
|
|
9809b3 |
* Fri Jan 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8
|
|
|
9809b3 |
- Build with xmvn
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-7
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Feb 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-6
|
|
|
9809b3 |
- Add backported fix for JDK 1.7
|
|
|
9809b3 |
|
|
|
9809b3 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon Jun 27 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-4
|
|
|
9809b3 |
- Use new add_maven_depmap macro
|
|
|
9809b3 |
- Fix maven3 build
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
|
|
|
9809b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9809b3 |
|
|
|
9809b3 |
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-2
|
|
|
9809b3 |
- Fix commons-lang symlink
|
|
|
9809b3 |
|
|
|
9809b3 |
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-1
|
|
|
9809b3 |
- Update to 2.6
|
|
|
9809b3 |
- Versionless jars & javadocs
|
|
|
9809b3 |
- Use maven 3 to build
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed Nov 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-7
|
|
|
9809b3 |
- Use apache-commons-parent instead of maven-*
|
|
|
9809b3 |
|
|
|
9809b3 |
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-6
|
|
|
9809b3 |
- Add license to javadoc subpackage
|
|
|
9809b3 |
|
|
|
9809b3 |
* Wed May 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-5
|
|
|
9809b3 |
- Add another old depmap to prevent groupId dependency problems
|
|
|
9809b3 |
|
|
|
9809b3 |
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-4
|
|
|
9809b3 |
- Correct depmap filename for backward compatibility
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon May 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-3
|
|
|
9809b3 |
- Fix maven depmap JPP name to short_name
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon May 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-2
|
|
|
9809b3 |
- Added export for MAVEN_LOCAL_REPO and mkdir
|
|
|
9809b3 |
- Added more add_to_maven_depmap to assure backward compatibility
|
|
|
9809b3 |
- Add symlink to short_name.jar
|
|
|
9809b3 |
|
|
|
9809b3 |
* Mon May 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5-1
|
|
|
9809b3 |
- Rename and rebase of jakarta-commons-lang
|
|
|
9809b3 |
- Re-did whole spec file to use maven, dropped gcj support
|