From 2365f58e7dd2df29e101fd603c7786d47602d1ef Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:16:32 +0100 Subject: [PATCH] automatic update by autodist [release 1.42-1mamba;Sun Jul 28 2013] --- README.md | 2 ++ perl-Log-Log4perl.spec | 71 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 perl-Log-Log4perl.spec diff --git a/README.md b/README.md index 110cbea..7815ee3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Log-Log4perl +Log::Log4perl - Log4j implementation for Perl. + diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec new file mode 100644 index 0000000..f7af220 --- /dev/null +++ b/perl-Log-Log4perl.spec @@ -0,0 +1,71 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Log-Log4perl +Version: 1.42 +Release: 1mamba +Summary: Log::Log4perl - Log4j implementation for Perl +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-DBI +BuildRequires: perl-devel +BuildRequires: perl-Log-Dispatch +BuildRequires: perl-Log-Dispatch-FileRotate +BuildRequires: perl-XML-DOM +BuildRequires: rrdtool-perl +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +* 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