Name: perl-Proc-PID-File Version: 1.27 Release: 4%{?dist} Summary: Module to manage process id files License: GPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Proc-PID-File/ Source0: http://www.cpan.org/authors/id/E/EC/ECALDER/Proc-PID-File-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This Perl module is useful for writers of daemons and other processes that need to tell whether they are already running, in order to prevent multiple process instances. The module accomplishes this via *nix-style I<pidfiles>, which are files that store a process identifier. %prep %setup -q -n Proc-PID-File-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README Changes LICENSE %{perl_vendorlib}/Proc %{_mandir}/man3/Proc* %changelog * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-3 - 661697 rebuild for fixing problems with vendorach/lib * Tue May 04 2010 Remi Collet <Fedora@famillecollet.com> - 1.27-2 - Mass rebuild with perl-5.12.0 * Sat May 01 2010 Remi Collet <Fedora@famillecollet.com> - 1.27-1 - Specfile autogenerated by cpanspec 1.78 - initial RPM + cleanups