5c601772da
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-bluetooth?expand=0&rev=27
158 lines
5.0 KiB
RPMSpec
158 lines
5.0 KiB
RPMSpec
#
|
|
# spec file for package gnome-bluetooth (Version 2.27.90)
|
|
#
|
|
# Copyright (c) 2009 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-bluetooth
|
|
BuildRequires: fdupes
|
|
BuildRequires: gconf2-devel
|
|
# FIXME: fails to build with it as of 2.27.8
|
|
# BuildRequires: gir-repository
|
|
BuildRequires: gnome-doc-utils-devel
|
|
# FIXME: fails to build with it as of 2.27.8
|
|
# BuildRequires: gobject-introspection-devel
|
|
BuildRequires: hal-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libunique-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
License: GPL v2 or later
|
|
Group: System/GUI/GNOME
|
|
Version: 2.27.90
|
|
Release: 1
|
|
Summary: GNOME Bluetooth graphical utilities
|
|
Url: http://usefulinc.com/software/gnome-bluetooth/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
|
|
Provides: bluez-gnome = 1.8
|
|
Obsoletes: bluez-gnome < 1.8
|
|
Requires: %{name}-lang = %{version}
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
The gnome-bluetooth package contains graphical utilities to setup,
|
|
monitor and use Bluetooth devices.
|
|
|
|
%package devel
|
|
License: GPL v2 or later
|
|
Summary: GNOME Bluetooth Support
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version} 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-bluetooth7
|
|
License: GPL v2 or later
|
|
Summary: GNOME Bluetooth graphical utilities
|
|
Group: System/GUI/GNOME
|
|
Obsoletes: libgnomebt1 <= 0.12
|
|
|
|
%description -n libgnome-bluetooth7
|
|
The gnome-bluetooth package contains graphical utilities to setup,
|
|
monitor and use Bluetooth devices.
|
|
|
|
%package plugins-geoclue
|
|
License: GPL v2 or later
|
|
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.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure --disable-schemas-install \
|
|
--disable-icon-update \
|
|
--disable-scrollkeeper \
|
|
--disable-desktop-update
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%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
|
|
%find_lang %{name} %{name}2.lang
|
|
%find_gconf_schemas
|
|
%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 libgnome-bluetooth7 -p /sbin/ldconfig
|
|
|
|
%postun -n libgnome-bluetooth7 -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.schemas_list
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/bluetooth-*
|
|
%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
|
|
%{_datadir}/applications/bluetooth-properties.desktop
|
|
%{_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-bluetooth7
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/libgnome-bluetooth.so.*
|
|
|
|
%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
|
|
|
|
%changelog
|