From ac6451c01d168a57b6d327e92eb8a58cf7e8caf9 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sep 06 2006 20:19:40 +0000 Subject: auto-import perl-POE-Filter-Zlib-1.4-1.fc5 on branch devel from perl-POE-Filter-Zlib-1.4-1.fc5.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..cf98771 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +POE-Filter-Zlib-1.4.tar.gz diff --git a/LICENSE.readme b/LICENSE.readme new file mode 100644 index 0000000..d072142 --- /dev/null +++ b/LICENSE.readme @@ -0,0 +1,20 @@ +On Thu, Jul 13, 2006 at 11:01:47PM -0700, Chris Weyl wrote: +> Hi Chris! +> +> I'm thinking about packaging POE::Filter::IRCD up for Fedora Extras, +> however I can't find any information as to what license this module is +> released under. Is it under "the same terms as perl itself", namely +> both the GPL and Artistic licenses? + +It is indeed under the same terms as perl. + +Unless clearly expressed all my modules on CPAN are under that licence. + +Many thanks, + +-- +Chris Williams +aka BinGOs +PGP ID 0x4658671F +http://www.gumbynet.org.uk +========================== diff --git a/perl-POE-Filter-Zlib.spec b/perl-POE-Filter-Zlib.spec new file mode 100644 index 0000000..08d4eac --- /dev/null +++ b/perl-POE-Filter-Zlib.spec @@ -0,0 +1,64 @@ +Name: perl-POE-Filter-Zlib +Version: 1.4 +Release: 1%{?dist} +Summary: POE filter wrapped around Compress::Zlib +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/POE-Filter-Zlib/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/POE-Filter-Zlib-%{version}.tar.gz + +# see also: +Source1: LICENSE.readme + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Compress::Zlib) >= 1.34 +BuildRequires: perl(POE) >= 0.3501 + +# this is missed in a classic "use base POE..." situation +Requires: perl(POE::Filter) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +POE::Filter::Zlib provides a POE filter for performing compression and +uncompression using Compress::Zlib. It is suitable for use with +POE::Filter::Stackable. + +%prep +%setup -q -n POE-Filter-Zlib-%{version} + +# deal with our licensing.... +cp %{SOURCE1} . +perldoc perlgpl > COPYING.gpl +perldoc perlartistic > COPYING.artistic + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +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} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc README LICENSE* COPYING* +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 01 2006 Chris Weyl 1.4-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..b10db0d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ee3c93a09f4640bd42a5781375a48082 POE-Filter-Zlib-1.4.tar.gz