[perl-Mail-MboxParser/el5/master] Upload specfile.

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Feb 1 13:36:03 UTC 2011


commit 3a393e2d8fa796988b5e123cb19ce8db16663bfa
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Tue Feb 1 14:35:45 2011 +0100

    Upload specfile.

 perl-Mail-MboxParser.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/perl-Mail-MboxParser.spec b/perl-Mail-MboxParser.spec
new file mode 100644
index 0000000..96575fc
--- /dev/null
+++ b/perl-Mail-MboxParser.spec
@@ -0,0 +1,59 @@
+%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
+
+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
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+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
+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 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.



More information about the perl-devel mailing list