SPECS: perl-POE-Filter-Zlib.spec (NEW) - initial ver 1.90, rel 1, ...

agaran agaran at pld-linux.org
Sun May 27 12:45:24 CEST 2007


Author: agaran                       Date: Sun May 27 10:45:24 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial ver 1.90, rel 1, builds here

---- Files affected:
SPECS:
   perl-POE-Filter-Zlib.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Filter-Zlib.spec
diff -u /dev/null SPECS/perl-POE-Filter-Zlib.spec:1.1
--- /dev/null	Sun May 27 12:45:24 2007
+++ SPECS/perl-POE-Filter-Zlib.spec	Sun May 27 12:45:19 2007
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	POE
+%define	pnam	Filter-Zlib
+Summary:	POE::Filter::Zlib -- A POE filter wrapped around Compress::Zlib
+#Summary(pl):
+Name:		perl-POE-Filter-Zlib
+Version:	1.90
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	358377a9b2fbc66cc180129694253e20
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Compress::Zlib) >= 1.34
+BuildRequires:	perl(POE) >= 0.38
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+POE::Filter::Zlib provides a POE filter for performing
+compression/uncompression using Compress::Zlib. It is suitable for use
+with POE::Filter::Stackable.
+This filter is not ideal for streaming compressed data over sockets
+etc. as it employs compress and uncompress zlib functions.
+POE::Filter::Zlib::Stream is recommended for that type of activity.
+
+# %description -l pl # TODO
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/POE/Filter/*.pm
+%{perl_vendorlib}/POE/Filter/Zlib
+%{_mandir}/man3/*
+
+%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  2007/05/27 10:45:19  agaran
+- initial ver 1.90, rel 1, builds here
+
================================================================


More information about the pld-cvs-commit mailing list