|
@@ -0,0 +1,89 @@
|
|
|
|
+Name: perl-Apache-Htpasswd
|
|
|
|
+Version: 1.8
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Summary: Manage Unix crypt-style password file
|
|
|
|
+
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+License: GPL+ or Artistic
|
|
|
|
+URL: http://search.cpan.org/dist/Apache-Htpasswd/
|
|
|
|
+Source0: http://search.cpan.org/CPAN/authors/id/K/KM/KMELTZ/Apache-Htpasswd-%{version}.tar.gz
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
+
|
|
|
|
+BuildArch: noarch
|
|
|
|
+BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
+BuildRequires: perl(Crypt::PasswdMD5)
|
|
|
|
+BuildRequires: perl(Digest::SHA1)
|
|
|
|
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%description
|
|
|
|
+This module comes with a set of methods to use with htaccess password files.
|
|
|
|
+These files (and htaccess) are used to do Basic Authentication on a web server.
|
|
|
|
+The passwords file is a flat-file with login name and their associated
|
|
|
|
+encrypted password. You can use this for non-Apache files if you wish, but it
|
|
|
|
+was written specifically for .htaccess style files.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%setup -q -n Apache-Htpasswd-%{version}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%build
|
|
|
|
+%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%install
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
+chmod -R u+w %{buildroot}/*
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%check
|
|
|
|
+make test
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%files
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%doc README
|
|
|
|
+%{perl_vendorlib}/*
|
|
|
|
+%{_mandir}/man3/*.3*
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%changelog
|
|
|
|
+* Fri Mar 03 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
|
|
|
|
+- initial build for Vine Linux
|
|
|
|
+
|
|
|
|
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-9
|
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
+
|
|
|
|
+* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8-8
|
|
|
|
+- Perl mass rebuild
|
|
|
|
+
|
|
|
|
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-7
|
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
+
|
|
|
|
+* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-6
|
|
|
|
+- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
+
|
|
|
|
+* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-5
|
|
|
|
+- Mass rebuild with perl-5.12.0
|
|
|
|
+
|
|
|
|
+* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.8-4
|
|
|
|
+- rebuild against perl 5.10.1
|
|
|
|
+
|
|
|
|
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
+
|
|
|
|
+* Fri Mar 13 2009 Xavier Bachelot <xavier@bachelot.org> - 1.8-2
|
|
|
|
+- Use %%{version} macro in Source0.
|
|
|
|
+- Spelling fix in Description.
|
|
|
|
+
|
|
|
|
+* Tue Feb 12 2008 Xavier Bachelot <xavier@bachelot.org> - 1.8-1
|
|
|
|
+- Initial build.
|