Update to 2.00
- New upstream release 2.00: - The mime information is now collected from various sources, amongst them IANA; hence, some types may use different x-'s - A separate table is built for the extension-to-type mapping - Number of types up from 995 to 2096 - Number of extensions up from 734 to 1425 - The memory footprint and start-up speed should have improved considerably - Added bin/collect_types - Fixed some typos (CPAN RT#86847) - Added ::Type::isVendor(), ::isExperimental(), ::isPersonal (CPAN RT#87062) - Added ::Types::listTypes() - Cleaned-up Exporter syntax of (very) old interface - BR: perl(base), perl(File::Basename) and perl(File::Spec) - Drop no-longer-needed UTF8 patch
This commit is contained in:
parent
bca6825f07
commit
9aef5eab6a
@ -1,50 +0,0 @@
|
||||
--- MIME-Types-1.31/ChangeLog 2010-09-21 14:35:38.000000000 +0100
|
||||
+++ MIME-Types-1.31/ChangeLog 2011-03-15 10:10:00.994144345 +0000
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
version 1.14: Wed Nov 24 18:09:49 CET 2004
|
||||
|
||||
- - [Ville Skyttä] provided some minor fixes and two new types
|
||||
+ - [Ville Skyttä] provided some minor fixes and two new types
|
||||
|
||||
- [Ave Wringley] contributed video/x-ms-wmv
|
||||
|
||||
@@ -145,14 +145,14 @@
|
||||
|
||||
version 1.13: Sat Apr 24 00:15:09 CEST 2004
|
||||
|
||||
- - [Ville Skyttä] and [Austing Ziegler] updated the type list to
|
||||
+ - [Ville Skyttä] and [Austing Ziegler] updated the type list to
|
||||
IANA registry dated 2004-04-09. Many changes to clean-up the
|
||||
list, trying to find a good balance between IANA's rules and
|
||||
common practice.
|
||||
|
||||
version 1.12: Wed Jan 21 10:09:43 CET 2004
|
||||
|
||||
- - [Ville Skyttä] requested removal of application/excel, because
|
||||
+ - [Ville Skyttä] requested removal of application/excel, because
|
||||
it is not IANA registered. Applied.
|
||||
|
||||
- Documented that alternative types for a certain extension will
|
||||
@@ -163,7 +163,7 @@
|
||||
|
||||
version 1.11: Tue Jan 13 10:36:41 CET 2004
|
||||
|
||||
- - [Ville Skyttä] contributed a large set of new mime-types, and
|
||||
+ - [Ville Skyttä] contributed a large set of new mime-types, and
|
||||
applied some fixes. New IANA names are now all included.
|
||||
|
||||
version 1.10: Wed Dec 17 12:47:00 CET 2003
|
||||
@@ -203,10 +203,10 @@
|
||||
- [Guangzu Wang] pointed to typos in the Synopsis of both packages:
|
||||
$mimetype --> $mimetypes
|
||||
|
||||
- - [Ville Skyttä] some doc patches and many tweaks and additions
|
||||
+ - [Ville Skyttä] some doc patches and many tweaks and additions
|
||||
to the type list.
|
||||
|
||||
- - [Ville Skyttä] fixed bug, where the third column was taken as
|
||||
+ - [Ville Skyttä] fixed bug, where the third column was taken as
|
||||
second if that one was empty.
|
||||
|
||||
version 1.004: Tue Oct 22 19:22:43 CEST 2002
|
@ -1,17 +1,19 @@
|
||||
Name: perl-MIME-Types
|
||||
Version: 1.38
|
||||
Release: 3%{?dist}
|
||||
Version: 2.00
|
||||
Release: 1%{?dist}
|
||||
Summary: MIME types module for Perl
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MIME-Types/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz
|
||||
Patch0: MIME-Types-1.31-utf8.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
@ -28,8 +30,6 @@ add additional information.
|
||||
|
||||
%prep
|
||||
%setup -q -n MIME-Types-%{version}
|
||||
# Recode ChangeLog as UTF-8
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@ -55,6 +55,22 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/MIME::Types.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 2 2013 Paul Howarth <paul@city-fan.org> - 2.00-1
|
||||
- Update to 2.00:
|
||||
- The mime information is now collected from various sources, amongst them
|
||||
IANA; hence, some types may use different x-'s
|
||||
- A separate table is built for the extension-to-type mapping
|
||||
- Number of types up from 995 to 2096
|
||||
- Number of extensions up from 734 to 1425
|
||||
- The memory footprint and start-up speed should have improved considerably
|
||||
- Added bin/collect_types
|
||||
- Fixed some typos (CPAN RT#86847)
|
||||
- Added ::Type::isVendor(), ::isExperimental(), ::isPersonal (CPAN RT#87062)
|
||||
- Added ::Types::listTypes()
|
||||
- Cleaned-up Exporter syntax of (very) old interface
|
||||
- BR: perl(base), perl(File::Basename) and perl(File::Spec)
|
||||
- Drop no-longer-needed UTF8 patch
|
||||
|
||||
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.38-3
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user