%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Log-Log4perl Version: 1.57 Release: 2mamba Summary: Log::Log4perl - Log4j implementation for Perl Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/modules/by-module/Log/Log-Log4perl-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-DBI BuildRequires: perl-Log-Dispatch BuildRequires: perl-Log-Dispatch-FileRotate BuildRequires: perl-XML-DOM BuildRequires: perl-devel BuildRequires: perl-rrdtool ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: perl >= %perl_major_ver %description Log::Log4perl - Log4j implementation for Perl. %prep %setup -q -n Log-Log4perl-%{version} %build %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make %make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm -f $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f .packlist %defattr(-,root,root) %doc LICENSE ## note: eventually add the remaining documents (if any) # %doc README %changelog * Mon Apr 17 2023 Sdk Build System 1.57-2mamba - rebuilt with perl 5.36.0 * Sat Oct 22 2022 Automatic Build System 1.57-1mamba - automatic version update by autodist * Sat Sep 03 2022 Automatic Build System 1.56-1mamba - automatic version update by autodist * Fri Jun 03 2022 Automatic Build System 1.55-1mamba - automatic version update by autodist * Wed Feb 24 2021 Automatic Build System 1.54-1mamba - automatic version update by autodist * Thu Oct 26 2017 Automatic Build System 1.49-1mamba - automatic update by autodist * Sun Aug 14 2016 Automatic Build System 1.47-1mamba - automatic update by autodist * Wed Nov 05 2014 Automatic Build System 1.46-1mamba - automatic update by autodist * Sat May 24 2014 Automatic Build System 1.44-1mamba - automatic update by autodist * Sun Jul 28 2013 Automatic Build System 1.42-1mamba - automatic update by autodist * Fri May 03 2013 Automatic Build System 1.41-1mamba - automatic version update by autodist * Tue Jan 08 2013 Automatic Build System 1.40-1mamba - automatic version update by autodist * Mon Nov 12 2012 Silvan Calarco 1.39-1mamba - package created by autospec