%define name wammu %define version 0.8 %define release 3mdk %define python_gammu_req 0.6 Summary: Mobile phone manager Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Communications Prefix: %{_prefix} Url: http://www.cihar.com/gammu/wammu Buildroot: %{_tmppath}/%name-%version-root Requires: wxPythonGTK, python-gammu >= %{python_gammu_req} BuildRequires: wxPythonGTK, python-gammu >= %{python_gammu_req} BuildArch: noarch %description Mobile phone manager using Gammu as it's backend. It works with any phone Gammu supports - many Nokia, Siemens, Alcatel, ... Written using wxGTK. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" SKIPWXCHECK=yes python setup.py build %install SKIPWXCHECK=yes python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES sed -i '/man1/ D' INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc ChangeLog README TODO AUTHORS FAQ COPYING NEWS %doc %{_mandir}/man1/* %dir %_libdir/python%pyver/site-packages/Wammu/ %changelog * Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.8-3mdk - Rebuild for new python * Mon Nov 01 2004 Michael Scherer <misc@mandrake.org> 0.8-2mdk - [DIRM] * Fri Sep 24 2004 Erwan Velu <erwan@mandrakesoft.com> 0.8-1mdk - Initial mdk release