perl-MD5-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Name: perl-MD5
  2. Version: 2.03
  3. Release: 9%{?_dist_release}
  4. Summary: Perl interface to the MD5 Message-Digest Algorithm
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/MD5/
  8. Source0: http://www.cpan.org/modules/by-module/MD5/MD5-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. This module (MD5.pm) is just a thin wrapper around the Digest::MD5
  17. module. It is provided so that legacy code that rely on the old
  18. interface continue to work with the speed benefit of the new module.
  19. %prep
  20. %setup -q -n MD5-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf %{buildroot}
  26. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  27. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  28. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  29. %{_fixperms} %{buildroot}/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc Changes README
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.03-9
  41. - build for Vine Linux
  42. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-8
  43. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  44. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.03-7
  45. - 661697 rebuild for fixing problems with vendorach/lib
  46. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.03-6
  47. - Mass rebuild with perl-5.12.0
  48. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.03-5
  49. - rebuild against perl 5.10.1
  50. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-4
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  52. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-3
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  54. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03-2.1
  55. Rebuild for new perl
  56. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.03-1.1
  57. - correct license tag
  58. - add BR: perl(ExtUtils::MakeMaker)
  59. * Wed Oct 25 2006 Andreas Thienemann <andreas@bawue.net> 2.03-1
  60. - Specfile autogenerated by cpanspec 1.69.