%define upstream_name MIME-Types %define upstream_version 1.37 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: MIME::Types module for Perl License: GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/MIME/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.470.0 BuildArch: noarch %description This Perl module maintains a set of MIME::Type objects, which each describe one known mime type. There are many types defined by RFCs and vendors, so the list is long but not complete. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc ChangeLog META.json META.yml MYMETA.yml README %{perl_vendorlib}/MIME %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.370.0-2.mga3 + Revision: 369329 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 1.370.0-1.mga3 + Revision: 342364 - update to 1.37 * Tue Nov 06 2012 jquelin <jquelin> 1.360.0-1.mga3 + Revision: 315122 - update to 1.36 * Wed Jul 04 2012 jquelin <jquelin> 1.350.0-1.mga3 + Revision: 267387 - update to 1.35 * Wed Jan 25 2012 jquelin <jquelin> 1.340.0-1.mga2 + Revision: 200905 - update to 1.34 - update to 1.32 * Sat Jan 22 2011 jquelin <jquelin> 1.310.0-1.mga1 + Revision: 30764 - mageia rebuild - imported package perl-MIME-Types