source: projects/specs/trunk/p/perl-Apache-Htpasswd/perl-Apache-Htpasswd-vl.spec @ 5834

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