perl-MailTools-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Summary: a set of perl modules related to mail applications
  2. Summary(ja): メールアプリケーション関連の Perl モジュールセット
  3. Name: perl-MailTools
  4. Version: 2.20
  5. Release: 1%{_dist_release}
  6. License: Artistic
  7. Group: Development/Libraries
  8. Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
  9. Source1: filter-requires-MailTools.sh
  10. Url: http://search.cpan.org/author/MARKOV/MailTools/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: perl >= 5.8.0
  13. BuildRequires: perl-TimeDate
  14. Requires: perl >= 5.8.0
  15. Requires: perl-TimeDate
  16. BuildArch: noarch
  17. %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
  18. %define __find_requires %{SOURCE1}
  19. %else
  20. %define __perl_requires %{SOURCE1}
  21. %endif
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This is MailTools, a set of perl modules related to mail applications.
  26. %description -l ja
  27. MailTools は、メールアプリケーション関連の Perl モジュールセットです。
  28. %prep
  29. %setup -q -n MailTools-%{version}
  30. %build
  31. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
  32. make
  33. %check
  34. make test
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT%{_prefix}
  40. make DESTDIR=$RPM_BUILD_ROOT install
  41. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  42. sed "s@^$RPM_BUILD_ROOT@@g" |
  43. grep -v ^%{_mandir} |
  44. grep -v perllocal.pod |
  45. grep -v "\.packlist" > %{name}.files
  46. if [ "$(cat %{name}.files)X" = "X" ] ; then
  47. echo "ERROR: EMPTY FILE LIST"
  48. exit -1
  49. fi
  50. find %{buildroot}%{_prefix} -type f -name 'perllocal.pod' -delete
  51. find %{buildroot}%{_prefix} -type f -name '.packlist' -delete
  52. %files -f %{name}.files
  53. %defattr(-,root,root)
  54. %doc ChangeLog README README.demos examples
  55. %{_mandir}/man3/*
  56. %dir %{perl_vendorlib}/Mail
  57. %dir %{perl_vendorlib}/Mail/Field
  58. %dir %{perl_vendorlib}/Mail/Mailer
  59. %changelog
  60. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.20-1
  61. - new upstream release.
  62. - rebuilt with perl-5.26.
  63. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-1
  64. - new upstream release.
  65. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1
  66. - new upstream release
  67. - add requires filter (Source1)
  68. - add Vendor and Distribution tags
  69. - drop defined perl_vendorlib macro
  70. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.04-2
  71. - spec in utf-8
  72. * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.04-1
  73. - new upstream release.
  74. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.03-1
  75. - new upstream release.
  76. - built with perl-5.10.0.
  77. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1
  78. - new upstream release
  79. - changed Group to Development/Libraries
  80. * Thu Sep 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.67-0vl1
  81. - new upstream release
  82. - s/Copyright/License/
  83. - use vendor_perl dir
  84. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.65-0vl1
  85. - new upstream release
  86. - build on perl-5.8.6-0vl1
  87. - update {Build,}Requires
  88. - add Japanese Summary and description
  89. * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 1.58-0vl1
  90. - version up to 1.58
  91. - build with perl-5.8.0
  92. * Sun Aug 25 2002 IWAI Masaharu <iwai@alib.jp> 1.48-0vl1
  93. - first build for Vine Linux