rpms/perl-Parallel-ForkManager/devel perl-Parallel-ForkManager.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jason ティビツ (tibbs) fedora-extras-commits at redhat.com
Thu Jan 17 03:42:10 UTC 2008


Author: tibbs

Update of /cvs/extras/rpms/perl-Parallel-ForkManager/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30557/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Parallel-ForkManager.spec 
Log Message:
Import perl-Parallel-ForkManager.



--- NEW FILE perl-Parallel-ForkManager.spec ---
Name:           perl-Parallel-ForkManager
Version:        0.7.5
Release:        1%{?dist}
Summary:        Simple parallel processing fork manager
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Parallel-ForkManager/
Source0:        http://www.cpan.org/modules/by-module/Parallel/Parallel-ForkManager-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module is intended for use in operations that can be done in parallel
where the number of processes to be forked off should be limited. Typical
use is a downloader which will be retrieving hundreds/thousands of files.

%prep
%setup -q -n Parallel-ForkManager-%{version}

# Prepare the example scripts for inclusion as documentation, as they are not
# generally useful and have additional dependencies.
mkdir examples
sed -i -e '1d' ForkManager/*.pl
chmod 644 ForkManager/*.pl
mv ForkManager/*.pl examples
rmdir ForkManager

i=ForkManager.pm
iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i

%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 TODO examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Jan 16 2008 Jason Tibbitts <tibbs at math.uh.edu> 0.7.5-1
- Specfile autogenerated by cpanspec 1.74.
- Make the .pl files documentation instead of installing them to avoid
  additional dependencies.  Also remove their shebang lines to quiet rpmlint.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Parallel-ForkManager/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Jan 2008 03:27:49 -0000	1.1
+++ .cvsignore	17 Jan 2008 03:41:36 -0000	1.2
@@ -0,0 +1 @@
+Parallel-ForkManager-0.7.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Parallel-ForkManager/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jan 2008 03:27:49 -0000	1.1
+++ sources	17 Jan 2008 03:41:36 -0000	1.2
@@ -0,0 +1 @@
+ec12f36370329e2c235284f5cb4ed427  Parallel-ForkManager-0.7.5.tar.gz




More information about the fedora-extras-commits mailing list