rpms/perl-IO-Compress-Zlib/devel perl-IO-Compress-Zlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Thu Jun 28 20:32:10 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-IO-Compress-Zlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17068/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-IO-Compress-Zlib.spec 
Log Message:
New package: perl-IO-Compress-Zlib



--- NEW FILE perl-IO-Compress-Zlib.spec ---
Name:           perl-IO-Compress-Zlib
Version:        2.004
Release:        1%{?dist}
Summary:        Perl interface to allow reading and writing of gzip and zip data

Group:          Development/Libraries
License:        Artistic or GPL
URL:            http://search.cpan.org/dist/IO-Compress-Zlib/
Source0:        http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Zlib-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl, perl(ExtUtils::MakeMaker), perl(Test::Pod)
BuildRequires:  perl(Compress::Raw::Zlib), perl(IO::Compress::Base)
# IO::Compress::Bzip2 is needed for some tests
BuildRequires:  perl(IO::Compress::Bzip2)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module provides a Perl interface to allow reading and writing of RFC
1950, 1951, 1952 (i.e. gzip) and zip files/buffers.

%prep
%setup -q -n IO-Compress-Zlib-%{version}


%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 -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

#fix permissions on a couple of perl modules incorrectly set as executable
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorlib}/IO/Uncompress/RawInflate.pm
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorlib}/IO/Uncompress/Adapter/Identity.pm

%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/IO/
%{_mandir}/man3/*.3*


%changelog
* Wed Jun 06 2007 Robin Norwood <rnorwood at redhat.com> - 2.004-1
- Initial build from CPAN.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IO-Compress-Zlib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jun 2007 19:34:00 -0000	1.1
+++ .cvsignore	28 Jun 2007 20:31:33 -0000	1.2
@@ -0,0 +1 @@
+IO-Compress-Zlib-2.004.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IO-Compress-Zlib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jun 2007 19:34:00 -0000	1.1
+++ sources	28 Jun 2007 20:31:33 -0000	1.2
@@ -0,0 +1 @@
+a4c3a1501558d832a62907ae4e08c9d8  IO-Compress-Zlib-2.004.tar.gz




More information about the fedora-extras-commits mailing list