rpms/perl-Parallel-ForkManager/F-8 perl-Parallel-ForkManager.spec, NONE, 1.1

Jason ティビツ (tibbs) fedora-extras-commits at redhat.com
Fri Jan 18 18:35:35 UTC 2008


Author: tibbs

Update of /cvs/extras/rpms/perl-Parallel-ForkManager/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4436

Added Files:
	perl-Parallel-ForkManager.spec 
Log Message:
Initial import to F-8 branch.



--- 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.




More information about the fedora-extras-commits mailing list