File python-gammu.spec of Package python-gammu

#
# spec file for package python-gammu (Version 0.26)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-gammu
Version:        0.26
Release:        1
Requires:       python-gammu python-wxGTK
AutoReqProv:    on
Group:          Development/Libraries/Python
License:        GPL v2 or later
Url:            http://www.cihar.com/gammu/python/
Summary:        Python Module to Communicate with Mobile Phones
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gammu-devel >= 1.18.91
BuildRequires:  python-devel
%{py_requires}

%description
This provides the gammu module that can work with any phone supported
by Gammu (many phones from Nokia, Siemens, and Alcatel).



Authors:
--------
    Michal &#268;iha&#345; <michal@cihar.com>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" 
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README examples

%changelog
* Tue Sep 09 2008 prusnak@suse.cz
- updated to 0.26
  * Compatibility with current gammu.
  * Improved compatibility with Python 2.5.
* Tue Mar 11 2008 prusnak@suse.cz
- updated to 0.25
  * Compatibility with current gammu.
  * Fixed Gammu version reported by python-gammu.
* Tue Dec 18 2007 prusnak@suse.cz
- updated to 0.24
  * Compatibility with current gammu.
  * Improved MinGW crosscompilation instructions.
* Thu Nov 08 2007 prusnak@suse.cz
- update to 0.23
  * compatibility with current gammu
* Tue Sep 25 2007 prusnak@suse.cz
- update to 0.22
  * complete support for managing calls
  * compatibility with current gammu
* Tue Jun 19 2007 prusnak@suse.cz
- update to 0.21:
  * Added suport for nick name in phonebook
  * Added suport for work address in phonebook
  * Converted to new Gammu API
* Tue May 15 2007 prusnak@suse.cz
- update to 0.20:
  * Fixed call information conversion
  * Support for last modified field
  * Support for latest Gammu version
  * Added python wrapper around C module, C module is now gammu.Core
  * Moved some generic data from Wammu
  * Added asynchronous wrapper around StateMachine
  * Added example for async operations, see examples/worker.py
  * Main library is now gammu.Core, but gammu.* still works
  * Support for service numbers
  * New example for service numbers, see examples/service-numbers.py
* Tue Feb 27 2007 prusnak@suse.cz
- update to 0.19
  * fixed crash on wrongly configured locales
  * added suport for SendFilePart
* Wed Jan 03 2007 prusnak@suse.cz
- update to 0.17
  * Support for python 2.5.
  * Initial support for WAP bookmarks.
  * Initial support for MMS indicators.
* Thu Dec 14 2006 prusnak@suse.cz
- update to 0.16
  * Support for recent gammu versions
* Wed Oct 18 2006 ro@suse.de
- make it even start
* Tue Oct 17 2006 ro@suse.de
- update to 0.15
  * Support for recent gammu versions.
  * Fix bug in SMS code.
* Thu Jul 27 2006 mjancar@suse.cz
- update to 0.14
  * Improved documentation.
  * Fixed setup.py for win32.
  * Implemented adding of entries even when phone does not directly support
  that.
  * Error messages are now also unicode objects as they might be translated by
  gammu.
  * Properly handle locales in case other python module also uses them.
  * Added some examples.
  * Added support for Siemens OTA new in gammu 1.05.00.
  * Improved build system.
  * Added example for inserting backup (eg. vcard) to arbitrary memory.
  * Added support for incoming events (with example showing usage).
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 mjancar@suse.cz
- update to 0.10
* Tue May 17 2005 mcihar@suse.cz
- update to 0.8
* Mon Jan 24 2005 mcihar@suse.cz
- update to 0.7
* Mon Sep 06 2004 mcihar@suse.cz
- update to 0.6
* Thu Mar 04 2004 mcihar@suse.cz
- updated to 0.5
* Fri Jan 23 2004 mcihar@suse.cz
- updated to 0.4
* Mon Jan 05 2004 mcihar@suse.cz
- initial packaging
openSUSE Build Service is sponsored by