Name: perl-POE-Filter-Transparent-SMTP Version: 0.2 Release: 2%{?dist} Summary: A POE filter for SMTP # note license definition in Makefile.PL License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Filter-Transparent-SMTP/ Source0: http://search.cpan.org/CPAN/authors/id/U/UL/ULTRADM/POE-Filter-Transparent-SMTP-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(POE) BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description POE data filter which aims to make SMTP data transparent just before going onto the wire as per RFC 821 Section 4.5.2. %prep %setup -q -n POE-Filter-Transparent-SMTP-%{version} chmod -x LICENSE %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 Changes README LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Apr 16 2009 Yanko Kaneti - 0.2-2 - fix LICENSE permissions * Wed Apr 15 2009 Yanko Kaneti - 0.2-1 - First attempt on packaging. Based on perl-POE-Filter-Zlib