diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-14 12:20:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-14 12:20:19 +0000 |
| commit | cc0618dfdf4091cdb8996947b1a217287f2b2cdc (patch) | |
| tree | 064b44959937aa24e59f5844c825dcc6269f012e | |
| parent | 83a31fafdfe26956ac5c393ee1f83870471dd62d (diff) | |
automatic import of commons-lang
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | commons-lang.spec | 55 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 57 insertions, 0 deletions
@@ -0,0 +1 @@ +/commons-lang-3.19.0.tar.gz diff --git a/commons-lang.spec b/commons-lang.spec new file mode 100644 index 0000000..774a445 --- /dev/null +++ b/commons-lang.spec @@ -0,0 +1,55 @@ +Name: commons-lang +Version: 3.19.0 +Release: 1%{?dist} +Summary: Extensions to the standard Java library +BuildArch: noarch +License: Apache-2.0 +URL: https://commons.apache.org/proper/commons-lang/ +Source0: https://github.com/apache/commons-lang/archive/commons-lang-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.commons:commons-parent:pom:) + +%description +Apache Commons Lang, a package of Java utility classes for the +classes that are in java.lang's hierarchy, or are considered to be so +standard as to justify existence in java.lang. The code is tested using +the latest revision of the JDK for supported LTS releases: 8, 11, 17 +and 21 currently. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +API documentation for %{name}. + +%prep +%autosetup -n %{name}-%{version} -p1 + +# Remove plugins that require network access or are incompatible with offline builds +%pom_remove_plugin -r :maven-enforcer-plugin +%pom_remove_plugin -r :maven-site-plugin +%pom_remove_plugin -r :maven-source-plugin +%pom_remove_plugin -r :jacoco-maven-plugin +%pom_remove_plugin -r :maven-checkstyle-plugin +%pom_remove_plugin -r :spotbugs-maven-plugin +%pom_remove_plugin -r :maven-pmd-plugin +%pom_remove_plugin -r :apache-rat-plugin +%pom_remove_plugin -r :maven-scm-publish-plugin +%pom_remove_plugin -r :maven-assembly-plugin + +%build +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt NOTICE.txt +%doc README.md RELEASE-NOTES.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt NOTICE.txt + +%changelog +* Mon Sep 14 2026 Java_Bot <Java_Bot@openeuler.org> - 3.19.0-1 +- Initial package @@ -0,0 +1 @@ +3833ea7ca25fd51dfddc18de4ac19968 commons-lang-3.19.0.tar.gz |
