File perl-Apache-AuthNetLDAP.spec of Package perl-Apache-AuthNetLDAP
#
# spec file for package perl-Apache-AuthNetLDAP (Version 0.29)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: perl-Apache-AuthNetLDAP
BuildRequires: apache2-devel apache2-mod_perl libapr-util1-devel pcre-devel perl-ldap
Version: 0.29
Release: 4
%define zver 0.07
Provides: Apache-AuthNetLDAP
Requires: apache2
Requires: apache2-mod_perl perl-ldap perl-Convert-ASN1 perl-URI
Requires: perl = %{perl_version}
Conflicts: perlmod
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
URL: http://cpan.org/modules/by-module/Apache/
Summary: use Net::LDAP for user authentication in Apache
Source0: Apache-AuthNetLDAP-%{version}.tar.gz
Source1: Apache-AuthzNetLDAP-%{zver}.tar.gz
Patch0: Apache-AuthNetLDAP-%{version}-apache2.diff
Patch10: Apache-AuthzNetLDAP-%{zver}-apache2.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Apache::AuthNetLDAP - mod_perl module that uses the Net::LDAP module
for user authentication for Apache. This module authenticates users
via LDAP using the Net::LDAP module. This module is Graham Barr's
"pure" Perl LDAP API. It also uses all of the same parameters as the
Apache::AuthPerLDAP, but I have added two extra parameters.
Authors:
--------
Mark Wilcox <mewilcox@unt.edu>
%prep
%setup -n %{name}-%{version} -q -b0 -b1 -c
%patch0
%patch10
%build
for i in Apache-AuthNetLDAP-%{version} Apache-AuthzNetLDAP-%{zver} ; do
cd $i
install -d -m755 lib/Apache
mv *.pm lib/Apache
cat MANIFEST | sed s/^.*pm$/lib\\/Apache\\/\&/ >MANIFEST.tmp
mv MANIFEST.tmp MANIFEST
perl Makefile.PL
make
make test
cd -
done
%install
rm -rf $RPM_BUILD_ROOT
for i in Apache-AuthNetLDAP-%{version} Apache-AuthzNetLDAP-%{zver} ; do
cd $i
%perl_make_install
cd -
done
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc Apache-AuthNetLDAP-%{version}/Changes
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Apache
%{perl_vendorlib}/auto/Apache
%{perl_vendorarch}/auto/Apache-AuthNetLDAP
%{perl_vendorarch}/auto/Apache-AuthzNetLDAP
/var/adm/perl-modules/%{name}
%changelog -n perl-Apache-AuthNetLDAP
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 - mjancar@suse.cz
- fix for apache2
* Fri Aug 13 2004 - mjancar@suse.cz
- update to 0.29
* Tue Jun 15 2004 - ro@suse.de
- updated requires
* Wed May 05 2004 - mjancar@suse.cz
- update neededforbuild
* Wed Oct 22 2003 - mjancar@suse.cz
- update to 0.26
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Thu Jul 24 2003 - mjancar@suse.cz
- update Apache-AuthNetLDAP to 0.25
- update Apache-AuthzNetLDAP to 0.07
* Tue Jul 22 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 23 2003 - ro@suse.de
- added directories to filelist
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Mon Jul 22 2002 - prehak@suse.cz
- doesn't require any specific apache version,
simply require apache [#16775]
* Tue Jul 09 2002 - prehak@suse.cz
- updated to version 0.19
- Apache-AuthzNetLDAP updated to 03
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Mon Nov 05 2001 - poeml@suse.de
- use apache-devel-packages macro in #neededforbuild
(expat.rpm is needed by apxs)
* Fri Feb 23 2001 - ro@suse.de
- changed neededforbuild <apache> to <apache apache-devel>
* Tue Nov 21 2000 - rolf@suse.de
- extracted from perlmod package
- update to authnetldap.018