java-commons-io/java-commons-io.spec

49 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: java-commons-io
Version: 2.15.1
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
* Wed Dec 27 2023 Automatic Build System <autodist@mambasoft.it> 2.15.1-1mamba
- automatic version update by autodist
* Sat Oct 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.15.0-1mamba
- package created using the webbuild interface