2007-01-10 17:42:14 +01:00
|
|
|
#
|
2010-02-16 15:46:30 +01:00
|
|
|
# spec file for package gnome-bluetooth (Version 2.29.91)
|
2007-01-10 17:42:14 +01:00
|
|
|
#
|
2009-02-23 12:49:39 +01:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-26 16:11:55 +01:00
|
|
|
|
2007-01-10 17:42:14 +01:00
|
|
|
Name: gnome-bluetooth
|
2009-04-24 19:40:50 +02:00
|
|
|
BuildRequires: fdupes
|
2009-04-07 12:55:59 +02:00
|
|
|
BuildRequires: gconf2-devel
|
2009-12-15 11:50:40 +01:00
|
|
|
BuildRequires: gir-repository
|
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
|
2009-12-15 11:50:40 +01:00
|
|
|
License: GPLv2+
|
2007-01-10 17:42:14 +01:00
|
|
|
Group: System/GUI/GNOME
|
2010-02-16 15:46:30 +01:00
|
|
|
Version: 2.29.91
|
|
|
|
Release: 1
|
2009-04-07 12:55:59 +02:00
|
|
|
Summary: GNOME Bluetooth graphical utilities
|
2007-10-26 01:58:20 +02:00
|
|
|
Url: http://usefulinc.com/software/gnome-bluetooth/
|
2007-01-10 17:42:14 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-04-07 12:55:59 +02:00
|
|
|
Source: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
|
2009-12-15 11:50:40 +01:00
|
|
|
Patch0: lxde-support.patch
|
2009-04-07 12:55:59 +02:00
|
|
|
Provides: bluez-gnome = 1.8
|
|
|
|
Obsoletes: bluez-gnome < 1.8
|
2007-08-09 16:29:47 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2007-01-10 17:42:14 +01:00
|
|
|
%gconf_schemas_prereq
|
|
|
|
|
|
|
|
%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
|
2009-04-07 12:55:59 +02:00
|
|
|
Requires: %{name} = %{version} gtk2-devel
|
|
|
|
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 "Send via Bluetooth..."
|
|
|
|
from the context menu.
|
|
|
|
|
2009-08-01 11:26:31 +02:00
|
|
|
%package -n libgnome-bluetooth7
|
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
|
|
|
|
|
2009-08-01 11:26:31 +02:00
|
|
|
%description -n libgnome-bluetooth7
|
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}
|
|
|
|
|
|
|
|
%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
|
2007-01-10 17:42:14 +01:00
|
|
|
|
|
|
|
%build
|
2009-04-07 12:55:59 +02:00
|
|
|
%configure --disable-schemas-install \
|
|
|
|
--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
|
2007-10-26 01:58:20 +02:00
|
|
|
%__make %{?jobs:-j%jobs}
|
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 "*.la" -delete -print
|
2009-04-07 12:55:59 +02:00
|
|
|
%suse_update_desktop_file bluetooth-properties -G "Configure Bluetooth settings" -N "Bluetooth Properties"
|
|
|
|
%suse_update_desktop_file bluetooth-applet -G "Bluetooth Manager applet"
|
|
|
|
%find_lang %{name}2
|
2009-04-24 19:40:50 +02:00
|
|
|
%find_lang %{name} %{name}2.lang
|
2009-04-07 12:55:59 +02:00
|
|
|
%find_gconf_schemas
|
2009-04-24 19:40:50 +02:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
2007-08-09 16:29:47 +02:00
|
|
|
|
2007-01-10 17:42:14 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-04-07 12:55:59 +02:00
|
|
|
%pre -f %{name}.schemas_pre
|
2009-08-01 11:26:31 +02:00
|
|
|
|
2009-04-07 12:55:59 +02:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
2007-10-26 01:58:20 +02:00
|
|
|
|
2009-04-07 12:55:59 +02:00
|
|
|
%preun -f %{name}.schemas_preun
|
2007-10-26 01:58:20 +02:00
|
|
|
|
2009-08-01 11:26:31 +02:00
|
|
|
%post -n libgnome-bluetooth7 -p /sbin/ldconfig
|
2009-04-07 12:55:59 +02:00
|
|
|
|
2009-08-01 11:26:31 +02:00
|
|
|
%postun -n libgnome-bluetooth7 -p /sbin/ldconfig
|
2009-04-07 12:55:59 +02:00
|
|
|
|
|
|
|
%files -f %{name}.schemas_list
|
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
|
2007-01-10 17:42:14 +01:00
|
|
|
%{_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
|
|
|
|
2009-08-01 11:26:31 +02:00
|
|
|
%files -n libgnome-bluetooth7
|
2009-04-07 12:55:59 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libgnome-bluetooth.so.*
|
2009-12-15 11:50:40 +01:00
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
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
|
|
|
|
%{_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,-)
|
|
|
|
%{_libdir}/nautilus-sendto/plugins/libnstbluetooth.so
|
|
|
|
|
2007-02-19 21:32:45 +01:00
|
|
|
%changelog
|