[perl-Mail-MboxParser/el6/master] Initial upload into EL-6.

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Feb 7 08:33:03 UTC 2011


commit 11c5ea15774db7b49cd8a1bab2d188b0316c9399
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon Feb 7 09:31:13 2011 +0100

    Initial upload into EL-6.
    
    Change specfile according to new guidelines.

 .gitignore                |    1 +
 perl-Mail-MboxParser.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b07dc84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Mail-MboxParser-0.55.tar.gz
diff --git a/perl-Mail-MboxParser.spec b/perl-Mail-MboxParser.spec
new file mode 100644
index 0000000..0d65c4f
--- /dev/null
+++ b/perl-Mail-MboxParser.spec
@@ -0,0 +1,55 @@
+Name:           perl-Mail-MboxParser
+Version:        0.55
+Release:        2%{?dist}
+Summary:        Read-only access to UNIX-mailboxes
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Mail-MboxParser/
+Source0:        http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-MboxParser-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(MIME::Tools) >= 5
+Requires:       perl(MIME::Tools) >= 5
+Requires:       perl(Mail::Mbox::MessageParser)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module attempts to provide a simplified access to standard UNIX-
+mailboxes. It offers only a subset of methods to get 'straight to the
+point'. More sophisticated things can still be done by invoking any method
+from MIME::Tools on the appropriate return values.
+
+%prep
+%setup -q -n Mail-MboxParser-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+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 Changelog README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 20 2011 Marcela Mašláňová <mmaslano at redhat.com> 0.55-2
+- fix typo in requires
+
+* Thu Jan 20 2011 Marcela Mašláňová <mmaslano at redhat.com> 0.55-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..079f95f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1b9fdb367db36ec94e7b5c6721f11221  Mail-MboxParser-0.55.tar.gz



More information about the perl-devel mailing list