Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37731232
en ru br
Репозитории ALT
4.1: 0.28-alt0.0.M41.1
4.0: 0.17-alt1
3.0: 0.7-alt1
www.altlinux.org/Changes

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

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

%define name python-module-gammu
%define source_name python-gammu
%define version 0.17
%define gammu_version 1.09.00
%define cvs_date  %nil
%define cvs_patch %nil
#define cvs_name python-gammu--devel--1--patch-%cvs_patch
%define cvs_build 0
%if %cvs_build
%define release alt0.cvs%cvs_date
%else
%define release alt1
%endif

%setup_python_module python-gammu

Summary: Python module to communicate with mobile phones
Name: %name
Version: %version
Release: %release
%if %cvs_build
Source0: %cvs_name.tar
%else
Source0: %source_name-%version.tar
%endif
License: GPL
Group: Development/Python
Url: http://www.cihar.com/gammu/python

Packager: L.A. Kostis <lakostis at altlinux.ru>

Obsoletes: python-gammu
Requires: libgammu = %gammu_version

Requires: python = %__python_version
BuildRequires(pre): python-devel = %__python_version
# Automatically added by buildreq on Sat Apr 02 2005
BuildRequires: glib2 libgammu-devel pkgconfig

%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
%if %cvs_build
%setup -q -n %cvs_name
find . -name .arch* | xargs %__rm -rf
%__rm -f ,,index*
%else
%setup -q -n %source_name-%version
%endif

%build
%__python setup.py build

%install
%__python setup.py install --root %buildroot

%files
%dir %python_site_packages_dir/gammu*
%doc README AUTHORS COPYING NEWS examples

%changelog

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

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