perl-MIME-Lite-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: perl-MIME-Lite
  2. Version: 3.01
  3. Release: 5vl1
  4. Summary: MIME::Lite - low-calorie MIME generator
  5. Group: Development/Libraries
  6. License: GPL or Artistic
  7. URL: http://search.cpan.org/dist/MIME-Lite/
  8. Source0: http://www.cpan.org/authors/id/Y/YV/YVES/MIME-Lite-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl >= 1:5.6.1
  12. BuildRequires: perl-MIME-Types
  13. Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)
  14. %description
  15. MIME::Lite is intended as a simple, standalone module for generating (not
  16. parsing!) MIME messages... specifically, it allows you to output a simple,
  17. decent single- or multi-part message with text or binaryattachments. It does
  18. not require that you have the Mail:: or MIME:: modules installed.
  19. %prep
  20. %setup -q -n MIME-Lite-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  27. find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
  28. -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
  29. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  30. %check || :
  31. make test
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc changes.pod README examples contrib
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*.3*
  39. %changelog
  40. * Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.01-5vl1
  41. - Initial build for Vine Linux
  42. * Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> 3.01-5
  43. - Rebuild
  44. * Thu Mar 30 2006 Mike McGrath <imlinux@gmail.com> 3.01-4
  45. - New maintainer
  46. * Thu Jun 23 2005 Ralf Corsepius <ralf@links2linux.de> 3.01-3
  47. - Add %%{dist}.
  48. * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 3.01-2
  49. - Review suggestions from José Pedro Oliveira
  50. * Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 3.01-1
  51. - Initial packageing.