>From c43a1f56c86451acb42d4435fc4cc6cd0569f99d Mon Sep 17 00:00:00 2001 From: Chris Weyl <cweyl@xxxxxxxxxxxxxxxxx> Date: Tue, 3 Feb 2009 04:46:11 +0000 Subject: initial import diff --git a/.cvsignore b/.cvsignore index e69de29..cbbe28f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +PerlIO-gzip-0.18.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..b2cfefb --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-PerlIO-gzip-0_18-1_fc10:HEAD:perl-PerlIO-gzip-0.18-1.fc10.src.rpm:1233636351 diff --git a/perl-PerlIO-gzip.spec b/perl-PerlIO-gzip.spec new file mode 100644 index 0000000..1c7358f --- /dev/null +++ b/perl-PerlIO-gzip.spec @@ -0,0 +1,66 @@ +Name: perl-PerlIO-gzip +Version: 0.18 +Release: 1%{?dist} +Summary: Perl extension to provide a PerlIO layer to gzip/gunzip +# See Makefile.PL, gzip.xs, etc. +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/PerlIO-gzip/ +Source0: http://www.cpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: perl(:WITH_PERLIO) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# non-perl +BuildRequires: zlib-devel + +# perl +BuildRequires: perl(ExtUtils::MakeMaker) +# test +BuildRequires: perl(Test::More) + +%description +PerlIO::gzip provides a PerlIO layer that manipulates files in the format +used by the gzip program. Compression and decompression are implemented. + +This is akin to Compress::Zlib, except that it operates at the lower PerlIO +layer. + +%prep +%setup -q -n PerlIO-gzip-%{version} + +perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t +cat README | iconv -f ISO-8859-1 -t UTF-8 > foo && mv foo README + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README t/ +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/PerlIO* +%{_mandir}/man3/* + +%changelog +* Wed Jul 16 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.18-1 +- Specfile autogenerated by cpanspec 1.74. diff --git a/sources b/sources index e69de29..e814390 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +933fdf283a0d2739f7630420569e3b24 PerlIO-gzip-0.18.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-PerlIO-gzip.git/commit/?h=epel7&id=c43a1f56c86451acb42d4435fc4cc6cd0569f99d -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel