Группа :: Разработка/Python
Пакет: python-module-pybluez
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define modulename pybluez
Name: python-module-pybluez
Version: 0.9.2
Release: alt1.1
Summary: A Python module for the Bluez library
Group: Development/Python
License: GPL
Url: http://org.csail.mit.edu/pybluez/
Packager: L.A. Kostis <lakostis at altlinux.ru>
%setup_python_module pybluez
Source: %modulename-%version.tar
Requires: libbluez
Requires: python = %__python_version
BuildRequires(pre): libbluez-devel, python-devel = %__python_version
%description
PyBluez is an effort to create python wrappers around bluez to allow python
developers to use system bluetooth resources.
%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%prep
%setup -q -n %modulename-%version
%build
export CFLAGS="%optflags"
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --optimize=2
%files
%python_site_packages_dir
%doc README CHANGELOG COPYING
%changelog
…
Полный changelog можно просмотреть здесь
Name: python-module-pybluez
Version: 0.9.2
Release: alt1.1
Summary: A Python module for the Bluez library
Group: Development/Python
License: GPL
Url: http://org.csail.mit.edu/pybluez/
Packager: L.A. Kostis <lakostis at altlinux.ru>
%setup_python_module pybluez
Source: %modulename-%version.tar
Requires: libbluez
Requires: python = %__python_version
BuildRequires(pre): libbluez-devel, python-devel = %__python_version
%description
PyBluez is an effort to create python wrappers around bluez to allow python
developers to use system bluetooth resources.
%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%prep
%setup -q -n %modulename-%version
%build
export CFLAGS="%optflags"
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --optimize=2
%files
%python_site_packages_dir
%doc README CHANGELOG COPYING
%changelog
…
Полный changelog можно просмотреть здесь