auth_ldap-vl.spec 2.5 KB

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