2024-01-05 20:28:36 +01:00
|
|
|
Name: apache-log4j
|
2024-01-05 20:28:37 +01:00
|
|
|
Version: 2.20.0
|
2024-01-05 20:28:36 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:28:36 +01:00
|
|
|
Summary: Java logging package
|
|
|
|
Group: Graphical Desktop/Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:28:36 +01:00
|
|
|
URL: https://logging.apache.org/log4j/2.x/
|
|
|
|
Source0: https://downloads.apache.org/logging/log4j/%{version}/apache-log4j-%{version}-bin.tar.gz
|
2024-01-05 20:28:36 +01:00
|
|
|
License: Apache License Version 2.0
|
2024-01-05 20:28:36 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
2024-01-05 20:28:36 +01:00
|
|
|
Provides: java-log4j
|
2024-01-05 20:28:36 +01:00
|
|
|
Obsoletes: java-log4j <= 1.2.15
|
2024-01-05 20:28:36 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is a tool to help the programmer output log statements to a variety of output targets.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 20:28:36 +01:00
|
|
|
%setup -q -n %{name}-%{version}-bin
|
2024-01-05 20:28:36 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
jars=$(find . \
|
|
|
|
-name "*.jar" -a ! -name "*-sources.jar" -a ! -name "*-javadoc.jar" -a ! -name "*-tests.jar")
|
2024-01-05 20:28:36 +01:00
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
for j in ${jars[@]}; do
|
|
|
|
install -D ${j} %{buildroot}%{_javadir}/log4j/${j}
|
|
|
|
ln -s log4j/${j} %{buildroot}%{_javadir}/${j/-%{version}}
|
|
|
|
done
|
2024-01-05 20:28:36 +01:00
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
# 1.2 compatibility
|
|
|
|
ln -s log4j-1.2-api.jar %{buildroot}%{_javadir}/log4j.jar
|
2024-01-05 20:28:36 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:28:36 +01:00
|
|
|
%dir %{_javadir}/log4j
|
|
|
|
%{_javadir}/log4j/log4j*.jar
|
|
|
|
%{_javadir}/log4j*.jar
|
|
|
|
%doc LICENSE.txt
|
2024-01-05 20:28:36 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:28:37 +01:00
|
|
|
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 2.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Mon Sep 19 2022 Automatic Build System <autodist@mambasoft.it> 2.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Mon Jul 04 2022 Automatic Build System <autodist@mambasoft.it> 2.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Tue Mar 01 2022 Automatic Build System <autodist@mambasoft.it> 2.17.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Wed Dec 29 2021 Automatic Build System <autodist@mambasoft.it> 2.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Thu Dec 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17.0-1mamba
|
|
|
|
- update to 2.17.0
|
|
|
|
|
2024-01-05 20:28:36 +01:00
|
|
|
* Sun Mar 06 2011 gil <puntogil@libero.it> 1.2.15-7mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Wed Nov 25 2009 gil <puntogil@libero.it> 1.2.15-6mamba
|
|
|
|
- rebuilt with java-sun-jmx-ri instead of java-mx4j
|
|
|
|
|
|
|
|
* Mon Nov 16 2009 gil <puntogil@libero.it> 1.2.15-5mamba
|
|
|
|
- edit component-info.xml
|
|
|
|
|
|
|
|
* Mon Nov 16 2009 gil <puntogil@libero.it> 1.2.15-4mamba
|
|
|
|
- added package repolib
|
|
|
|
|
|
|
|
* Sun Sep 13 2009 gil <puntogil@libero.it> 1.2.15-3mamba
|
|
|
|
- rebuilt with new java-mx4j
|
|
|
|
- add java-snmptrapappender support
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 gil <puntogil@libero.it> 1.2.15-2mamba
|
|
|
|
- fixed some errors
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 gil <puntogil@libero.it> 1.2.15-1mamba
|
|
|
|
- update to 1.2.15
|
|
|
|
- renamed apache-log4j
|
|
|
|
- added package source
|
|
|
|
|
|
|
|
* Mon Mar 23 2009 gil <puntogil@libero.it> 1.2.14-2mamba
|
|
|
|
- added java-mx4j support
|
|
|
|
|
|
|
|
* Sat Feb 28 2009 gil <puntogil@libero.it> 1.2.14-1mamba
|
|
|
|
- package created by autospec
|