commit 5c436a1be5b621d22c9020d001bdc97abe6ed0f8
Author: Ralf Corsépius <corse...@fedoraproject.org>
Date:   Thu Jan 27 03:21:36 2011 +0100

    Import.

 .gitignore                    |    1 +
 perl-Parallel-Scoreboard.spec |   61 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ee492b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Parallel-Scoreboard-0.02.tar.gz
diff --git a/perl-Parallel-Scoreboard.spec b/perl-Parallel-Scoreboard.spec
new file mode 100644
index 0000000..02e1e00
--- /dev/null
+++ b/perl-Parallel-Scoreboard.spec
@@ -0,0 +1,61 @@
+Name:           perl-Parallel-Scoreboard
+Version:        0.02
+Release:        2%{?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(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%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
+rm inc/Test/More.pm inc/File/Temp.pm
+rmdir inc/Test inc/File
+# Remove bundled modules from MANIFEST
+sed -i -e '/inc\/Test\/More\.pm/d' -e '/inc\/File\/Temp\.pm/d' MANIFEST
+
+%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
+* Wed Jan 26 2011 Ralf Corsépius <corse...@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 <corse...@fedoraproject.org> 0.02-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..c67e002 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5db0b9f17197824f1f1c11c624857152  Parallel-Scoreboard-0.02.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to