ALT repositories
Last updated at Fri, 24 Jul 2020 16:39:53 +0000 | SRPMs: 19056
en ru
SRPMs in branches
hide window
  • 0:2.6-alt5_17jpp8
  • 0:2.6-alt5_17jpp8
  • 0:2.6-alt1_7jpp7
  • 0:2.6-alt1_7jpp7
  • 0:2.6-alt1_7jpp7
  • 0:2.4-alt1_7jpp6
  • 0:2.4-alt1_7jpp6
  • 0:2.4-alt1_7jpp6
Group :: Development/Other
Source RPM: apache-commons-lang
Raw spec file

Epoch: 0
# BEGIN SourceDeps(oneline):

BuildRequires: rpm-build-java
# END SourceDeps(oneline)

AutoReq: yes,noosgi
BuildRequires: rpm-build-java-osgi
BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see

%define _localstatedir %{_var}

%global base_name lang
%global short_name commons-%{base_name}

Name: apache-%{short_name}
Version: 2.6
Release: alt5_22jpp8
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
Group: Development/Other
Patch1: 0002-Fix-FastDateFormat-for-Java-7-behaviour.patch

BuildArch: noarch
BuildRequires: maven-local
BuildRequires: apache-commons-parent
BuildRequires: maven-surefire-provider-junit
Provides: %{short_name} = %{epoch}:%{version}-%{release}
Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release}

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.

%package javadoc
Summary: API documentation for %{name}
Group: Development/Java
BuildArch: noarch

%description javadoc

%setup -q -n %{short_name}-%{version}-src
%patch1 -p1
sed -i 's/\r//' *.txt *.html

# "enum" is used as a Java identifier, which is prohibited in Java >= 1.5

%pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin . "

%mvn_file : %{name} %{short_name}
%mvn_alias : org.apache.commons: %{base_name}:%{base_name}
# this package needs to be compiled with -source 1.3 option

%mvn_config buildSettings/compilerSource 1.3



%files -f .mfiles

%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt

* Tue Feb 05 2019 Igor Vlasenko <viy at> 0:2.6-alt5_22jpp8
- fc29 update

* Sun Apr 15 2018 Igor Vlasenko <viy at> 0:2.6-alt5_21jpp8
- java update

* Thu Nov 09 2017 Igor Vlasenko <viy at> 0:2.6-alt5_20jpp8
- fc27 update

* Sun Oct 22 2017 Igor Vlasenko <viy at> 0:2.6-alt5_19jpp8
- new jpp release

* Tue Nov 22 2016 Igor Vlasenko <viy at> 0:2.6-alt5_18jpp8
- new fc release

* Wed Feb 03 2016 Igor Vlasenko <viy at> 0:2.6-alt5_17jpp8
- new version

* Fri Jan 22 2016 Igor Vlasenko <viy at> 0:2.6-alt4jpp
- bootstrap pack of jars created with jppbootstrap script
- temporary package to satisfy circular dependencies

* Mon Sep 08 2014 Igor Vlasenko <viy at> 0:2.6-alt3_13jpp7
- new release

* Sat Aug 23 2014 Igor Vlasenko <viy at> 0:2.6-alt3_12jpp7
- new release

* Thu Aug 07 2014 Igor Vlasenko <viy at> 0:2.6-alt3_7jpp7
- rebuild with maven-local

* Mon Jul 14 2014 Igor Vlasenko <viy at> 0:2.6-alt2_7jpp7
- NMU rebuild to move poms and fragments

* Wed Sep 05 2012 Igor Vlasenko <viy at> 0:2.6-alt1_7jpp7
- new version

* Mon Mar 26 2012 Igor Vlasenko <viy at> 0:2.4-alt3_7jpp6
- restored javadoc

* Sat Mar 24 2012 Igor Vlasenko <viy at> 0:2.4-alt2_7jpp6
- fixed build

* Wed Jan 05 2011 Igor Vlasenko <viy at> 0:2.4-alt1_7jpp6
- renamed

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.