Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 5f76e42639591b6be09be74608aa123a > files > 2

perl-MIME-Types-1.340.0-1.mga2.src.rpm

%define	upstream_name	 MIME-Types
%define upstream_version 1.34

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

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.yml MYMETA.yml README
%{perl_vendorlib}/MIME
%{_mandir}/*/*

%changelog

* 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