58d1481329
checked in (request 46527) OBS-URL: https://build.opensuse.org/request/show/46527 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-bluetooth?expand=0&rev=49
194 lines
6.1 KiB
RPMSpec
194 lines
6.1 KiB
RPMSpec
#
|
|
# spec file for package gnome-bluetooth (Version 2.31.6)
|
|
#
|
|
# Copyright (c) 2010 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/
|
|
#
|
|
|
|
|
|
|
|
Name: gnome-bluetooth
|
|
Version: 2.31.6
|
|
Release: 1
|
|
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
|
|
BuildRequires: fdupes
|
|
# Needed for geoclue plugin
|
|
BuildRequires: gconf2-devel
|
|
BuildRequires: gir-repository
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libunique-devel
|
|
BuildRequires: nautilus-sendto-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
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
|
|
Provides: bluez-gnome = 1.8
|
|
Obsoletes: bluez-gnome < 1.8
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
The gnome-bluetooth package contains graphical utilities to setup,
|
|
monitor and use Bluetooth devices.
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: GNOME Bluetooth Support
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
Requires: gtk2-devel
|
|
Obsoletes: libgnomebt-devel < 0.12
|
|
Provides: libgnomebt-devel = 0.12
|
|
|
|
%description 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.
|
|
|
|
%package -n libgnome-bluetooth8
|
|
License: GPLv2+
|
|
Summary: GNOME Bluetooth graphical utilities
|
|
Group: System/GUI/GNOME
|
|
Obsoletes: libgnomebt1 <= 0.12
|
|
|
|
%description -n libgnome-bluetooth8
|
|
The gnome-bluetooth package contains graphical utilities to setup,
|
|
monitor and use Bluetooth devices.
|
|
|
|
%package plugins-geoclue
|
|
License: GPLv2+
|
|
Summary: GNOME Bluetooth Support
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version}
|
|
|
|
%description plugins-geoclue
|
|
The gnome-bluetooth package contains graphical utilities to setup,
|
|
monitor and use Bluetooth devices.
|
|
|
|
%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.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-icon-update \
|
|
--disable-scrollkeeper \
|
|
--disable-desktop-update \
|
|
--enable-introspection
|
|
%__make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%suse_update_desktop_file -G "Configure Bluetooth settings" -N "Bluetooth Properties" bluetooth-properties
|
|
%suse_update_desktop_file -G "Bluetooth Manager applet" bluetooth-applet
|
|
%find_lang %{name}2
|
|
%find_lang %{name} %{name}2.lang
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%post -n nautilus-sendto-plugin-bluetooth
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun -n nautilus-sendto-plugin-bluetooth
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%post -n libgnome-bluetooth8 -p /sbin/ldconfig
|
|
|
|
%postun -n libgnome-bluetooth8 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/bluetooth-*
|
|
%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
|
|
%{_datadir}/applications/bluetooth-properties.desktop
|
|
%{_datadir}/GConf/gsettings/gnome-bluetooth
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Bluetooth.gschema.xml
|
|
%{_datadir}/gnome-bluetooth/
|
|
%{_datadir}/icons/hicolor/*/*/bluetooth*
|
|
%{_mandir}/man1/bluetooth-*
|
|
# 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
|
|
|
|
%files lang -f %{name}2.lang
|
|
|
|
%files -n libgnome-bluetooth8
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/libgnome-bluetooth.so.*
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/gnome-bluetooth
|
|
%{_libdir}/libgnome-bluetooth.so
|
|
%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
|
|
%{_datadir}/gtk-doc/html/gnome-bluetooth
|
|
|
|
%files plugins-geoclue
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/gnome-bluetooth/plugins/libgbtgeoclue.so
|
|
|
|
%files -n nautilus-sendto-plugin-bluetooth
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/GConf/gsettings/gnome-bluetooth-nst
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Bluetooth.nst.gschema.xml
|
|
%{_libdir}/nautilus-sendto/plugins/libnstbluetooth.so
|
|
|
|
%changelog
|