SPECS: perl-IO-Compress-Zlib.spec (NEW) - new

qboosh qboosh at pld-linux.org
Fri Dec 22 19:51:16 CET 2006


Author: qboosh                       Date: Fri Dec 22 18:51:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-IO-Compress-Zlib.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-IO-Compress-Zlib.spec
diff -u /dev/null SPECS/perl-IO-Compress-Zlib.spec:1.1
--- /dev/null	Fri Dec 22 19:51:16 2006
+++ SPECS/perl-IO-Compress-Zlib.spec	Fri Dec 22 19:51:11 2006
@@ -0,0 +1,89 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	IO
+%define	pnam	Compress-Zlib
+Summary:	Perl interface to read/write gzip and zip files/buffers
+Summary(pl):	Perlowy interfejs do odczytu/zapisu plików/buforów gzip i zip
+Name:		perl-IO-Compress-Zlib
+Version:	2.001
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	265c31ec11a220999b6b29d47e3baddc
+URL:		http://search.cpan.org/dist/IO-Compress-Zlib/
+%if %{with tests}
+BuildRequires:	perl-Compress-Raw-Zlib
+BuildRequires:	perl-IO-Compress-Base
+%endif
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a Perl interface to allow reading and writing of
+RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.
+
+%description -l pl
+Ten moduł udostępnia perlowy interfejs pozwalający na odczyt i zapis
+plików/buforów w formacie zgodnym z RFC 1950, 1951, 1952 (czyli gzip)
+oraz zip.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/IO/Compress/Adapter/Deflate.pm
+%{perl_vendorlib}/IO/Compress/Adapter/Identity.pm
+%{perl_vendorlib}/IO/Compress/Deflate.pm
+%{perl_vendorlib}/IO/Compress/Gzip.pm
+%{perl_vendorlib}/IO/Compress/RawDeflate.pm
+%{perl_vendorlib}/IO/Compress/Zip.pm
+%{perl_vendorlib}/IO/Compress/Gzip
+%{perl_vendorlib}/IO/Compress/Zip
+%{perl_vendorlib}/IO/Compress/Zlib
+%{perl_vendorlib}/IO/Uncompress/Adapter/Identity.pm
+%{perl_vendorlib}/IO/Uncompress/Adapter/Inflate.pm
+%{perl_vendorlib}/IO/Uncompress/AnyInflate.pm
+%{perl_vendorlib}/IO/Uncompress/Gunzip.pm
+%{perl_vendorlib}/IO/Uncompress/Inflate.pm
+%{perl_vendorlib}/IO/Uncompress/RawInflate.pm
+%{perl_vendorlib}/IO/Uncompress/Unzip.pm
+%{_mandir}/man3/IO::*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/22 18:51:11  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list