[521] | 1 | Name: perl-MIME-Types |
---|
[8706] | 2 | Version: 2.04 |
---|
[5876] | 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: MIME types module for Perl |
---|
| 5 | |
---|
| 6 | License: GPL or Artistic |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | URL: http://search.cpan.org/dist/MIME-Types/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
[5876] | 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
| 15 | BuildRequires: perl(Test::Pod) |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[521] | 17 | |
---|
| 18 | %description |
---|
| 19 | MIME types are used in MIME compliant lines, for instance as part of |
---|
| 20 | e-mail and HTTP traffic, to indicate the type of content which is |
---|
| 21 | transmitted. Sometimes real knowledge about a mime-type is need. |
---|
| 22 | This module maintains a set of MIME::Type objects, which each describe |
---|
| 23 | one known mime type. There are many types defined by RFCs and vendors, |
---|
| 24 | so the list is long but not complete. Please don't hestitate to ask to |
---|
| 25 | add additional information. |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n MIME-Types-%{version} |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 32 | make %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %install |
---|
[5876] | 36 | rm -rf %{buildroot} |
---|
| 37 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 38 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 39 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 40 | chmod -R u+w %{buildroot}/* |
---|
[521] | 41 | |
---|
| 42 | %check |
---|
| 43 | make test |
---|
[5876] | 44 | make test TEST_FILES="xt/*.t" |
---|
[521] | 45 | |
---|
| 46 | %clean |
---|
[5876] | 47 | rm -rf %{buildroot} |
---|
[521] | 48 | |
---|
| 49 | %files |
---|
| 50 | %defattr(-,root,root,-) |
---|
| 51 | %doc ChangeLog README |
---|
| 52 | %{perl_vendorlib}/MIME/ |
---|
| 53 | %{_mandir}/man3/MIME::Type*.3* |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %changelog |
---|
[8706] | 57 | * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-1 |
---|
| 58 | - update to 2.0.4 |
---|
| 59 | |
---|
[5876] | 60 | * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.31-1 |
---|
| 61 | - updated to 1.31 |
---|
| 62 | |
---|
[3739] | 63 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-3 |
---|
| 64 | - rebuild with perl-5.12.3 |
---|
| 65 | |
---|
[521] | 66 | * Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.19-2vl1 |
---|
| 67 | - Initial build for Vine Linux |
---|
| 68 | |
---|
| 69 | * Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-2 |
---|
| 70 | - BuildRequire perl(Test::More). |
---|
| 71 | |
---|
| 72 | * Mon Mar 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-1 |
---|
| 73 | - 1.19. |
---|
| 74 | - BuildRequire perl(ExtUtils::MakeMaker). |
---|
| 75 | |
---|
| 76 | * Wed Nov 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.18-1 |
---|
| 77 | - 1.18. |
---|
| 78 | |
---|
| 79 | * Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-2 |
---|
| 80 | - Rebuild. |
---|
| 81 | |
---|
| 82 | * Tue Aug 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-1 |
---|
| 83 | - 1.17. |
---|
| 84 | |
---|
| 85 | * Sun Oct 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.16-1 |
---|
| 86 | - 1.16. |
---|
| 87 | |
---|
| 88 | * Fri Apr 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.15-2 |
---|
| 89 | - 1.15. |
---|
| 90 | |
---|
| 91 | * Tue May 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.3 |
---|
| 92 | - Require perl(:MODULE_COMPAT_*) (bug 1649). |
---|
| 93 | |
---|
| 94 | * Mon May 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.2 |
---|
| 95 | - Sync with IANA 20040517. |
---|
| 96 | - Require perl >= 1:5.6.1 for vendor install dir support. |
---|
| 97 | - Use pure_install to avoid perllocal.pod workarounds. |
---|
| 98 | |
---|
| 99 | * Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1 |
---|
| 100 | - Update to 1.13 + IANA 20040424. |
---|
| 101 | |
---|
| 102 | * Sun Feb 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.2 |
---|
| 103 | - Reduce directory ownership bloat. |
---|
| 104 | |
---|
| 105 | * Wed Jan 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1 |
---|
| 106 | - Update to 1.12. |
---|
| 107 | |
---|
| 108 | * Wed Jan 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1 |
---|
| 109 | - Update to 1.11. |
---|
| 110 | |
---|
| 111 | * Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.2 |
---|
| 112 | - BuildRequires perl(Test::More). |
---|
| 113 | |
---|
| 114 | * Fri Dec 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1 |
---|
| 115 | - Update to 1.10. |
---|
| 116 | |
---|
| 117 | * Thu Nov 6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1 |
---|
| 118 | - Update to 1.09. |
---|
| 119 | |
---|
| 120 | * Tue Nov 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1 |
---|
| 121 | - Update to 1.08. |
---|
| 122 | |
---|
| 123 | * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.2 |
---|
| 124 | - Install into vendor dirs. |
---|
| 125 | - Don't use fedora-rpm-helper. |
---|
| 126 | - Specfile cleanup. |
---|
| 127 | |
---|
| 128 | * Wed Jul 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1 |
---|
| 129 | - Update to 1.07. |
---|
| 130 | - Use fedora-rpm-helper. |
---|
| 131 | |
---|
| 132 | * Tue Jun 24 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1 |
---|
| 133 | - First build. |
---|