package created using the webbuild interface [release 2.15.0-1mamba;Sat Oct 28 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 00:03:17 +01:00
parent 0507830c11
commit 4985a819b7
2 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# java-commons-io
IO related classes for Java.

45
java-commons-io.spec Normal file
View File

@ -0,0 +1,45 @@
Name: java-commons-io
Version: 2.15.0
Release: 1mamba
Summary: IO related classes for Java
Group: System/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://commons.apache.org/proper/commons-io/
Source: https://downloads.apache.org/commons/io/binaries/commons-io-%{version}-bin.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Provides: jakarta-commons-io
Obsoletes: jakarta-commons-io <= 1.4
Obsoletes: jakarta-commons-io-gcj <= 1.4
Requires: java-runtime
%description
IO related classes for Java.
%prep
%setup -q -n commons-io-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -Dm 644 commons-io-%{version}.jar %{buildroot}%{_javadir}/commons-io/commons-io-%{version}.jar
ln -s commons-io-%{version}.jar %{buildroot}%{_javadir}/commons-io/commons-io.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_javadir}/commons-io
%{_javadir}/commons-io/commons-io.jar
%{_javadir}/commons-io/commons-io-%{version}.jar
%doc LICENSE.txt
%changelog
* Sat Oct 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.15.0-1mamba
- package created using the webbuild interface