perl-MIME-tools-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Summary: modules for parsing (and creating!) MIME entities with Perl
  2. Name: perl-MIME-tools
  3. Version: 5.509
  4. Release: 1%{_dist_release}
  5. License: Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/author/ERYQ/MIME-tools/
  8. Source0:http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/MIME-tools-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl >= 2:5.26.2
  12. BuildRequires: perl-IO-stringy
  13. BuildRequires: perl-MailTools
  14. BuildRequires: perl-Test-Deep
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Requires: perl-IO-stringy
  17. Requires: perl-MailTools
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. MIME-tools is a collection of Perl5 MIME:: modules for parsing,
  22. decoding, *and generating* single- or multipart (even nested multipart)
  23. MIME messages. (Yes, kids, that means you can send messages with
  24. attached GIF files).
  25. %prep
  26. %setup -q -n MIME-tools-%{version}
  27. %build
  28. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make pure_install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  34. sed "s@^$RPM_BUILD_ROOT@@g" |
  35. grep -v ^%{_mandir} |
  36. grep -v perllocal.pod |
  37. grep -v "\.packlist" > %{name}.files
  38. if [ "$(cat %{name}.files)X" = "X" ] ; then
  39. echo "ERROR: EMPTY FILE LIST"
  40. exit -1
  41. fi
  42. find $RPM_BUILD_ROOT%{_prefix} -type f -name ".packlist" -delete
  43. %check
  44. make test
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files -f %{name}.files
  48. %defattr(-,root,root)
  49. %license COPYING
  50. %doc ChangeLog MANIFEST README examples
  51. %{_mandir}/*/*
  52. %dir %{perl_vendorlib}/MIME
  53. %dir %{perl_vendorlib}/MIME/Parser
  54. %dir %{perl_vendorlib}/MIME/Decoder
  55. %dir %{perl_vendorlib}/MIME/Field
  56. %changelog
  57. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.509-1
  58. - new upstream release.
  59. - rebuilt with perl-5.26.
  60. * Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.505-2
  61. - moved to Development/Libraries package
  62. - added BR: perl-Test-Deep
  63. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.505-1
  64. - new upstream release.
  65. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.426-2
  66. - build with perl-5.12.3
  67. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.426-1
  68. - new upstream release.
  69. - built with perl-5.10.0.
  70. - moved files to %%{perl_vendorlib}.
  71. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 5.415-0vl1
  72. - new upstream release
  73. - build on perl-5.8.6-0vl1
  74. - drop unnecessary patch ( Patch0 )
  75. * Sat Nov 13 2004 IWAI, Masaharu <iwai@alib.jp> 5.411a-0vl4
  76. - SECURITY FIX: add empty boundary patch ( Patch0 )
  77. - http://lists.roaringpenguin.com/pipermail/mimedefang/2004-October/024959.html
  78. * Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl3
  79. - build with perl-5.8.0
  80. * Sun Nov 3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl2
  81. - update Summary and Description
  82. * Sun Nov 3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl1
  83. - first build for Vine Linux