Группа :: Разработка/Python
Пакет: python-gammu
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define name python-gammu
%define version 0.6
%define release alt1.1
Summary: Python module to communicate with mobile phones
Name: %name
Version: %version
Release: %release.1
Source0: %name-%version.tar.bz2
Patch: %{name}_CAL_RECURRANCE.patch
License: GPL
Group: Development/Python
Url: http://www.cihar.com/gammu/python
PreReq: python = %__python_version
Requires: libgammu >= 0.97.7
# Automatically added by buildreq on Sun Feb 15 2004 (-ba)
BuildRequires: glib2 pkgconfig
# added by hands
BuildRequires: python-devel >= %__python_version, libgammu-devel >= 0.97.7
%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
%patch -p1
%build
%__python setup.py build
%install
%__python setup.py install --root %buildroot
%files
%dir %python_site_packages_dir/gammu*
%doc ChangeLog README AUTHORS COPYING NEWS examples
%changelog
…
Полный changelog можно просмотреть здесь
%define version 0.6
%define release alt1.1
Summary: Python module to communicate with mobile phones
Name: %name
Version: %version
Release: %release.1
Source0: %name-%version.tar.bz2
Patch: %{name}_CAL_RECURRANCE.patch
License: GPL
Group: Development/Python
Url: http://www.cihar.com/gammu/python
PreReq: python = %__python_version
Requires: libgammu >= 0.97.7
# Automatically added by buildreq on Sun Feb 15 2004 (-ba)
BuildRequires: glib2 pkgconfig
# added by hands
BuildRequires: python-devel >= %__python_version, libgammu-devel >= 0.97.7
%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
%patch -p1
%build
%__python setup.py build
%install
%__python setup.py install --root %buildroot
%files
%dir %python_site_packages_dir/gammu*
%doc ChangeLog README AUTHORS COPYING NEWS examples
%changelog
…
Полный changelog можно просмотреть здесь