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