perl-MIME-Lite-TT-vl.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. %define real_name MIME-Lite-TT
  2. Summary: TT enabled MIME::Lite wrapper
  3. Name: perl-%{real_name}
  4. Version: 0.02
  5. Release: 2%{?_dist_release}
  6. License: Artistic or GPL+
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/MIME-Lite-TT/
  9. Source: http://www.cpan.org/modules/by-module/MIME/MIME-Lite-TT-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(Test::More) >= 0.32
  13. BuildRequires: perl(MIME::Lite)
  14. BuildRequires: perl(Template)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. TT enabled MIME::Lite wrapper.
  20. %prep
  21. %setup -q -n %{real_name}-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf %{buildroot}
  27. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  28. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  29. find %{buildroot} -depth -type d -empty -exec rmdir ';'
  30. %check
  31. make test
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-, root, root, 0755)
  36. %doc Changes MANIFEST META.yml
  37. %{perl_vendorlib}/*
  38. %doc %{_mandir}/man3/*
  39. %changelog
  40. * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.02-2
  41. - rebuilt with perl 5.16.3
  42. * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.02-1
  43. - initial build for Vine Linux