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