2007-01-10 17:42:14 +01:00
#
2010-09-24 00:25:23 +02:00
# spec file for package gnome-bluetooth (Version 2.31.90)
2007-01-10 17:42:14 +01:00
#
2010-02-18 14:56:08 +01:00
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-10 17:42:14 +01:00
#
2009-02-23 12:49:39 +01:00
# 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.
2007-01-10 17:42:14 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2008-03-26 16:11:55 +01:00
2007-01-10 17:42:14 +01:00
Name : gnome-bluetooth
2010-09-24 00:25:23 +02:00
Version : 2.31.90
Release : 1
2010-08-09 23:32:24 +02:00
License : GPLv2+
Summary : GNOME Bluetooth graphical utilities
Url : http://live.gnome.org/GnomeBluetooth
Group : System/GUI/GNOME
Source : http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version} .tar.bz2
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
Patch0 : lxde-support.patch
2010-09-24 00:25:23 +02:00
# PATCH-FIX-UPSTREAM gnome-bluetooth-fix-parallel-build.patch bgo#630024 vuntz@opensuse.org -- Improve build system for introspection to fix parallel build
Patch1 : gnome-bluetooth-fix-parallel-build.patch
2009-04-24 19:40:50 +02:00
BuildRequires : fdupes
2010-08-09 23:32:24 +02:00
# Needed for geoclue plugin
2009-04-07 12:55:59 +02:00
BuildRequires : gconf2-devel
2010-09-24 00:25:23 +02:00
# Needed for patch1 gnome-bluetooth-fix-parallel-build.patch
BuildRequires : gnome-common
2009-04-24 19:40:50 +02:00
BuildRequires : gnome-doc-utils-devel
2009-12-15 11:50:40 +01:00
BuildRequires : gobject-introspection-devel
2009-02-23 12:49:39 +01:00
BuildRequires : intltool
2009-04-07 12:55:59 +02:00
BuildRequires : libnotify-devel
2009-05-20 22:13:29 +02:00
BuildRequires : libunique-devel
2009-12-15 11:50:40 +01:00
BuildRequires : nautilus-sendto-devel
2009-04-07 12:55:59 +02:00
BuildRequires : translation-update-upstream
BuildRequires : update-desktop-files
2010-08-09 23:32:24 +02:00
Requires : %{name} -lang = %{version}
# Require bluez (mandatory, as per readme, bnc#622946)
Requires : bluez >= 4.36
# Require obexd for bluetooth-sendto to work (bnc#622946)
Requires : obexd
2009-04-07 12:55:59 +02:00
Provides : bluez-gnome = 1.8
Obsoletes : bluez-gnome < 1.8
2010-08-09 23:32:24 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%glib2_gsettings_schema_requires
2007-01-10 17:42:14 +01:00
%description
2009-04-07 12:55:59 +02:00
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
2007-10-26 01:58:20 +02:00
2009-04-07 12:55:59 +02:00
%package devel
2009-12-15 11:50:40 +01:00
License : GPLv2+
2007-10-26 01:58:20 +02:00
Summary : GNOME Bluetooth Support
Group : Development/Libraries/GNOME
2010-08-09 23:32:24 +02:00
Requires : %{name} = %{version}
Requires : gtk2-devel
2009-04-07 12:55:59 +02:00
Obsoletes : libgnomebt-devel < 0.12
Provides : libgnomebt-devel = 0.12
2007-01-10 17:42:14 +01:00
2009-04-07 12:55:59 +02:00
%description devel
2007-01-10 17:42:14 +01:00
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 " S e n d v i a B l u e t o o t h . . . "
from the context menu.
2010-08-09 23:32:24 +02:00
%package -n libgnome-bluetooth8
2009-12-15 11:50:40 +01:00
License : GPLv2+
2009-04-07 12:55:59 +02:00
Summary : GNOME Bluetooth graphical utilities
2007-10-26 01:58:20 +02:00
Group : System/GUI/GNOME
2009-04-07 12:55:59 +02:00
Obsoletes : libgnomebt1 <= 0.12
2010-08-09 23:32:24 +02:00
%description -n libgnome-bluetooth8
2009-04-07 12:55:59 +02:00
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
2007-10-26 01:58:20 +02:00
2009-08-01 11:26:31 +02:00
%package plugins-geoclue
2009-12-15 11:50:40 +01:00
License : GPLv2+
2009-08-01 11:26:31 +02:00
Summary : GNOME Bluetooth Support
Group : System/GUI/GNOME
Requires : %{name} = %{version}
2010-08-30 12:23:15 +02:00
Supplements: packageand(%{name} :geoclue)
2009-08-01 11:26:31 +02:00
%description plugins-geoclue
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
2009-12-15 11:50:40 +01:00
%package -n nautilus-sendto-plugin-bluetooth
License : GPLv2+
Summary : Bluetooth plugin for nautilus-sendto
Group : Productivity/File utilities
Requires : %{name} = %{version}
Supplements: packageand{%{name} :nautilus-sendto}
%description -n nautilus-sendto-plugin-bluetooth
This package provides the functionality to the Nautilus file browser to
send files over bluetooth.
2007-08-09 16:29:47 +02:00
%lang_package
2007-01-10 17:42:14 +01:00
%prep
%setup -q
2009-04-07 12:55:59 +02:00
translation-update-upstream
2009-12-15 11:50:40 +01:00
%patch0 -p1
2010-09-24 00:25:23 +02:00
%patch1 -p1
2007-01-10 17:42:14 +01:00
%build
2010-09-24 00:25:23 +02:00
NOCONFIGURE=1 gnome-autogen.sh
2010-08-09 23:32:24 +02:00
%configure \
2009-04-07 12:55:59 +02:00
--disable-icon-update \
2009-04-24 19:40:50 +02:00
--disable-scrollkeeper \
2009-12-15 11:50:40 +01:00
--disable-desktop-update \
--enable-introspection
2010-08-09 23:32:24 +02:00
%__make %{?_smp_mflags}
2007-01-10 17:42:14 +01:00
%install
2007-10-26 01:58:20 +02:00
%makeinstall
2009-12-15 11:50:40 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-08-01 11:26:31 +02:00
find %{buildroot} -type f -name " * . l a " -delete -print
2010-09-13 12:35:40 +02:00
%suse_update_desktop_file bluetooth-properties
%suse_update_desktop_file bluetooth-applet
2009-04-07 12:55:59 +02:00
%find_lang %{name} 2
2009-04-24 19:40:50 +02:00
%find_lang %{name} %{name} 2.lang
2010-08-09 23:32:24 +02:00
%fdupes %{buildroot}
2007-08-09 16:29:47 +02:00
2007-01-10 17:42:14 +01:00
%clean
2010-08-09 23:32:24 +02:00
rm -rf %{buildroot}
%post
%glib2_gsettings_schema_post
2009-08-01 11:26:31 +02:00
2010-08-09 23:32:24 +02:00
%postun
%glib2_gsettings_schema_postun
2007-10-26 01:58:20 +02:00
2010-08-09 23:32:24 +02:00
%post -n nautilus-sendto-plugin-bluetooth
%glib2_gsettings_schema_post
2007-10-26 01:58:20 +02:00
2010-08-09 23:32:24 +02:00
%postun -n nautilus-sendto-plugin-bluetooth
%glib2_gsettings_schema_postun
2009-04-07 12:55:59 +02:00
2010-08-09 23:32:24 +02:00
%post -n libgnome-bluetooth8 -p /sbin/ldconfig
2009-04-07 12:55:59 +02:00
2010-08-09 23:32:24 +02:00
%postun -n libgnome-bluetooth8 -p /sbin/ldconfig
2010-08-06 11:56:58 +02:00
2010-08-09 23:32:24 +02:00
%files
2007-01-10 17:42:14 +01:00
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
2009-04-07 12:55:59 +02:00
%{_bindir} /bluetooth-*
%{_sysconfdir} /xdg/autostart/bluetooth-applet.desktop
%{_datadir} /applications/bluetooth-properties.desktop
2010-08-09 23:32:24 +02:00
%{_datadir} /GConf/gsettings/gnome-bluetooth
%{_datadir} /glib-2.0/schemas/org.gnome.Bluetooth.gschema.xml
%{_datadir} /gnome-bluetooth/
2009-04-24 19:40:50 +02:00
%{_datadir} /icons/hicolor/*/*/bluetooth*
2009-04-07 12:55:59 +02:00
%{_mandir} /man1/bluetooth-*
2009-08-01 11:26:31 +02:00
# Own the plugin directory, but exclude the plugin library itself
%dir %{_libdir} /gnome-bluetooth
%dir %{_libdir} /gnome-bluetooth/plugins
# Exclude files which are in another package
%exclude %{_libdir} /gnome-bluetooth/plugins/libgbtgeoclue.so
2007-01-10 17:42:14 +01:00
2009-04-07 12:55:59 +02:00
%files lang -f %{name}2.lang
2007-08-09 16:29:47 +02:00
2010-08-09 23:32:24 +02:00
%files -n libgnome-bluetooth8
2009-04-07 12:55:59 +02:00
%defattr (-,root,root,-)
%{_libdir} /libgnome-bluetooth.so.*
2010-09-24 00:25:23 +02:00
%{_libdir} /girepository-1.0/GnomeBluetooth-1.0.typelib
2007-10-26 01:58:20 +02:00
2009-04-07 12:55:59 +02:00
%files devel
2007-01-10 17:42:14 +01:00
%defattr (-, root, root)
%{_includedir} /gnome-bluetooth
2009-04-07 12:55:59 +02:00
%{_libdir} /libgnome-bluetooth.so
%{_libdir} /pkgconfig/gnome-bluetooth-1.0.pc
2010-09-24 00:25:23 +02:00
%{_datadir} /gir-1.0/*.gir
2009-04-07 12:55:59 +02:00
%{_datadir} /gtk-doc/html/gnome-bluetooth
2008-02-01 21:32:50 +01:00
2009-08-01 11:26:31 +02:00
%files plugins-geoclue
%defattr (-,root,root,-)
%{_libdir} /gnome-bluetooth/plugins/libgbtgeoclue.so
2009-12-15 11:50:40 +01:00
%files -n nautilus-sendto-plugin-bluetooth
%defattr (-,root,root,-)
2010-08-09 23:32:24 +02:00
%{_datadir} /GConf/gsettings/gnome-bluetooth-nst
%{_datadir} /glib-2.0/schemas/org.gnome.Bluetooth.nst.gschema.xml
2009-12-15 11:50:40 +01:00
%{_libdir} /nautilus-sendto/plugins/libnstbluetooth.so
2007-02-19 21:32:45 +01:00
%changelog