Группа :: Разработка/Python
Пакет: python-gammu
Главная Изменения Спек Патчи Загрузить Bugs and FR
%def_with M24
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: python-gammu
Version: 0.8
Release: %_release
Summary: Python module to communicate with mobile phones
License: GPL
Group: Development/Python
Url: http://www.cihar.com/gammu/python
Source0: %name-%version.tar.bz2
PreReq: python = %__python_version
Requires: libgammu >= 1.01.0
# Automatically added by buildreq on Sun Feb 15 2004 (-ba)
BuildRequires: glib2 pkgconfig
# added by hands
BuildRequires: python-devel >= %__python_version, libgammu-devel >= 1.01.0
%description
This provides Python gammu module, that can work with any phone Gammu
supports - many Nokias, Siemens, Alcatel, ...
%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%prep
%setup -q
%build
%__python setup.py build
%install
%__python setup.py install --root %buildroot
%files
%dir %python_site_packages_dir/gammu*
%doc README AUTHORS NEWS examples
%changelog
…
Полный changelog можно просмотреть здесь
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: python-gammu
Version: 0.8
Release: %_release
Summary: Python module to communicate with mobile phones
License: GPL
Group: Development/Python
Url: http://www.cihar.com/gammu/python
Source0: %name-%version.tar.bz2
PreReq: python = %__python_version
Requires: libgammu >= 1.01.0
# Automatically added by buildreq on Sun Feb 15 2004 (-ba)
BuildRequires: glib2 pkgconfig
# added by hands
BuildRequires: python-devel >= %__python_version, libgammu-devel >= 1.01.0
%description
This provides Python gammu module, that can work with any phone Gammu
supports - many Nokias, Siemens, Alcatel, ...
%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%prep
%setup -q
%build
%__python setup.py build
%install
%__python setup.py install --root %buildroot
%files
%dir %python_site_packages_dir/gammu*
%doc README AUTHORS NEWS examples
%changelog
…
Полный changelog можно просмотреть здесь