diff --git a/.cvsignore b/.cvsignore index e69de29..86f95b4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MIME-Types-1.13.tar.gz diff --git a/perl-MIME-Types-iana040517.patch b/perl-MIME-Types-iana040517.patch new file mode 100644 index 0000000..089c8b1 --- /dev/null +++ b/perl-MIME-Types-iana040517.patch @@ -0,0 +1,64 @@ +--- lib/MIME/Types.pm.orig 2004-04-24 01:15:31.000000000 +0300 ++++ lib/MIME/Types.pm 2004-05-17 21:53:37.000000000 +0300 +@@ -398,7 +398,7 @@ + application/vnd.liberty-request+xml + application/vnd.llamagraphics.life-balance.desktop lbd + application/vnd.llamagraphics.life-balance.exchange+xml lbe +-application/vnd.lotus-1-2-3 wks ++application/vnd.lotus-1-2-3 wks,123 + application/vnd.lotus-approach + application/vnd.lotus-freelance + application/vnd.lotus-notes +@@ -448,12 +448,16 @@ + application/vnd.noblenet-directory + application/vnd.noblenet-sealer + application/vnd.noblenet-web ++application/vnd.nokia.landmarkcollection+xml + application/vnd.nokia.radio-preset rpst + application/vnd.nokia.radio-presets rpss + application/vnd.novadigm.EDM + application/vnd.novadigm.EDX + application/vnd.novadigm.EXT + application/vnd.obn ++application/vnd.omads-email+xml ++application/vnd.omads-file+xml ++application/vnd.omads-folder+xml + application/vnd.osa.netdeploy + application/vnd.palm prc,pdb,pqa,oprc + application/vnd.paos.xml +@@ -493,8 +497,10 @@ + application/vnd.sss-dtf + application/vnd.sss-ntf + application/vnd.street-stream ++application/vnd.sus-calendar sus,susp + application/vnd.svd + application/vnd.swiftview-ics ++application/vnd.syncml.ds.notification + application/vnd.triscape.mxs + application/vnd.trueapp + application/vnd.truedoc +@@ -545,6 +551,7 @@ + application/whoispp-query + application/whoispp-response + application/wita ++application/wordperfect5.1 wp5,wp + application/x-123 wk + application/x-access + application/x-bcpio bcpio +@@ -587,7 +594,7 @@ + application/x-lotus-123 + application/x-mac-compactpro cpt + application/x-maker frm,maker,frame,fm,fb,book,fbdoc +-application/x-mathcad mcd ++application/x-mathcad + application/x-mif mif + application/xml + application/xml-dtd +@@ -631,7 +638,6 @@ + application/x-wais-source src + application/x-Wingz wz + application/x-word base64 +-application/x-wordperfect5.1 wp5,wp + application/x-wordperfect6.1 wp6 + application/x-x400-bp + application/x-x509-ca-cert crt base64 diff --git a/perl-MIME-Types.spec b/perl-MIME-Types.spec new file mode 100644 index 0000000..e4064d5 --- /dev/null +++ b/perl-MIME-Types.spec @@ -0,0 +1,106 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-MIME-Types +Version: 1.13 +Release: 0.fdr.3.rh80 +Epoch: 0 +Summary: MIME types module for Perl + +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MIME-Types/ +Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-1.13.tar.gz +Patch0: %{name}-iana040517.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1, perl(Test::More) +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, +so the list is long but not complete. Please don't hestitate to ask to +add additional information. + + +%prep +%setup -q -n MIME-Types-%{version} +%patch0 -p0 + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorlib}/MIME +%{_mandir}/man3/*.3* + + +%changelog +* Tue May 25 2004 Ville Skyttä - 0:1.13-0.fdr.3 +- Require perl(:MODULE_COMPAT_*) (bug 1649). + +* Mon May 17 2004 Ville Skyttä - 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ä - 0:1.13-0.fdr.1 +- Update to 1.13 + IANA 20040424. + +* Sun Feb 1 2004 Ville Skyttä - 0:1.12-0.fdr.2 +- Reduce directory ownership bloat. + +* Wed Jan 21 2004 Ville Skyttä - 0:1.12-0.fdr.1 +- Update to 1.12. + +* Wed Jan 14 2004 Ville Skyttä - 0:1.11-0.fdr.1 +- Update to 1.11. + +* Wed Dec 31 2003 Ville Skyttä - 0:1.10-0.fdr.2 +- BuildRequires perl(Test::More). + +* Fri Dec 19 2003 Ville Skyttä - 0:1.10-0.fdr.1 +- Update to 1.10. + +* Thu Nov 6 2003 Ville Skyttä - 0:1.09-0.fdr.1 +- Update to 1.09. + +* Tue Nov 4 2003 Ville Skyttä - 0:1.08-0.fdr.1 +- Update to 1.08. + +* Sat Oct 11 2003 Ville Skyttä - 0:1.07-0.fdr.2 +- Install into vendor dirs. +- Don't use fedora-rpm-helper. +- Specfile cleanup. + +* Wed Jul 30 2003 Ville Skyttä - 0:1.07-0.fdr.1 +- Update to 1.07. +- Use fedora-rpm-helper. + +* Tue Jun 24 2003 Ville Skyttä - 0:1.06-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..473f252 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +04c6554f73307628aa87e7ddba8861d8 MIME-Types-1.13.tar.gz