perl-MIME-Types-vl.spec 3.6 KB

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