forked from pool/perl-Log-Log4perl
78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-Log-Log4perl (Version 1.24)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Url: http://search.cpan.org/perldoc?Log::Log4perl
|
|
|
|
Name: perl-Log-Log4perl
|
|
Summary: Log4j implementation for Perl
|
|
License: Artistic License ..
|
|
Group: Development/Libraries/Perl
|
|
AutoReqProv: on
|
|
Version: 1.24
|
|
Release: 1
|
|
# for running all tests:
|
|
BuildRequires: perl-DBD-CSV perl-Log-Dispatch perl-XML-DOM
|
|
Requires: perl = %{perl_version}
|
|
Source: Log-Log4perl-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Log::Log4perl lets you remote-control and fine-tune the logging
|
|
behaviour of your system from the outside. It implements the widely
|
|
popular (Java-based) Log4j logging package in pure Perl.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Mike Schilli <m@perlmeister.com>
|
|
Kevin Goess <cpan@goess.org>
|
|
|
|
%prep
|
|
%setup q- -n Log-Log4perl-%{version}
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j%jobs}
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
for file in eg/newsyslog-test eg/benchmarks/simple; do
|
|
sed -i "s|/usr/local/bin/perl|%_bindir/perl|g" $file
|
|
done
|
|
|
|
%files
|
|
%defattr(644,root,root,755)
|
|
%doc Changes LICENSE MANIFEST README eg xml
|
|
%doc %{_mandir}/man3/*
|
|
%dir %{perl_vendorlib}/Log
|
|
%{perl_vendorlib}/Log/*
|
|
%dir %{perl_vendorarch}/auto/Log
|
|
%dir %{perl_vendorarch}/auto/Log/Log4perl
|
|
%{perl_vendorarch}/auto/Log/Log4perl/.packlist
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|