3 %bcond_without tests # do not perform "make test"
7 Summary: Logger::Syslog -- an intuitive wrapper over Syslog for Perl
8 Name: perl-Logger-Syslog
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Logger/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 8ce1bb5e34a4e56b2e0d03159cb5185c
16 URL: http://search.cpan.org/dist/Logger-Syslog/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 You want to deal with syslog, but you don't want to bother with
24 Sys::Syslog, that module is for you.
26 Logger::Syslog takes care of everything regarding the Syslog
27 communication, all you have to do is to use the function you need to
28 send a message to syslog.
30 Logger::Syslog provides one function per Syslog message level: debug,
31 info, warning, error, notice, critic, alert.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %dir %{perl_vendorlib}/Logger
56 %{perl_vendorlib}/Logger/Syslog.pm
57 %{_mandir}/man3/Logger::Syslog.3pm*