[521] | 1 | %define version 1.6.1 |
---|
| 2 | %define release 2%{?_dist_release} |
---|
| 3 | |
---|
| 4 | Summary: LDAP authentication module for Apache |
---|
| 5 | Name: auth_ldap |
---|
| 6 | Group: Applications/System |
---|
| 7 | License: Apache Software License |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
| 10 | Source: http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz |
---|
| 11 | Url: http://www.rudedog.org/auth_ldap/ |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: apache-devel |
---|
| 14 | # is need BR:apache? |
---|
| 15 | BuildRequires: apache |
---|
| 16 | BuildRequires: openldap-devel |
---|
| 17 | Requires: apache |
---|
| 18 | Obsoletes: mod_auth_ldap |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This is an authentication module for Apache that allows you to authenticate |
---|
| 22 | HTTP clients using user entries in an LDAP directory. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
---|
| 26 | |
---|
| 27 | %setup -q |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %configure --with-apxs=%{_sbindir}/apxs --with-ldap-sdk=openldap |
---|
| 31 | make |
---|
| 32 | |
---|
| 33 | %install |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | mkdir -p $RPM_BUILD_ROOT%{_libdir}/apache |
---|
| 36 | install -m755 auth_ldap.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_auth_ldap.so |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-,root,root) |
---|
| 43 | %{_libdir}/apache/mod_auth_ldap.so |
---|
| 44 | %doc *.html PROBLEMS |
---|
| 45 | |
---|
| 46 | %changelog |
---|
| 47 | * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-2 |
---|
| 48 | - rebuilt with openldap-2.4.16 |
---|
| 49 | |
---|
| 50 | * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-1vl5 |
---|
| 51 | - applied new versioning policy |
---|
| 52 | - changed library path to %%{_libdir}/apache |
---|
| 53 | |
---|
| 54 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-0vl1 |
---|
| 55 | - updated to 1.6.1 |
---|
| 56 | - rebuilt with new toolchains |
---|
| 57 | - s/Copyright/License/ |
---|
| 58 | |
---|
| 59 | * Sun Jan 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.6.0-3vl1 |
---|
| 60 | - updated to 1.6.0 |
---|
| 61 | - add apache-devel as a BuildPrereq (uses apxs) |
---|
| 62 | - change the package name to auth_ldap |
---|
| 63 | - add openldap-devel as a build prereq |
---|
| 64 | - changed Group and Copyright |
---|
| 65 | |
---|
| 66 | * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 1.4.3-1vl1 |
---|
| 67 | - build on Vine Linux |
---|
| 68 | - build with gcc-2.95.3 |
---|
| 69 | |
---|
| 70 | * Fri Sep 8 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 71 | - rename to mod_auth_ldap |
---|
| 72 | - move to the same group as other web server modules |
---|
| 73 | - patch to build in new environment |
---|
| 74 | |
---|
| 75 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 76 | - automatic rebuild |
---|
| 77 | |
---|
| 78 | * Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 79 | - update to 1.4.3 |
---|
| 80 | |
---|
| 81 | * Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 82 | - add openldap-devel as a build prereq |
---|
| 83 | |
---|
| 84 | * Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 85 | - 1.4.2 |
---|
| 86 | |
---|
| 87 | * Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 88 | - rebuild against Apache with EAPI (release 2) |
---|
| 89 | |
---|
| 90 | * Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 91 | - first build for Red Hat Linux 6.1 |
---|