commit ca80ece024039f4d3db41e2749d4e2cca45575d8 Author: Steven Roberts <strobert@xxxxxxxxxx> Date: Mon Feb 4 22:42:24 2013 -0800 initial post review perl-Mail-Procmail.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 2 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/perl-Mail-Procmail.spec b/perl-Mail-Procmail.spec new file mode 100644 index 0000000..d588178 --- /dev/null +++ b/perl-Mail-Procmail.spec @@ -0,0 +1,65 @@ +Name: perl-Mail-Procmail +Version: 1.08 +Release: 3%{?dist} +Summary: Procmail-like facility for creating easy mail filters +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Mail-Procmail/ +Source0: http://www.cpan.org/authors/id/J/JV/JV/Mail-Procmail-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(LockFile::Simple) +BuildRequires: perl(Mail::Internet) +BuildRequires: perl(Test::More) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +procmail is a great mail filter program, but it has weird recipe +format. It's pattern matching capabilities are basic and often +insufficient. This module provides flexibility to filter your +mail using the power of Perl. + +%prep +%setup -q -n Mail-Procmail-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -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_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 23 2013 Steven D. Roberts <strobert@xxxxxxxxxx> 1.08-3 +- added some missing buildreqs + +* Sun Dec 30 2012 Steven D. Roberts <strobert@xxxxxxxxxx> 1.08-2 +- spec cleanup. + +* Thu Dec 27 2012 Steven D. Roberts <strobert@xxxxxxxxxx> 1.08-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..143c467 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4a8d3c3d90553a98f702c851c27be320 Mail-Procmail-1.08.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel