perl-Crypt-PasswdMD5-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: perl-Crypt-PasswdMD5
  2. Version: 1.3
  3. Release: 7%{?_dist_release}
  4. Summary: Provides interoperable MD5-based crypt() functions
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Crypt-PasswdMD5/
  8. Source0: http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: %{_bindir}/iconv
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This package provides MD5-based crypt() functions
  18. %prep
  19. %setup -q -n Crypt-PasswdMD5-%{version}
  20. %{_bindir}/iconv -f iso-8859-1 -t utf-8 -o PasswdMD5.pm.new PasswdMD5.pm && mv PasswdMD5.pm.new PasswdMD5.pm
  21. %{__sed} -i -e 's/ISO-8859-1/UTF-8/' PasswdMD5.pm
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  28. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  29. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  30. chmod -R u+w $RPM_BUILD_ROOT/*
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %check
  34. make test
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc README
  38. %{perl_vendorlib}/Crypt
  39. %{_mandir}/man3/*
  40. %changelog
  41. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3-7
  42. - rebuilt with perl 5.16.3
  43. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.3-6vl6
  44. - build with perl 5.12.3
  45. - add Vendor and Distribution tags
  46. * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-5
  47. - do not require perl(:MODULE_COMPAT_x.y.z) on Vine Linux 4.x
  48. * Sat May 31 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3-4
  49. - initial build for Vine Linux
  50. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-3.1
  51. - Rebuild for new perl
  52. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-2.1
  53. - correct license tag
  54. - add BR: perl(ExtUtils::MakeMaker)
  55. * Tue Feb 27 2007 Mike McGrath <mmcgrath@redhat.com> - 1.3-2
  56. - Basic fixes (BZ 230228)
  57. * Tue Feb 27 2007 Mike McGrath <mmcgrath@redhat.com> - 1.3-1
  58. - Initial Packaging