]>
Commit | Line | Data |
---|---|---|
3c929fed ER |
1 | %define modname ldap_integration |
2 | Summary: Drupal LDAP Integration Module | |
938c3908 | 3 | Summary(pl.UTF-8): Moduł intergracji z LDAP dla Drupala |
3c929fed ER |
4 | Name: drupal-mod-%{modname} |
5 | Version: 4.6.0 | |
6 | Release: 0.1 | |
7 | License: ? | |
8 | Group: Applications/WWW | |
9 | Source0: http://wiki.pablobm.com/images/5/51/Ldap_integration-%{version}.tar.gz | |
10 | # Source0-md5: ab190ffb43d8365de411b17354e94bb1 | |
11 | URL: http://drupal.org/node/15109 | |
12 | Requires: drupal >= 4.6.0 | |
baf757ac | 13 | Requires: php(ldap) |
3c929fed ER |
14 | BuildArch: noarch |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _sysconfdir /etc/drupal | |
18 | %define _drupaldir %{_datadir}/drupal | |
19 | %define _moddir %{_drupaldir}/modules | |
20 | ||
21 | %description | |
22 | This module allows users to authenticate against a LDAP directory. | |
a7b05066 JB |
23 | Additionally, users can read and modify their data in the LDAP |
24 | directory, being the administrator able to limit it. | |
25 | ||
acde9b6a JR |
26 | %description -l pl.UTF-8 |
27 | Ten moduł pozwala użytkownikom uwierzytelniać się względem katalogu | |
28 | LDAP. Ponadto użytkownicy mogą czytać i modyfikować swoje dane w | |
29 | katalogu LDAP, przy czym administrator może to prawo ograniczyć. | |
3c929fed ER |
30 | |
31 | %prep | |
32 | %setup -q -n %{modname}-%{version} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_moddir} | |
37 | ||
38 | cp -a *.module $RPM_BUILD_ROOT%{_moddir} | |
39 | cp -a %{modname} $RPM_BUILD_ROOT%{_moddir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
3c929fed ER |
44 | %files |
45 | %defattr(644,root,root,755) | |
46 | %{_moddir}/*.module | |
47 | %{_moddir}/%{modname} |