Name: perl-Email-MIME-ContentType Version: 1.012 Release: 1 Summary: Parse a MIME Content-Type Header Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Email-MIME-ContentType/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-%{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 This module is responsible for parsing email content type headers according to section 5.1 of RFC 2045. It returns a hash as above, with entries for the discrete type, the composite type, and a hash of attributes. %prep %setup -q -n Email-MIME-ContentType-%{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 LICENSE README %{perl_vendorlib}/Email/ %{_mandir}/man3/*.3pm* %changelog * Sat Nov 25 2006 Jose Pedro Oliveira - 1.012-1 - Update to 1.012. * Fri Oct 13 2006 Jose Pedro Oliveira - 1.011-1 - Update to 1.011. * Thu Sep 08 2005 Jose Pedro Oliveira - 1.01-1 - First build.