Name: perl-Email-MIME-ContentType Version: 1.017 Release: 1%{?dist} 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 BuildArch: noarch BuildRequires: perl(blib) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(version) > 0.99 BuildRequires: perl(warnings) 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 with entries for the type, the subtype, and a hash of attributes. For backward compatibility with a really unfortunate misunderstanding of RFC 2045 by the early implementors of this module, 'discrete' and 'composite' are also present in the returned hashref, with the values of 'type' and 'subtype' respectively. %prep %setup -q -n Email-MIME-ContentType-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %files %doc Changes LICENSE README %{perl_vendorlib}/Email/ %{_mandir}/man3/*.3pm* %changelog * Sun Aug 11 2013 Paul Howarth - 1.017-1 - Update to 1.017 - Correct the longstanding and embarrassing misuse of "discrete" and "composite" to mean "type" and "subtype"; the returned data still contains the wrong old names so your code shouldn't break - Repackage to update bugtracker, repo, etc. - Make $STRICT_PARAMS actually work! (CPAN RT#87460) - Don't need to remove empty directories from the buildroot - Drop %%defattr, redundant since rpm 4.4 - Explicitly run the release tests * Sat Aug 03 2013 Fedora Release Engineering - 1.015-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 1.015-15 - Perl 5.18 rebuild * Sun Feb 24 2013 Ralf Corsépius - 1.015-14 - Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271). - Modernize spec. * Thu Feb 14 2013 Fedora Release Engineering - 1.015-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.015-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 1.015-11 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.015-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 1.015-9 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.015-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 1.015-7 - 661697 rebuild for fixing problems with vendorach/lib * Sat May 01 2010 Marcela Maslanova - 1.015-6 - Mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova - 1.015-5 - Mass rebuild with perl-5.12.0 * Fri Apr 23 2010 Marcela Mašláňová - 1.015-4 - rebuild * Mon Dec 7 2009 Stepan Kasal - 1.015-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.015-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Mar 13 2009 Tom "spot" Callaway - 1.015-1 - update to 1.015 * Thu Feb 26 2009 Fedora Release Engineering - 1.014-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 1.014-3 - Rebuild for perl 5.10 (again) * Sun Jan 20 2008 Tom "spot" Callaway - 1.014-2 - rebuild for new perl * Fri Mar 23 2007 Jose Pedro Oliveira - 1.014-1 - Update to 1.014. * 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.