1 %define modname ldap_integration
2 Summary: Drupal LDAP Integration Module
3 Name: drupal-mod-%{modname}
7 Group: Applications/WWW
8 Source0: http://wiki.pablobm.com/images/5/51/Ldap_integration-%{version}.tar.gz
9 # Source0-md5: ab190ffb43d8365de411b17354e94bb1
10 URL: http://drupal.org/node/15109
11 Requires: drupal >= 4.6.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _sysconfdir /etc/drupal
17 %define _drupaldir %{_datadir}/drupal
18 %define _moddir %{_drupaldir}/modules
21 This module allows users to authenticate against a LDAP directory.
22 Additionally, users can read and modify their data in the LDAP directory, being
23 the administrator able to limit it.
26 %setup -q -n %{modname}-%{version}
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_moddir}
32 cp -a *.module $RPM_BUILD_ROOT%{_moddir}
33 cp -a %{modname} $RPM_BUILD_ROOT%{_moddir}
36 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)