Accepting request 65701 from devel:languages:perl
Accepted submit request 65701 from user coolo OBS-URL: https://build.opensuse.org/request/show/65701 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Slurp?expand=0&rev=11
This commit is contained in:
commit
15dbe6e46f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:656e805fc67a7421a2c1d0bb1e86b3929bd167751f1a8f49c8f33eed758831a2
|
||||
size 23675
|
3
File-Slurp-9999.15.tar.gz
Normal file
3
File-Slurp-9999.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a0bf6436d4803fa7aff99eabfb11f18fb89b03e74477547239833989769ccfc
|
||||
size 37292
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 11:45:47 UTC 2011 - coolo@novell.com
|
||||
|
||||
* update to 9999.15
|
||||
- Added LICENCE (same as perl) to POD
|
||||
- for the rest, see Changes (a lot)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:16 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-File-Slurp (Version 9999.13)
|
||||
# spec file for package perl-File-Slurp (Version 9999.15)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -15,47 +15,47 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-File-Slurp
|
||||
%define cpan_name File-Slurp
|
||||
Summary: Efficient Reading/Writing of Complete Files
|
||||
Version: 9999.13
|
||||
Release: 10
|
||||
Version: 9999.15
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
%define cpan_name File-Slurp
|
||||
Summary: Simple and Efficient Reading/Writing of Complete Files
|
||||
Url: http://search.cpan.org/dist/File-Slurp/
|
||||
#Source: http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%endif
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(POSIX)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Exporter)
|
||||
Requires: perl(Fcntl)
|
||||
Requires: perl(POSIX)
|
||||
%{perl_requires}
|
||||
|
||||
%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 ..
|
||||
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.
|
||||
These slurp/spew subs work for files, pipes and sockets, stdio,
|
||||
pseudo-files, and the DATA handle. Read more about why slurping files is a
|
||||
good thing in the file 'slurp_article.pod' in the extras/ directory.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Uri Guttman <uri@stemsystems.com>
|
||||
If you are interested in how fast these calls work, check out the
|
||||
slurp_bench.pl program in the extras/ directory. It compares many different
|
||||
forms of slurping. You can select the I/O direction, context and file
|
||||
sizes. Use the --help option to see how to run it.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint: script-without-shebang
|
||||
%{__chmod} a-x lib/File/Slurp.pm
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -66,18 +66,14 @@ Authors:
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes README TODO
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user