1 Summary: LDAP Module for Python
2 Summary(pl): Modu³ LDAP dla Pythona
7 Group: Development/Libraries
8 Group(de): Entwicklung/Libraries
9 Group(es): Desarrollo/Bibliotecas
10 Group(fr): Development/Librairies
11 Group(pl): Programowanie/Biblioteki
12 Group(pt_BR): Desenvolvimento/Bibliotecas
13 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
14 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
15 Source0: http://prdownloads.sourceforge.net/python-ldap/%{name}-%{version}-src.tar.gz
16 Patch0: %{name}-openldap2.x.patch
17 Patch1: %{name}-Makefile.patch
18 Patch2: %{name}-no_ufn.patch
19 URL: http://python-ldap.sourceforge.net/
20 BuildRequires: python-devel >= 2.1
21 BuildRequires: openldap-devel >= 1.2.6
23 Requires: openldap >= 1.2.6
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Obsoletes: python-ldapmodule
29 %include /usr/lib/rpm/macros.python
32 This module provides access to the LDAP (C language) library.
35 Modu³ ten umo¿liwia dostêp do bibliotek LDAP.
44 # %%configure will not work!
45 CFLAGS="%{rpmcflags}" sh configure --prefix=%{_prefix}
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}}
52 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
53 install Demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
55 gzip -9fn README TODO ChangeLog Doc/_ldap/*
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc Doc/_ldap/*.gz *.gz
63 %dir %{py_sitedir}/%{name}/*.py?
64 %attr(755,root,root) %{py_sitedir}/*.so
66 %{_examplesdir}/%{name}