diff --git a/.cvsignore b/.cvsignore index e69de29..3283ffb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Email-Simple-1.92.tar.gz diff --git a/perl-Email-Simple.spec b/perl-Email-Simple.spec new file mode 100644 index 0000000..ecc7440 --- /dev/null +++ b/perl-Email-Simple.spec @@ -0,0 +1,57 @@ +Name: perl-Email-Simple +Version: 1.92 +Release: 1%{?dist} +Summary: Simple parsing of RFC2822 message format and headers + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Email-Simple/ +Source0: http://www.cpan.org/authors/id/C/CW/CWEST/Email-Simple-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +"Email::Simple" is the first deliverable of the "Perl Email Project", a +reaction against the complexity and increasing bugginess of the +"Mail::*" modules. In contrast, "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 Email-Simple-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Email/ +%{_mandir}/man3/*.3pm* + + +%changelog +* Thu Sep 08 2005 Jose Pedro Oliveira - 1.92-1 +- First build. diff --git a/sources b/sources index e69de29..1b694de 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e0ac39068afca5fa62f633a31a98f813 Email-Simple-1.92.tar.gz