# # spec file for package gnome-bluetooth (Version 0.11.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gnome-bluetooth BuildRequires: fdupes gob2 intltool libbtctl-devel libglade2-devel libgnomeui-devel libusb-devel perl-XML-Parser python-devel python-gtk-devel update-desktop-files License: GPL v2 or later; LGPL v2.1 or later Group: System/GUI/GNOME Requires: gnome-vfs2 python-gnome Version: 0.11.0 Release: 1 Summary: GNOME Bluetooth Support Url: http://usefulinc.com/software/gnome-bluetooth/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2 Requires: %{name}-lang = %{version} AutoReqProv: on %gconf_schemas_prereq %description This package contains a controller class, GnomebtController, to controlBluetooth devices and a simple GUI to explore which devices are available (gnome-bluetooth-manager). An OBEX server is available,gnome-obex-server. This receives files sent via Bluetooth to yourPC and saves them in your home directory. The program gnome-obex-send enables you to send files. It is used by the Nautilus component--select the files to send and choose "Send via Bluetooth" from the context menu. Authors: -------- Edd Dumbill Bastien Nocera Dag Brattli Pontus Fuchs Fons Botman Jean Tourrilhes Marcel Holtmann Jonathan Blandford Kristian Rietveld Anders Carlsson James Henstridge %package -n libgnomebt0 Summary: GNOME Bluetooth Support Group: System/GUI/GNOME Requires: %{name} = %{version} %description -n libgnomebt0 This package contains a controller class, GnomebtController, to controlBluetooth devices and a simple GUI to explore which devices are available (gnome-bluetooth-manager). An OBEX server is available,gnome-obex-server. This receives files sent via Bluetooth to yourPC and saves them in your home directory. The program gnome-obex-send enables you to send files. It is used by the Nautilus component--select the files to send and choose "Send via Bluetooth" from the context menu. Authors: -------- Edd Dumbill Bastien Nocera Dag Brattli Pontus Fuchs Fons Botman Jean Tourrilhes Marcel Holtmann Jonathan Blandford Kristian Rietveld Anders Carlsson James Henstridge %package -n libgnomebt-devel Summary: GNOME Bluetooth Support Group: Development/Libraries/GNOME Requires: %{name} = %{version} libgnomebt0 = %{version} glib2-devel libbtctl-devel libglade2-devel libgnomeui-devel libjpeg-devel libbonoboui-devel gnome-keyring-devel libxml2-devel libgnomecanvas-devel libart_lgpl-devel libgnome-devel esound-devel alsa-devel resmgr audiofile-devel popt-devel gtk2-devel atk-devel pango-devel cairo-devel fontconfig-devel glitz-devel libpng-devel freetype2-devel libexpat-devel libbonobo-devel gnome-vfs2-devel zlib-devel openssl-devel libopenssl-devel orbit2-devel gconf2-devel %if %suse_version > 1010 Requires: dbus-1-glib-devel %else Requires: dbus-1-devel dbus-1-glib %endif # gnome-bluetooth-devel was last used in openSUSE 10.3 Provides: gnome-bluetooth-devel = %{version} Obsoletes: gnome-bluetooth-devel <= 0.8.0 %description -n libgnomebt-devel This package contains a controller class, GnomebtController, to control Bluetooth devices and a simple GUI to explore which devices are available (gnome-bluetooth-manager). An OBEX server is available, gnome-obex-server. This receives files sent via Bluetooth to your PC and saves them in your home directory. The program gnome-obex-send enables you to send files. It is used by the Nautilus component -- select the files you want to send and choose "Send via Bluetooth..." from the context menu. Authors: -------- Edd Dumbill Bastien Nocera Dag Brattli Pontus Fuchs Fons Botman Jean Tourrilhes Marcel Holtmann Jonathan Blandford Kristian Rietveld Anders Carlsson James Henstridge %package -n python-gnome-bluetooth Summary: GNOME Bluetooth Support Group: System/GUI/GNOME Requires: %{name} = %{version} libgnomebt0 = %{version} %py_requires %description -n python-gnome-bluetooth This package contains a controller class, GnomebtController, to controlBluetooth devices and a simple GUI to explore which devices are available (gnome-bluetooth-manager). An OBEX server is available,gnome-obex-server. This receives files sent via Bluetooth to yourPC and saves them in your home directory. The program gnome-obex-send enables you to send files. It is used by the Nautilus component--select the files to send and choose "Send via Bluetooth" from the context menu. Authors: -------- Edd Dumbill Bastien Nocera Dag Brattli Pontus Fuchs Fons Botman Jean Tourrilhes Marcel Holtmann Jonathan Blandford Kristian Rietveld Anders Carlsson James Henstridge %lang_package %prep %setup -q %build %configure\ --disable-schemas-install %__make %{?jobs:-j%jobs} %install %makeinstall mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps %suse_update_desktop_file -r -N "GNOME Obex Server" -G "Bluetooth File Sharing" gnome-obex-server System Applet %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst rm $RPM_BUILD_ROOT%{py_sitedir}/gnomebt/*.la %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %post -n libgnomebt0 -p /sbin/ldconfig %postun -n libgnomebt0 -p /sbin/ldconfig %files -f %{name}.lst %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/gnome-bluetooth %{_datadir}/pixmaps/blueradio-48.png %files lang -f %{name}.lang %files -n libgnomebt0 %defattr(-, root, root) %{_libdir}/*.so.0* %files -n python-gnome-bluetooth %defattr(-, root, root) %{py_sitedir}/gnomebt %files -n libgnomebt-devel %defattr(-, root, root) %{_includedir}/gnome-bluetooth %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %changelog * Fri Feb 01 2008 rodrigo@suse.de - Update to version 0.11.0: * Remove gnome-obex-send as it's replaced by bluez-gnome's bluetooth-sendto * Tue Oct 30 2007 coolo@suse.de - also obsolete 0.8.0 * Thu Oct 25 2007 jpr@suse.de - Update to 0.9.1 * Fix a typo that meant the obex server was crashing when receiving a file * Send a disconnect when we finish sending a file, fixes reception of files on some devices * Use new GTK+ features for the tray icon * Build fixes - Remove gnome-bluetooth-desktop.diff and use %%suse_update_desktop_file instead - Remove gnome-bluetooth-pixmapsdir.patch, the icon hierarchy is used now - Remove gnome-bluetooth-transparent-trayicon.patch and dont-disable-deprecated, libegg is no longer used - Remove gnome-bluetooth-fail-cleanly.patch, the UI it changed is - Split off libgnomebt0, python-gnome-bluetooth and gnome-bluetooth-lang - Rename gnome-bluetooth-devel to libgnomebt-devel * Wed Aug 08 2007 maw@suse.de - Use %%fdupes - Split off a -lang subpackage - s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun. * Fri Jul 27 2007 maw@suse.de - Add dont-disable-deprecated.patch. * Wed May 23 2007 prusnak@suse.cz - added libusb-devel to BuildRequires - added libopenssl-devel to Requires of devel subpackage * Fri May 18 2007 prusnak@suse.cz - removed X-SuSE-translate from desktop file * Thu May 03 2007 prusnak@suse.cz - changed expat to libexpat-devel in Requires of devel subpackage * Sun Feb 18 2007 aj@suse.de - Cleanup BuildRequires. * Fri Jan 19 2007 jhargadon@suse.de - removed useless .la files (#223699) * Tue Dec 19 2006 sbrabec@suse.cz - Spec file cleanup. * Mon Dec 18 2006 maw@suse.de - Move to /usr. * Thu Nov 30 2006 sbrabec@suse.cz - Fixed devel dependencies. * Tue Sep 19 2006 jhargadon@suse.de - update to version 0.8.0 - Fix icons not showing up properly - Allow passing URIs as well as local filenames to gnome-obex-send - Save to ~/Desktop/Downloads by default, then fallback to ~/Desktop and ~/, as Epiphany does, or to the user specified directory - Remove direct openobex and bluez-devel dependencies, as well as gnome-vfs - Remove the useless gnome-bluetooth-manager - translation updates * Wed Aug 16 2006 cthiel@suse.de - buildrequire python-gtk-devel instead of python-gtk * Wed Aug 16 2006 ro@suse.de - added python-gobject2-devel to BuildRequires * Mon Mar 20 2006 danw@suse.de - Fail cleanly (with a dialog rather than a message to stderr) if bluetooth is not configured on the machine. #140780 * Fri Mar 10 2006 danw@suse.de - Make the gnome-obex-server trayicon transparent. #155345 * Sat Feb 18 2006 stbinner@suse.de - move GenericName entries in .desktop files to Comment * Mon Feb 06 2006 hpj@suse.de - Added Rodney's pixmap path patch. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 29 2005 sbrabec@suse.cz - Updated to version 0.7.0. * Wed Nov 09 2005 sbrabec@suse.cz - Fixed more random return values. - Removed .mo install hack, locales now install properly. * Thu Nov 03 2005 sbrabec@suse.cz - Updated to version 0.6.0. * Wed Nov 02 2005 dmueller@suse.de - don't build as root * Wed Jun 01 2005 sbrabec@suse.cz - Fixed devel requirements. * Wed May 04 2005 sbrabec@suse.cz - Fixed some GCC 4 warnings. * Wed Apr 27 2005 sbrabec@suse.cz - Added gnome hbox patch from Harald Hoyer (#72172). - Added patch for crash on file send. http://bugzilla.gnome.org/show_bug.cgi?id=150388 * Thu Nov 25 2004 ro@suse.de - fix build with new python2.4 * Tue Nov 23 2004 hvogel@suse.de - correct desktop files - include icon - fix ac-quotation * Wed Sep 08 2004 ro@suse.de - require python-gnome instead of gnome-python * Fri Sep 03 2004 hhetter@suse.de - use lib64 on 64bit systems in PYTHONPATH * Thu Sep 02 2004 hhetter@suse.de - part of Bug #44638, require gnome-python, fix PYTHONPATH in gnome-bluetooth-manager * Mon Aug 02 2004 ro@suse.de - update to 0.5.1 to make it build again with current environment * Thu Jan 29 2004 hhetter@suse.de - initial SUSE package