File gnome-phone-manager.spec of Package gnome-phone-manager
#
# spec file for package gnome-phone-manager (Version 0.60)
#
# 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: gnome-phone-manager
BuildRequires: evolution-data-server-devel fdupes gnokii-devel
BuildRequires: gnome-icon-theme gstreamer010-devel gtkspell-devel intltool
BuildRequires: libgnomebt-devel libgnomeui-devel librsvg-devel
BuildRequires: telepathy-glib-devel update-desktop-files
Version: 0.60
Release: 1
Url: http://usefulinc.com/software/phonemgr
Group: Hardware/Mobile
License: GPL v2 or later
Summary: Phone Manager for GNOME
Source: ftp://ftp.gnome.org/pub/gnome/sources/gnome-phone-manager/0.8/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gnome-phone-manager-desktop-icon-check.patch bnc337219
Patch0: gnome-phone-manager-desktop-icon-check.patch
Patch1: gnome-phone-manager-warnings.patch
PreReq: filesystem gconf2
AutoReqProv: on
Obsoletes: phonemgr
Provides: phonemgr
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
This program connects to your mobile phone over a serial port with a
cable, infrared, or Bluetooth connection. It listens for text messages
and, when they arrive, displays them on the desktop. A visual indicator
is displayed in the notification area, if available, in the panel.
Authors:
--------
Edd Dumbill <edd@usefulinc.com>
%package telepathy
License: GPL v2 or later
Summary: Telepathy connection manager for GNOME Phone Manager
Group: Hardware/Mobile
AutoReqProv: on
Requires: gnome-phone-manager
%description telepathy
Provides connections to your phone for telepathy enabled applications.
Authors:
--------
Edd Dumbill <edd@usefulinc.com>
%lang_package
%prep
%setup -q
%patch0
%patch1
%build
# e-contact-entry.c:342: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
--libexecdir=%{_prefix}/lib/%{name} \
--disable-schemas-install
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file -N "GNOME Phone Manager" -G "Phone Manager" gnome-phone-manager
%find_lang %{name}
%find_gconf_schemas
# Work around for bnc 337219
for dir in 16x16 22x22 24x24; do
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/$dir/apps/
ln -s %{_datadir}/icons/gnome/$dir/devices/phone.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/$dir/apps/gnome-phone-manager.png
done
for dir in scalable; do
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/$dir/apps/
ln -s %{_datadir}/icons/gnome/$dir/devices/phone.svg $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/$dir/apps/gnome-phone-manager.svg
done
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_mandir}/man1/*
%{_bindir}/gnome-phone-manager
%{_datadir}/applications/gnome-phone-manager.desktop
%{_datadir}/gnome-phone-manager
%{_datadir}/icons/hicolor/*/apps/gnome-phone-manager.*
%files telepathy
%defattr (-, root, root)
%{_datadir}/dbus-1/services/*.service
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/managers
%{_datadir}/telepathy/managers/*.manager
%dir %{_prefix}/lib/%{name}
%{_prefix}/lib/%{name}/
%files lang -f %{name}.lang
%changelog
* Fri Sep 05 2008 mboman@novell.com
- Update to version 0.60:
+ Add the NetworkRegistrationChanged signal on the object,
giving Cell ID details, for use with gsmloc.org and opencellid.org
+ Make out-of-range phones disconnect, and reconnect automatically when
the phone comes back in range
+ More IrDA connection fixes
* Thu May 08 2008 maw@suse.de
- Add gnome-phone-manager-warnings.patch.
* Wed Apr 02 2008 maw@suse.de
- Update to version 0.51:
+ Add spell checking in the "Send message" entry
+ Fix accessing devices connecting via IrDa or USB or serial
cables.
* Thu Mar 20 2008 jpr@suse.de
- Update to version 0.50
* Add support for phones requiring gnapplet
* Fix detection of the channel for phones that don't advertise
Serial Profile or Dial-Up Network profiles in the Public Browse
* Add backend support for delivery reports
* Add man page
* Fix a few build problems
* Fix disconnecting and reconnecting to a phone with a driver
* Telepathy backend fixes
- Enable telepathy backend
* Wed Feb 20 2008 maw@suse.de
- Update to version 0.40:
+ Use the Serial Port channel on the phone before using the
Dial-Up Networking, avoid the Nokia PC Suite and "Bluetooth
Serial Port" channels on Nokias, and the "m-Router
Connectivity" channel on Sony Ericssons
+ Add support for DKU-2 cables for Nokia phones
+ Add an experimental telepathy backend, to send messages using
Empathy
+ Fix calculation of the battery level for some drivers
+ Add the Sony Ericsson K800i and a lot of other phones to the
list of phones
+ Use themed icons in the UI, makes them look better
+ Make a single-click on the icon popup the new message dialogue
+ Show all the mobile phone numbers in the completion popup
+ Remove the need to set autocompletion in Evolution for the
completion entry.
* Tue Oct 30 2007 jpr@suse.de
- Update to 0.30
* More fixes for sending and receiving text messages with international
characters that don't fit in the default GSM alphabet
* Warn when a phone or driver doesn't support getting the state
of the power source (such as the nk6510)
* Add the --config flag to dump a gnokiirc file for debugging
* Add the --debug/-d flag to enable gnokii debugging
* Add the Sagem myX-7 and Nokia 3110 to the supported phones
* Fri Oct 26 2007 jpr@suse.de
- Link icons into place to pass brp-desktop check
* Fri Oct 26 2007 jpr@suse.de
- Use %%suse_update_desktop_file correctly to fix build
* Thu Oct 25 2007 jpr@suse.de
- Update to 0.20
* Fix sending on receiving messages with non-ASCII characters
* Really fix connecting to Sony Ericsson phones (and a lot of other
models and makes of phones)
* Remove most timeouts and polling, and wait for events from gnokii
* Fix connecting to Sony Ericsson phones (we were using the wrong
channel)
* Remove libegg and libgnomeui usage
* Move phone identification debug functionality to
gnome-phone-manager itself
* New shiny icons
* Use GStreamer to play back sound alerts
* Add battery reporting interface, which newer gnome-power-manager
uses
* Fix the time not showing up in received messages
* Add framework for call reporting (although no UI yet)
* Many build fixes
- Remove gnome-phone-manager-desktop.patch, use
%%suse_update_desktop_file
- Remove gnome-phone-manager-openobex.patch, the check no longer
exists to patch
- Remove gnome-phone-manager-pixmaps.patch, the icon hierarchy is
used now
- Remove gnome-phone-manager-bgo-368920-no-c++.patch, it was
upstreamed
- Remove dont-disable-deprecated.patch, libegg is no longer used
- Use gconf macros
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Fri Jul 27 2007 maw@suse.de
- Add dont-disable-deprecated.patch
- Use %%fdupes.
* Thu May 24 2007 stbinner@suse.de
- remove X-SuSE-translate from .desktop file patch
* Mon Jan 22 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Nov 01 2006 danw@suse.de
- Add gnome-phone-manager-bgo-368920-no-c++.patch to fix the build
* Fri Oct 13 2006 danw@suse.de
- Remove dead patch
* Thu Sep 21 2006 jhargadon@suse.de
- update to version 0.8
- removed upstreamed patches
- Fix icon loading
- Allow the contact-lookup-entry to work with newer versions of the
evolution-data-server
- Move the model/driver matching to an XML file, making it easier to
add new models without recompilation
- Avoid reconnection to the phone when we already use the AT driver
- Fix installation of the icon files, and menu items
- Fix the phone number entry not appearing on startup
- Add support to the Nokia 6021 and Nokia 6230 models
* Tue Sep 05 2006 ro@suse.de
- update to cvs to build with current e-d-s
* Wed Jun 21 2006 dgollub@suse.de
- fixed configure template to handle openobex pkgconfig file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Nov 03 2005 sbrabec@suse.cz
- Updated to version 0.6.
* Tue Apr 26 2005 sbrabec@suse.cz
- Install missing translation files.
* Fri Feb 11 2005 ro@suse.de
- change to libsigc++12 in neededforbuild
* Wed Nov 24 2004 hvogel@suse.de
- fix desktop file and package icon
* Fri Sep 24 2004 mskibbe@suse.de
- change desktopfile
* Mon Aug 09 2004 ro@suse.de
- update to 0.4
- follow upstream rename to gnome-phone-manager
* Tue May 11 2004 sbrabec@suse.cz
- Fixed gconftool-2 prerequirements.
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Wed Mar 03 2004 sbrabec@suse.cz
- Initial SuSE version 0.2.1 (#33266).