perl-Apache-Htpasswd-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: perl-Apache-Htpasswd
  2. Version: 1.9
  3. Release: 1%{?_dist_release}
  4. Summary: Manage Unix crypt-style password file
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Apache-Htpasswd/
  8. Source0: http://search.cpan.org/CPAN/authors/id/K/KM/KMELTZ/Apache-Htpasswd-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Crypt::PasswdMD5)
  13. BuildRequires: perl(Digest::SHA1)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. This module comes with a set of methods to use with htaccess password files.
  17. These files (and htaccess) are used to do Basic Authentication on a web server.
  18. The passwords file is a flat-file with login name and their associated
  19. encrypted password. You can use this for non-Apache files if you wish, but it
  20. was written specifically for .htaccess style files.
  21. %prep
  22. %setup -q -n Apache-Htpasswd-%{version}
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  29. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  30. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  31. chmod -R u+w %{buildroot}/*
  32. %check
  33. make test
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc README
  39. %{perl_vendorlib}/*
  40. %{_mandir}/man3/*.3*
  41. %changelog
  42. * Wed Dec 10 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9-1
  43. - updated to 1.9
  44. - built with perl 5.16.3
  45. * Fri Mar 03 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
  46. - initial build for Vine Linux
  47. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-9
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  49. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8-8
  50. - Perl mass rebuild
  51. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-7
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  53. * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-6
  54. - 661697 rebuild for fixing problems with vendorach/lib
  55. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-5
  56. - Mass rebuild with perl-5.12.0
  57. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.8-4
  58. - rebuild against perl 5.10.1
  59. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Fri Mar 13 2009 Xavier Bachelot <xavier@bachelot.org> - 1.8-2
  62. - Use %%{version} macro in Source0.
  63. - Spelling fix in Description.
  64. * Tue Feb 12 2008 Xavier Bachelot <xavier@bachelot.org> - 1.8-1
  65. - Initial build.