Name: perl-Parallel-Scoreboard Version: 0.03 Release: 1%{?dist} Summary: Scoreboard for monitoring status of many processes License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Parallel-Scoreboard/ Source0: http://www.cpan.org/authors/id/K/KA/KAZUHO/Parallel-Scoreboard-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::Accessor::Lite) >= 0.05 BuildRequires: perl(HTML::Entities) BuildRequires: perl(JSON) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Class::Accessor::Lite) >= 0.05 %description Parallel::Scoreboard is a pure-perl implementation of a process scoreboard. By using the module it is easy to create a monitor for many worker process, like the status module of the Apache HTTP server. %prep %setup -q -n Parallel-Scoreboard-%{version} # Remove bundled modules for f in inc/Test/More.pm inc/File/Temp.pm; do pat=$(echo "$f" | sed 's,/,\\/,g;s,\.,\\.,g') rm $f sed -i -e "/$pat/d" MANIFEST done %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 * Fri Feb 04 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.03-1 - Upstream update. - Add BR: perl(Class::Accessor::Lite), perl(HTML::Entities), perl(JSON). * Wed Jan 26 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.02-2 - Use system-wide versions of Test/More.pm and File/Temp.pm instead of bundled versions. * Thu Jan 20 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.02-1 - Specfile autogenerated by cpanspec 1.78.