Name: perl-Proc-PID-File Version: 1.27 Release: 1%{?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 * Sat May 01 2010 Remi Collet <Fedora@famillecollet.com> - 1.27-1 - Specfile autogenerated by cpanspec 1.78 - initial RPM + cleanups