Репозитории 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 |
Группа :: Разработка/Python
Пакет: python-module-ldap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 2.2.0
%define release alt2
%setup_python_module ldap
Summary: LDAP client API for Python
Name: %packagename
Version: %version
Release: %release
Source0: python-ldap-%version.tar.gz
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/
BuildRequires: libldap-devel 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 -q -n python-ldap-%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 можно просмотреть здесь
%define release alt2
%setup_python_module ldap
Summary: LDAP client API for Python
Name: %packagename
Version: %version
Release: %release
Source0: python-ldap-%version.tar.gz
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/
BuildRequires: libldap-devel 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 -q -n python-ldap-%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 можно просмотреть здесь