automatic update by autodist [release 1.42-1mamba;Sun Jul 28 2013]
This commit is contained in:
parent
836d38de1d
commit
2365f58e7d
@ -1,2 +1,4 @@
|
||||
# perl-Log-Log4perl
|
||||
|
||||
Log::Log4perl - Log4j implementation for Perl.
|
||||
|
||||
|
71
perl-Log-Log4perl.spec
Normal file
71
perl-Log-Log4perl.spec
Normal file
@ -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 <silvan.calarco@mambasoft.it>
|
||||
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 <autodist@mambasoft.it> 1.42-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 1.41-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jan 08 2013 Automatic Build System <autodist@mambasoft.it> 1.40-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.39-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user