Name: perl-Daemon-Control Version: 0.001008 Release: 1%{?dist} Summary: Create init scripts in Perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Daemon-Control/ Source0: http://www.cpan.org/authors/id/S/SY/SYMKAT/Daemon-Control-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Path) >= 2.08 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) >= 0.14 BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Cwd) Requires: perl(File::Path) >= 2.08 Requires: perl(File::Spec) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Daemon::Control provides a library for creating init scripts in perl. Your perl script just needs to set the accessors for what and how you want something to run and the library takes care of the rest. %prep %setup -q -n Daemon-Control-%{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 %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Sep 18 2015 Dave Cross 0.001008-1 - Specfile autogenerated by cpanspec 1.78.