Name: perl-File-Pid Version: 1.01 Release: 2%{?dist} Summary: Pid File Manipulation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Pid/ Source0: http://www.cpan.org/authors/id/C/CW/CWEST/File-Pid-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::Accessor::Fast) >= 0.19 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(Class::Accessor::Fast) >= 0.19 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This software manages a pid file for you. It will create a pid file, query the process within to discover if it's still running, and remove the pid file. %prep %setup -q -n File-Pid-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jul 25 2009 Fedora Release Engineering - 1.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Apr 10 2009 Iain Arnell 1.01-1 - Specfile autogenerated by cpanspec 1.77.