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:
parent
c4a2fa68e2
commit
750909894e
@ -0,0 +1 @@
|
||||
File-Slurp-9999.09.tar.gz
|
||||
55
perl-File-Slurp.spec
Normal file
55
perl-File-Slurp.spec
Normal 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.
|
||||
Loading…
Reference in New Issue
Block a user