Blame SPECS/perl-Unix-Syslog.spec

638d20
# Tests require accessible syslog
638d20
%bcond_with test
638d20
638d20
Name:           perl-Unix-Syslog
638d20
Version:        1.1
638d20
Release:        29%{?dist}
638d20
Summary:        Perl interface to the UNIX syslog(3) calls
638d20
License:        Artistic 2.0
638d20
Group:          Development/Libraries
638d20
URL:            http://search.cpan.org/dist/Unix-Syslog/
638d20
Source0:        http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
638d20
# Module Build
638d20
BuildRequires:  coreutils
638d20
BuildRequires:  findutils
638d20
BuildRequires:  gcc
638d20
BuildRequires:  make
638d20
BuildRequires:  perl-interpreter
638d20
BuildRequires:  perl-devel
638d20
BuildRequires:  perl-generators
638d20
BuildRequires:  perl(ExtUtils::MakeMaker)
638d20
# Module Runtime
638d20
BuildRequires:  perl(DynaLoader)
638d20
BuildRequires:  perl(Exporter)
638d20
BuildRequires:  perl(strict)
638d20
BuildRequires:  perl(vars)
638d20
# Test Suite
638d20
%if %{with test}
638d20
BuildRequires:  syslog
638d20
%endif
638d20
# Dependencies
638d20
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
638d20
Requires:       syslog
638d20
638d20
# Don't "provide" private Perl libs
638d20
%{?perl_default_filter}
638d20
638d20
%description
638d20
This module provides an interface to the system logger syslogd(8) via
638d20
Perl's XSUBs. The implementation attempts to resemble the native
638d20
libc-functions of your system, so that anyone being familiar with
638d20
syslog.h should be able to use this module right away.
638d20
638d20
%prep
638d20
%setup -q -n Unix-Syslog-%{version}
638d20
638d20
%build
638d20
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
638d20
make %{?_smp_mflags}
638d20
638d20
%install
638d20
make pure_install DESTDIR=%{buildroot}
638d20
find %{buildroot} -type f -name .packlist -delete
638d20
find %{buildroot} -type f -name '*.bs' -a -empty -delete
638d20
%{_fixperms} %{buildroot}
638d20
638d20
%check
638d20
%if %{with test}
638d20
make test
638d20
%endif
638d20
638d20
%files
638d20
%if 0%{?_licensedir:1}
638d20
%license Artistic
638d20
%else
638d20
%doc Artistic
638d20
%endif
638d20
%doc README Changes
638d20
%{perl_vendorarch}/Unix/
638d20
%{perl_vendorarch}/auto/Unix/
638d20
%{_mandir}/man3/Unix::Syslog.3*
638d20
638d20
%changelog
638d20
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-29
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
638d20
638d20
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
638d20
638d20
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-27
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
638d20
638d20
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-26
638d20
- Perl 5.26 rebuild
638d20
638d20
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
638d20
638d20
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-24
638d20
- Perl 5.24 rebuild
638d20
638d20
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 1.1-23
638d20
- Fix FTBFS due to missing buildreq perl-devel
638d20
- Simplify find commands using -empty and -delete
638d20
- Make %%files list more explicit
638d20
638d20
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-22
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
638d20
638d20
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-21
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
638d20
638d20
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-20
638d20
- Perl 5.22 rebuild
638d20
638d20
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-19
638d20
- Perl 5.20 rebuild
638d20
638d20
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
638d20
638d20
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
638d20
638d20
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-16
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
638d20
638d20
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1-15
638d20
- Perl 5.18 rebuild
638d20
638d20
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
638d20
638d20
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-13
638d20
- Conditionalize test dependencies
638d20
638d20
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-12
638d20
- Specify all dependencies
638d20
- Do not export private library
638d20
638d20
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
638d20
638d20
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1-10
638d20
- Perl 5.16 rebuild
638d20
638d20
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
638d20
638d20
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-8
638d20
- Perl mass rebuild
638d20
638d20
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
638d20
638d20
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-6
638d20
- 661697 rebuild for fixing problems with vendorach/lib
638d20
638d20
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-5
638d20
- Mass rebuild with perl-5.12.0
638d20
638d20
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.1-4
638d20
- rebuild against perl 5.10.1
638d20
638d20
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
638d20
638d20
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
638d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
638d20
638d20
* Fri May 30 2008 Steven Pritchard <steve@kspei.com> 1.1-1
638d20
- Update to 1.1.
638d20
638d20
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
638d20
- Rebuild for new perl
638d20
638d20
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-2
638d20
- Autorebuild for GCC 4.3
638d20
638d20
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.0-1
638d20
- Update to 1.0.
638d20
- Update License.
638d20
- Reformat a little to match cpanspec output.
638d20
638d20
* Mon Apr 16 2007 Steven Pritchard <steve@kspei.com> 0.100-9
638d20
- Use fixperms macro instead of our own chmod incantation.
638d20
- BR ExtUtils::MakeMaker.
638d20
638d20
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
638d20
- Rebuild.
638d20
- Fix find option order.
638d20
- Minor cleanup to more closely match cpanspec output.
638d20
638d20
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
638d20
- Rebuild.
638d20
638d20
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.100-6
638d20
- Spec cleanup.
638d20
- Disable "make test" by default (spams console).
638d20
638d20
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
638d20
- rebuilt
638d20
638d20
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.100-0.fdr.4
638d20
- Bring up to date with current fedora.us perl spec template.
638d20
- Require perl(:MODULE_COMPAT_*).
638d20
638d20
* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 0:0.100-0.fdr.3
638d20
- Vendor install
638d20
- Removing some files instead of excluding them
638d20
- Own two additional directories to work around perl package bug
638d20
638d20
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:0.100-0.fdr.2
638d20
- Excluding empty Syslog.bs file
638d20
- Chmoding Syslog.so in install section to allow it to be stripped
638d20
- Changed Group tag value
638d20
- Added missing unowned directories
638d20
638d20
* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
638d20
- Initial build.