%define modname Email-Simple Name: perl-%{modname} Version: 2.100 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 BuildRequires: perl(Email::Date::Format) Requires: perl = %{perl_version} Requires: perl(Email::Date::Format) %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?/* %{perl_vendorlib}/Email %{perl_vendorarch}/auto/Email /var/adm/perl-modules/%{name} %changelog * Fri Sep 14 2007 - James Oakley - 2.003-1 - Initial release