2007-09-14 14:48:08 +00:00
|
|
|
%define modname Email-Simple
|
|
|
|
|
Name: perl-%{modname}
|
2010-06-19 14:33:12 +00:00
|
|
|
Version: 2.100
|
2007-09-14 14:48:08 +00:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Simple Parsing of RFC2822 Message Format and Headers
|
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
License: GPL/Artistic
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Email::Simple is the first deliverable of the "Perl Email Project." The Email::
|
|
|
|
|
namespace was begun as a reaction against the increasing complexity and
|
|
|
|
|
bugginess of Perl's existing email modules. Email::* modules are meant to be
|
|
|
|
|
simple to use and to maintain, pared to the bone, fast, minimal in their
|
|
|
|
|
external dependencies, and correct.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
|
make
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
|
%doc %{_mandir}/man?/*
|
2008-12-23 16:14:55 +00:00
|
|
|
%{perl_vendorlib}/Email
|
|
|
|
|
%{perl_vendorarch}/auto/Email
|
2007-09-14 14:48:08 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
|
|
* Fri Sep 14 2007 - James Oakley <jfunk@funktronics.ca> - 2.003-1
|
|
|
|
|
- Initial release
|