blob: af4897781ac897966230109cc31b2db3102e6957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Name: commons-lang
Version: 3.19.0
Release: 1%{?dist}
Summary: Apache Commons Lang, a package of Java utility classes for java.lang
License: Apache-2.0
URL: https://commons.apache.org/proper/commons-lang/
Source0: https://github.com/apache/commons-lang/archive/rel/commons-lang-%{version}/commons-lang-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: java-1.8.0-openjdk-devel
BuildRequires: apache-commons-parent
%description
The standard Java libraries fail to provide enough methods for
manipulation of its core classes. The Commons Lang Component provides
these extra methods.
Lang provides a host of helper utilities for the java.lang API,
notably String manipulation methods, basic numerical methods, object
reflection, concurrency, creation and serialization and System
properties. Additionally it contains basic enhancements to
java.util.Date and a series of utilities dedicated to help with
building methods, such as hashCode, toString and equals.
Note that Lang 3.0 (and subsequent versions) use a different
package (org.apache.commons.lang3) than the previous
versions (org.apache.commons.lang), allowing it to be used at the same
time as an earlier version.
%package help
Summary: Documents for %{name}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
The %{name}-help package contains related documents.
%prep
%autosetup -n %{name}-%{version} -p1
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_dep org.openjdk.jmh:jmh-core
%pom_remove_dep org.openjdk.jmh:jmh-generator-annprocess
%pom_remove_dep org.apache.commons:commons-text
%mvn_file : %{name} commons-lang3
sed -i '/<argLine>/d' pom.xml
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt
%files help -f .mfiles-javadoc
%doc RELEASE-NOTES.txt
%changelog
* Mon Nov 02 2026 Java_Bot <Java_Bot@openeuler.org> - 3.19.0-1
- Initial package
|