Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-File-Slurp
perl-File-Slurp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-File-Slurp.spec of Package perl-File-Slurp
# norootforbuild %define pkgname File-Slurp Name: perl-%{pkgname} Summary: File-Slurp - Efficient Reading/Writing of Complete Files Version: 9999.13 Release: 1 Vendor: Uri Guttman <uri@stemsystems.com> License: GPL Group: Applications/CPAN Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch AutoReqProv: on Source: http://search.cpan.org//CPAN/authors/id/D/DR/DROLSKY/File-Slurp-%{version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif %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 C<.> and C<..> These slurp/spew subs work for files, pipes and sockets, and stdio, pseudo-files, and DATA. %prep %setup -q -n %{pkgname}-%{version} %build perl Makefile.PL make %check make test %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc extras Changes README %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/File %{perl_vendorlib}/File/* %{perl_vendorarch}/auto/File %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de> - remove perl-version require * Sat Apr 4 2009 Holger Manthey <holger.manthey@bertelsmann.de> - Build for centos * Sun Feb 1 2009 holger.manthey@bertelsmann.de - add perl_vendorarch. * Sat Jan 31 2009 holger.manthey@bertelsmann.de - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor