%define upstream_name Proc-Background %define upstream_version 1.10 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Generic interface to Unix and Win32 background process management License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://search.cpan.org/CPAN/authors/id/B/BZ/BZAJAC/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(App::Cache) BuildRequires: perl(Class::Accessor::Chained) BuildArch: noarch %description This is a generic interface for placing processes in the background on both Unix and Win32 platforms. This module lets you start, kill, wait on, retrieve exit values, and see if background processes still exist. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %{_mandir}/man1/* %{_bindir}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.100.0-2.mga3 + Revision: 372131 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jan 24 2011 jquelin <jquelin> 1.100.0-1.mga2 + Revision: 36518 - mageia rebuild - imported package perl-Proc-Background