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