%define module Email-MIME-ContentType %define name perl-%{module} %define up_version 1.015 %define version %perl_convert_version %{up_version} %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Parse a MIME Content-Type Header License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Email/%{module}-%{up_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{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 %{module}-%{up_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Email %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.15.0-2.mga3 + Revision: 366805 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 1.15.0-1.mga1 + Revision: 11159 - imported package perl-Email-MIME-ContentType