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
|
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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,47 +15,47 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%bcond_with pod
|
|
||||||
|
|
||||||
Name: perl-File-Slurp
|
Name: perl-File-Slurp
|
||||||
%define cpan_name File-Slurp
|
Version: 9999.15
|
||||||
Summary: Efficient Reading/Writing of Complete Files
|
Release: 1
|
||||||
Version: 9999.13
|
|
||||||
Release: 10
|
|
||||||
License: GPL+ or Artistic
|
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/
|
Url: http://search.cpan.org/dist/File-Slurp/
|
||||||
#Source: http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
Group: Development/Libraries/Perl
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
#Source: http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%if %{with pod}
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Fcntl)
|
||||||
%endif
|
BuildRequires: perl(POSIX)
|
||||||
|
Requires: perl(Carp)
|
||||||
|
Requires: perl(Exporter)
|
||||||
|
Requires: perl(Fcntl)
|
||||||
|
Requires: perl(POSIX)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides subs that allow you to read or write entire files with
|
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
|
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
|
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,
|
These slurp/spew subs work for files, pipes and sockets, stdio,
|
||||||
pseudo-files, and DATA.
|
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:
|
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
|
||||||
Uri Guttman <uri@stemsystems.com>
|
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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
# rpmlint: script-without-shebang
|
|
||||||
%{__chmod} a-x lib/File/Slurp.pm
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -66,18 +66,14 @@ Authors:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(644,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user