Package python-module-libasyncns: Specfile

Name: python-module-libasyncns
Version: 0.7
Release: alt1.1

Summary: libasyncns bindings for Python
License: LGPLv2.1
Group: Development/Python
Url: http://launchpad.net/libasyncns-python/
Packager: Alex V. Myltsev <avm@altlinux.ru>

Source: libasyncns-python-%version.tar

BuildRequires: python-devel libasyncns-devel >= 0.4

%description
Python binding for the libasyncns asynchronous name service query.

%prep
%setup -n libasyncns-python-%version
subst '/CFLAGS.*PYTHON_CONFIG/s,=.*,=-isystem %python_includedir,' Makefile
subst '/LDFLAGS.*PYTHON_CONFIG/s,=.*,=-lpython%__python_version,' Makefile

%build
%make
%make doc

%install
install -D libasyncns.so %buildroot%python_sitelibdir/libasyncns.so

%files
%python_sitelibdir/libasyncns.so
%doc README test doc/libasyncns.html

%changelog
* Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7-alt1.1
- Rebuilt with python 2.6

* Thu Jan 01 2009 Alexander Myltsev <avm@altlinux.org> 0.7-alt1
- New version.

* Sun Aug 03 2008 Alexander Myltsev <avm@altlinux.org> 0.1-alt1
- Initial build for Sisyphus.