File wammu.spec of Package wammu

#
# spec file for package wammu (Version 0.28)
#
# 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:           wammu
Version:        0.28
Release:        1
AutoReqProv:    on
Group:          Hardware/Mobile
License:        GPL v2 or later
Url:            http://www.cihar.com/gammu/wammu/
Summary:        Mobile Phone Manager
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libgnomebt-devel python-devel python-gammu update-desktop-files
Requires:       python-gammu
Requires:       python-wxGTK >= 2.6.2
%{py_requires}

%description
A mobile phone manager that uses Gammu as its back-end. It works with
any phone supported by Gammu (a lot of Nokia, Siemens, and Alcatel
phones, for example). It is written using wxGTK.



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

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS"
SKIPGAMMUCHECK=yes SKIPWXCHECK=yes python setup.py build

%install
SKIPGAMMUCHECK=yes SKIPWXCHECK=yes python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%find_lang %name
grep -vE '(%{_datadir}/locale|%{_datadir}/man|%{_datadir}/applications$|%{_datadir}/pixmaps$)' INSTALLED_FILES > FILES
cat %{name}.lang >> FILES
%suse_update_desktop_file %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README FAQ
%doc %{_mandir}/man?/*

%changelog
* Tue Sep 09 2008 prusnak@suse.cz
- updated to 0.28
  * Fixed freeze while searching for Bluetooth devices.
  * Fixed guided configuration of Bluetooth devices (no more complains
  about not existing device).
  * Fixed saving of backups to folder with non ASCII names.
  * Validation is less strict and allows hopefully all number.
- updated to 0.27
  * Do not fail if phone does not support call notifications.
  * Improved handling of empty config file.
  * Lot of translation updates.
  * Fix compatibility with some IMAP servers.
* Tue Mar 11 2008 prusnak@suse.cz
- updated to 0.26
  * Various attempts to make Windows version back to usable state, but it
  is not ready yet as there are quite random crashes in python-gammu on
  Windows. Anybody with knowledge of python modules on Windows who is
  willing to help is welcome.
  * Dropped GNOME Bluetooth (btctl) support, it crashes too often.
  * Fix icons size to be all 16x16.
  * Fixed crash when D-Bus can not launch notification service.
* Wed Dec 19 2007 prusnak@suse.cz
- updated to 0.25
  * Fall back to Add methods if Set is not supported.
  * Fixed phone number validation.
  * Fixed crash when org.freedesktop.Notifications service is not
  provided.
  * Correctly report why guided wizard can not connect to phone.
  * New navigation icons, thanks to David Corrales.
* Tue Nov 20 2007 prusnak@suse.cz
- updated to 0.24
  * Notifies user about incoming calls using D-Bus.
  * Remember default type of created entry (eg. phone/SIM memory).
  * Newly created entries contain some reasonable fields by default.
  * Fixed validation of editor fields.
  * Improvements in guided wizard to make it easier to use.
  * Clever searching over Bluetooth based on manufacturer.
  * Searching can be really limited to some connection types.
* Tue Oct 30 2007 prusnak@suse.cz
- updated to 0.23
  * fixed phone number prefix settings
  * customisable format for displaying name
  * fixed crash when reporting information to phone database
- changed gnome-bluetooth to libgnomebt-devel in BuildRequires
- removed obsoleted desktop.patch (included in update)
* Tue Sep 25 2007 prusnak@suse.cz
- update to 0.22
  * fixed errors in locales and applied stricter checking
  * fixed various crashes
* Thu Jun 21 2007 prusnak@suse.cz
- update do 0.21
  * avoid blocking opening of a browser
  * tell user if he needs to be member of some group while searching
* Thu May 17 2007 prusnak@suse.cz
- update to 0.20
  * improve locales behaviour (and require wxPython with Unicode)
  * show time in call listings
  * fixed infinite loop in searching
  * fixed displaying of messages with special chars
  * fixed locale detection on system without configured locales
* Wed Apr 25 2007 prusnak@suse.cz
- update to 0.19
  * improved SMS recipient list handling
  * can save and load SMS recipient list
  * support for sending file to phone
  * support for task bar icon
* Tue Feb 27 2007 prusnak@suse.cz
- update to version 0.18
  * added s upport for reporting in Gammu Phone Database
  * GUI more follows HIG on target platform (button placement)
  * added wildcard search possibility
  * use gammu configuration for phone connection instead of own
* Fri Oct 20 2006 ro@suse.de
- version 0.17
  * Fix searching.
  * Remember column sorting.
* Tue Oct 17 2006 ro@suse.de
- version 0.16
  * Include platform in crash log.
  * Fix SMS composer on Windows.
  * Fix adding part to SMS after removing all.
  * Fix editor on Windows.
  * Now requires wxWidgets 2.6.
- version 0.15
  * Language selection for Windows (based on GTK+ 2 ISS code).
  * Finnish translation from rosetta.
  * Searching can be done plaintext and not only regexp.
  * Phone number matching now works even for national numbers.
  * Fixed usability with inveresed themes.
- version 0.14
  * Automatically append backup extension.
  * PuBluez is now default for bluetooth devices lookup.
  * Fixed mail export for non english locales.
  * Fixed installation on Windows.
  * Added support for py2exe for distributing Windows executable.
  * Added script for creating Wammu installer on Windows (using Inno Setup).
* Tue Oct 17 2006 ro@suse.de
- make it build
* Wed Aug 16 2006 ro@suse.de
- fix filelist
* Thu Jul 27 2006 mjancar@suse.cz
- update to 0.13
  * Possibility to export SMS to maildir, mailbox and IMAP account.
  * More user friendly debug logging.
  * Many new translations, thanks to Rosetta.
  * Improved bluetooth lookup - now uses either PyBluez or btctl
  (part of GNOME Bluetooth).
* Tue Mar 14 2006 ro@suse.de
- set prefix for python install
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 mjancar@suse.cz
- update to 0.12
* Mon Aug 01 2005 ro@suse.de
- fix filelist
* Thu Jul 28 2005 anicka@suse.cz
- update to 0.9
- desktop file created
* Mon Dec 06 2004 mcihar@suse.cz
- update to 0.8
* Mon Sep 06 2004 mcihar@suse.cz
- fix some problems with wxPython 2.5.2
* Mon Sep 06 2004 mcihar@suse.cz
- update to 0.7
* Fri Mar 05 2004 mcihar@suse.cz
- update to 0.6
* Fri Jan 23 2004 mcihar@suse.cz
- update to 0.5.1
* Mon Jan 05 2004 mcihar@suse.cz
- initial packaging
openSUSE Build Service is sponsored by