Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37890131
en ru br
ALT Linux repos
5.0: 0.28-alt1
4.1: 0.28-alt0.0.M41.1
4.0: 0.17-alt1
3.0: 0.7-alt1

Group :: Development/Python
RPM: python-module-gammu

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define name python-module-gammu
%define source_name python-gammu
%define version 0.28
%define gammu_version 1.22.1
%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 alt0.0.M41.1
%endif

%setup_python_module python-gammu

Name: %name
Version: %version
Release: %release

Summary: Python module to communicate with mobile phones
License: GPL
Group: Development/Python

Url: http://www.cihar.com/gammu/python
%if %cvs_build
Source0: %cvs_name.tar
%else
Source0: %source_name-%version.tar
%endif
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
%python_site_packages_dir/gammu
%doc README AUTHORS COPYING PKG-INFO examples

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin