perl-MIME-Types/perl-MIME-Types.spec

213 lines
7.2 KiB
RPMSpec
Raw Normal View History

Name: perl-MIME-Types
Version: 1.36
2012-11-21 14:11:00 +00:00
Release: 2%{?dist}
Summary: MIME types module for Perl
2007-08-26 18:49:04 +00:00
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(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
2012-11-21 14:11:00 +00:00
BuildRequires: perl(lib)
2007-04-18 17:49:16 +00:00
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
MIME types are used in MIME compliant lines, for instance as part of
e-mail and HTTP traffic, to indicate the type of content which is
transmitted. Sometimes real knowledge about a mime-type is need.
This module maintains a set of MIME::Type objects, which each describe
one known mime type. There are many types defined by RFCs and vendors,
2011-03-15 12:57:28 +00:00
so the list is long but not complete. Please don't hesitate to ask to
add additional information.
%prep
%setup -q -n MIME-Types-%{version}
# Recode ChangeLog as UTF-8
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
2005-10-02 19:53:58 +00:00
%check
make test
make test TEST_FILES="xt/*.t"
%clean
rm -rf %{buildroot}
%files
%doc ChangeLog README
2005-10-02 19:53:58 +00:00
%{perl_vendorlib}/MIME/
%{_mandir}/man3/MIME::Type.3pm*
%{_mandir}/man3/MIME::Types.3pm*
%changelog
2012-11-21 14:11:00 +00:00
* Wed Nov 21 2012 Petr Šabata <contyk@redhat.com> - 1.36-2
- Buildrequire perl(lib)
* Thu Nov 1 2012 Paul Howarth <paul@city-fan.org> - 1.36-1
- Update to 1.36:
- xlsx and friends had encoding 'binary' (since version 1.30), but should
have been 'base64' (CPAN RT#80529)
* Tue Jul 24 2012 Paul Howarth <paul@city-fan.org> - 1.35-1
- Update to 1.35:
- Explain how to use MIME::Types in mod_perl; when you do not read the
documentation about mod_perl/fork it will work as always, but
inefficiently
- subType() did not handle subType's with '+' in them
- Added video/webm and audio/webm, although not (yet) IANA registered
- BR: perl(Carp) and perl(Exporter)
- BR: at least version 1.00 of perl(Test::Pod)
- Use a patch rather than scripted iconv to fix character encooding
- Don't need to remove empty directories from the buildroot
- Drop %%defattr, redundant since rpm 4.4
- Use %%{_fixperms} macro rather than our own chmod incantation
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Don't use macros for commands
- Make %%files list more explicit
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.31-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-11 21:20:14 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.31-4
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.31-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-19 18:11:37 +00:00
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.31-2
- Perl mass rebuild
* Tue Mar 15 2011 Paul Howarth <paul@city-fan.org> - 1.31-1
- Update to 1.31:
- Added zillions of new types from debian's /etc/mime.types
- Changed table format, hopefully to speed-up load times per type, slightly
compensating for the increased list
- Fix typo (CPAN RT#55655)
- xlsx must be encoded binary
- Added f4v, f4p, f4a, f4b extensions for mpeg4 (CPAN RT#55168)
- Moved POD test to xt directory, reducing the number of dependencies
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.28-4
2011-03-15 12:57:28 +00:00
- Rebuild to fix problems with vendorarch/lib (#661697)
2010-05-03 06:37:01 +00:00
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.28-3
- Mass rebuild with perl-5.12.0
2009-12-07 02:23:02 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.28-2
- rebuild against perl 5.10.1
2009-10-07 13:15:52 +00:00
* Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.28-1
- new upstream version
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-03-13 21:51:35 +00:00
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.27-1
- update to 1.27
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-20 23:18:13 +00:00
* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.24-1
- update to 1.24
2008-02-28 13:11:31 +00:00
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-3
- Rebuild for perl 5.10 (again)
2008-01-20 19:19:52 +00:00
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-2
- rebuild for new perl
2007-12-19 18:12:24 +00:00
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-1
- bump to 1.23
2007-08-26 18:49:04 +00:00
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-2
- license tag fix
2007-06-12 22:09:35 +00:00
* Wed Jun 13 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.20-1
- 1.20.
- Convert docs to UTF-8.
2007-04-18 17:49:16 +00:00
* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-2
- BuildRequire perl(Test::More).
* Mon Mar 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-1
- 1.19.
- BuildRequire perl(ExtUtils::MakeMaker).
2006-11-22 16:35:15 +00:00
* Wed Nov 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.18-1
- 1.18.
2006-09-15 16:27:43 +00:00
* Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-2
- Rebuild.
2006-08-15 08:43:01 +00:00
* Tue Aug 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-1
- 1.17.
2005-10-02 19:53:58 +00:00
* Sun Oct 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.16-1
- 1.16.
2005-04-01 20:32:18 +00:00
* Fri Apr 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.15-2
- 1.15.
* Tue May 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.3
- Require perl(:MODULE_COMPAT_*) (bug 1649).
* Mon May 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.2
- Sync with IANA 20040517.
- Require perl >= 1:5.6.1 for vendor install dir support.
- Use pure_install to avoid perllocal.pod workarounds.
* Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1
- Update to 1.13 + IANA 20040424.
* Sun Feb 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.2
- Reduce directory ownership bloat.
* Wed Jan 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
- Update to 1.12.
* Wed Jan 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
- Update to 1.11.
* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.2
- BuildRequires perl(Test::More).
* Fri Dec 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
- Update to 1.10.
* Thu Nov 6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
- Update to 1.09.
* Tue Nov 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
- Update to 1.08.
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.2
- Install into vendor dirs.
- Don't use fedora-rpm-helper.
- Specfile cleanup.
* Wed Jul 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
- Update to 1.07.
- Use fedora-rpm-helper.
* Tue Jun 24 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
- First build.