2004-11-08 05:11:44 +00:00
|
|
|
Name: perl-Unix-Syslog
|
|
|
|
Version: 0.100
|
2006-08-28 20:36:27 +00:00
|
|
|
Release: 8%{?dist}
|
2005-09-06 01:47:04 +00:00
|
|
|
Summary: Perl interface to the UNIX syslog(3) calls
|
2004-11-08 05:11:44 +00:00
|
|
|
License: Artistic
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Unix-Syslog/
|
2006-02-19 00:18:12 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
|
2006-08-28 20:36:27 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module provides an interface to the system logger syslogd(8) via
|
|
|
|
Perl's XSUBs. The implementation attempts to resemble the native
|
|
|
|
libc-functions of your system, so that anyone being familiar with
|
|
|
|
syslog.h should be able to use this module right away.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Unix-Syslog-%{version}
|
|
|
|
|
|
|
|
%build
|
2005-09-06 01:47:04 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
make %{?_smp_mflags}
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-08-28 20:36:27 +00:00
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
2004-11-08 05:11:44 +00:00
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
2006-08-28 20:36:27 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2004-11-08 05:11:44 +00:00
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
2004-11-08 05:11:44 +00:00
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
%check
|
|
|
|
%{?_with_check:make test}
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-08-28 20:36:27 +00:00
|
|
|
%doc Artistic Changes README
|
2004-11-08 05:11:44 +00:00
|
|
|
%{perl_vendorarch}/auto/Unix
|
|
|
|
%{perl_vendorarch}/Unix
|
|
|
|
%{_mandir}/man3/Unix::Syslog.3pm*
|
|
|
|
|
|
|
|
%changelog
|
2006-08-28 20:36:27 +00:00
|
|
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
|
|
|
|
- Rebuild.
|
|
|
|
- Fix find option order.
|
|
|
|
- Minor cleanup to more closely match cpanspec output.
|
|
|
|
|
2006-02-19 00:18:12 +00:00
|
|
|
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
|
|
|
|
- Rebuild.
|
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.100-6
|
|
|
|
- Spec cleanup.
|
|
|
|
- Disable "make test" by default (spams console).
|
|
|
|
|
2005-04-06 22:13:09 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 05:11:44 +00:00
|
|
|
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.100-0.fdr.4
|
|
|
|
- Bring up to date with current fedora.us perl spec template.
|
|
|
|
- Require perl(:MODULE_COMPAT_*).
|
|
|
|
|
|
|
|
* Thu Oct 2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 0:0.100-0.fdr.3
|
|
|
|
- Vendor install
|
|
|
|
- Removing some files instead of excluding them
|
|
|
|
- Own two additionnal directories to work around perl package bug
|
|
|
|
|
|
|
|
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:0.100-0.fdr.2
|
|
|
|
- Excluding empty Syslog.bs file
|
|
|
|
- Chmoding Syslog.so in install section to allow it to be stripped
|
|
|
|
- Changed Group tag value
|
|
|
|
- Added missing unowned directories
|
|
|
|
|
2005-03-05 21:10:23 +00:00
|
|
|
* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 05:11:44 +00:00
|
|
|
- Initial build.
|