diff --git a/Proc-PID-File-1.29.tar.gz b/Proc-PID-File-1.29.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fae78fc3b945fc5653614c87221f615bcb5ff1f1 Binary files /dev/null and b/Proc-PID-File-1.29.tar.gz differ diff --git a/perl-Proc-PID-File.spec b/perl-Proc-PID-File.spec new file mode 100644 index 0000000000000000000000000000000000000000..7cabfc6aa4d8a436669b44f23b9bf6d570d75370 --- /dev/null +++ b/perl-Proc-PID-File.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Proc-PID-File +Version: 1.29 +Release: 1 +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/D/DM/DMITRI/Proc-PID-File-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +%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 pidfiles, +which are files that store a process identifier. +%package help +Summary : Module to manage process id files +Provides: perl-Proc-PID-File-doc +%description help +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 pidfiles, +which are files that store a process identifier. +%prep +%setup -q -n Proc-PID-File-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +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/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . +%check || : +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes LICENSE META.json README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Sun May 23 2021 Perl_Bot 1.29-1 +- Specfile autogenerated by Perl_Bot