From 150f5b6044221ed66b6f179d47b28bdcda2a8bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 29 Mar 2010 07:51:20 +0000 Subject: [PATCH] - split again from main package for updated version --- .cvsignore | 2 +- perl-Compress-Raw-Zlib.spec | 73 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 perl-Compress-Raw-Zlib.spec create mode 100644 sources diff --git a/.cvsignore b/.cvsignore index ded9a31..f39a12c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Compress-Raw-Zlib-2.005.tar.gz +Compress-Raw-Zlib-2.024.tar.gz diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec new file mode 100644 index 0000000..f0fbc75 --- /dev/null +++ b/perl-Compress-Raw-Zlib.spec @@ -0,0 +1,73 @@ +Name: perl-Compress-Raw-Zlib +Epoch: 0 +Version: 2.024 +Release: 2%{?dist} +Summary: Low-Level Interface to zlib compression library +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Compress-Raw-Zlib/ +Source0: http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: zlib-devel +Obsoletes: perl-Compress-Raw-Zlib <= 0:2.023-112 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The Compress::Raw::Zlib module provides a Perl interface to the zlib +compression library, which is used by IO::Compress::Zlib. + +%prep +%setup -q -n Compress-Raw-Zlib-%{version} +%{?filter_setup: +%filter_from_provides /Zlib.so/d +%?perl_default_filter +} + +%build +BUILD_ZLIB=False +OLD_ZLIB=False +ZLIB_LIB=%{_libdir} +ZLIB_INCLUDE=%{_includedir} +export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE + +%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_archlib}/auto/* +%{perl_archlib}/Compress* +%{_mandir}/man3/* + +%changelog +* Mon Mar 29 2010 Marcela Mašláňová 2.024-2 +- split again from main package for updated version + +* Tue Jul 17 2007 Robin Norwood - 2.005-2 +- Bump release to beat F-7 version + +* Sun Jul 01 2007 Robin Norwood - 2.005-1 +- update to 2.005. + +* Tue Jun 05 2007 Robin Norwood - 2.004-1 +- Initial build from CPAN + diff --git a/sources b/sources new file mode 100644 index 0000000..1858398 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +5b637dbb36955b13db261f049fe529d9 Compress-Raw-Zlib-2.024.tar.gz