auto-import perl-File-Slurp-9999.09-1 on branch devel from

perl-File-Slurp-9999.09-1.src.rpm
This commit is contained in:
corsepiu 2005-09-10 02:15:28 +00:00
parent c4a2fa68e2
commit 750909894e
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1 @@
File-Slurp-9999.09.tar.gz

55
perl-File-Slurp.spec Normal file
View File

@ -0,0 +1,55 @@
Name: perl-File-Slurp
Version: 9999.09
Release: 1%{?dist}
Summary: Efficient Reading/Writing of Complete Files
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Slurp/
Source0: http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
%description
This module provides subs that allow you to read or write entire files with
one simple call. They are designed to be simple to use, have flexible ways
to pass in or get the file contents and to be very efficient. There is also
a sub to read in all the files in a directory other than . and ..
These slurp/spew subs work for files, pipes and sockets, and stdio,
pseudo-files, and DATA.
%prep
%setup -q -n File-Slurp-%{version}
chmod 0644 lib/File/Slurp.pm
%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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/File
%{_mandir}/man3/*
%changelog
* Thu Sep 01 2005 Ralf Corsepius <rc040203@freenet.de> - 9999.09-1
- FE submission.
* Tue Jun 28 2005 Ralf Corsepius <ralf@links2linux.de> - 9999.09-0.pm.1
- Initial packman version.

View File

@ -0,0 +1 @@
b2bd4e917b6fafe03145f3977ba8bd7a File-Slurp-9999.09.tar.gz