2122f7d342
Copy from home:vuntz:branches:GNOME:Factory/gnome-bluetooth via accept of submit request 25512 revision 8. Request was accepted with message: accepting OBS-URL: https://build.opensuse.org/request/show/25512 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-bluetooth?expand=0&rev=30
184 lines
6.0 KiB
RPMSpec
184 lines
6.0 KiB
RPMSpec
#
|
|
# spec file for package gnome-bluetooth (Version 2.29.3)
|
|
#
|
|
# 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
|
|
BuildRequires: gir-repository
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: hal-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libunique-devel
|
|
BuildRequires: nautilus-sendto-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
License: GPL v2 or later
|
|
Group: System/GUI/GNOME
|
|
Version: 2.29.3
|
|
# FIXME: en@shaw is always removed; fix it when new filesystem package is accepted in factory
|
|
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
|
|
Patch0: lxde-support.patch
|
|
# PATCH-FIX-UPSTREAM gnome-bluetooth-introspection-install.patch bgo603704 vuntz@opensuse.org -- Fix introspection data installation
|
|
Patch1: gnome-bluetooth-introspection-install.patch
|
|
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.
|
|
|
|
%package -n nautilus-sendto-plugin-bluetooth
|
|
License: GPL v2 or later
|
|
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
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure --disable-schemas-install \
|
|
--disable-icon-update \
|
|
--disable-scrollkeeper \
|
|
--disable-desktop-update \
|
|
--enable-introspection
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%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 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.*
|
|
%{_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,-)
|
|
%{_libdir}/nautilus-sendto/plugins/libnstbluetooth.so
|
|
|
|
%changelog
|