[perl-Email-Received: 2/9] Initial package for Fedora
Mathieu Bridon
bochecha at fedoraproject.org
Mon Jan 28 04:34:26 UTC 2013
commit 10b1fe1640055f2fbcc192a7e0fac70e5c72212b
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Fri Jan 18 18:24:58 2013 +0800
Initial package for Fedora
This was submitted for review on Fri Jan 18 2013:
https://bugzilla.redhat.com/show_bug.cgi?id=901496#c0
perl-Email-Received.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/perl-Email-Received.spec b/perl-Email-Received.spec
new file mode 100644
index 0000000..3749712
--- /dev/null
+++ b/perl-Email-Received.spec
@@ -0,0 +1,54 @@
+Name: perl-Email-Received
+Summary: Parse an email Received: header
+Version: 1.00
+Release: 1%{?dist}
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Email-Received/
+Source0: http://www.cpan.org/authors/id/S/SI/SIMON/Email-Received-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: perl(Email::Simple)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Regexp::Common)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Text::Balanced)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module is a Perl Email Project rewrite of SpamAssassin's email header
+parser. We did this so that the great work they did in analysing pretty
+much every possible Received header format could be used in applications
+other than SpamAssassin itself.
+
+
+%prep
+%setup -q -n Email-Received-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{_mandir}/man3/Email::Received.3pm*
+%{perl_vendorlib}/Email
+
+
+%changelog
+* Fri Jan 18 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.00-1
+- Initial package for Fedora, with help from cpanspec.
More information about the scm-commits
mailing list