Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 36923578
en ru br
Репозитории ALT
5.1: 2.3.9-alt1
4.1: 2.3-alt1.1
4.0: 2.2.0-alt2
3.0: 2.0.7-alt1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-ldap

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname python-ldap

Summary: LDAP client API for Python
Name: python-module-ldap
Version: 2.3.9
Release: alt1
Source0: %oname-%version.tar
Source1: python-ldap-docs-2.0.3.pdf
Patch2:  python-ldap-2.0.11-config.patch
License: Python-style license
Group: Development/Python
Url: http://python-ldap.sourceforge.net/

BuildPreReq: python-devel = 2.5
BuildPreReq: rpm-build-python >= 0.8
BuildRequires: libldap-devel >= 2.3 libssl-devel

Obsoletes: python-ldap
Packager: Python Development Team <python at packages.altlinux.org>

%description
python-ldap provides an object-oriented API to access LDAP
directory servers from Python programs. Mainly it wraps the
OpenLDAP 2.x libs for that purpose.

Additionally the package contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.).

%prep
%setup -n %oname-%version
#patch2 -p1
%__install -m 644 %SOURCE1 python-ldap.lib.pdf

%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build

%install
%__python setup.py install \
         --root=%buildroot \
 --optimize=2 \
 --record=INSTALLED_FILES

%clean

%files -f INSTALLED_FILES
%doc LICENCE CHANGES README TODO Demo Tests python-ldap.lib.pdf

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin