2007-01-10 17:42:14 +01:00
|
|
|
#
|
2011-02-18 15:42:11 +01:00
|
|
|
# spec file for package gnome-bluetooth
|
2007-01-10 17:42:14 +01:00
|
|
|
#
|
2021-03-24 17:32:46 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2019-01-03 11:51:57 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-10 17:42:14 +01:00
|
|
|
#
|
|
|
|
|
2012-01-19 16:55:32 +01:00
|
|
|
|
2017-08-31 09:42:08 +02:00
|
|
|
%define _udevdir %(pkg-config --variable udevdir udev)
|
2007-01-10 17:42:14 +01:00
|
|
|
Name: gnome-bluetooth
|
2021-03-24 17:32:46 +01:00
|
|
|
Version: 3.34.5
|
2011-12-21 06:06:03 +01:00
|
|
|
Release: 0
|
2010-08-09 23:32:24 +02:00
|
|
|
Summary: GNOME Bluetooth graphical utilities
|
2018-03-13 09:19:08 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2010-08-09 23:32:24 +02:00
|
|
|
Group: System/GUI/GNOME
|
2018-03-22 10:43:31 +01:00
|
|
|
URL: https://wiki.gnome.org/Projects/GnomeBluetooth
|
2019-10-04 17:37:50 +02:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-bluetooth/3.34/%{name}-%{version}.tar.xz
|
2019-01-03 11:51:57 +01:00
|
|
|
|
2009-04-24 19:40:50 +02:00
|
|
|
BuildRequires: fdupes
|
2009-12-15 11:50:40 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2017-08-31 09:42:08 +02:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
2018-03-09 11:00:00 +01:00
|
|
|
BuildRequires: pkgconfig
|
2018-03-22 10:43:31 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2012-09-21 21:26:41 +02:00
|
|
|
BuildRequires: yelp-tools
|
2021-03-24 17:32:46 +01:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.44
|
2018-08-02 16:25:41 +02:00
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
2015-09-04 13:29:26 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
|
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
2018-08-02 16:25:41 +02:00
|
|
|
BuildRequires: pkgconfig(libnotify) >= 0.7.0
|
2014-05-26 13:32:25 +02:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
2010-08-09 23:32:24 +02:00
|
|
|
# Require bluez (mandatory, as per readme, bnc#622946)
|
2014-04-03 22:37:56 +02:00
|
|
|
Requires: bluez >= 5
|
2007-01-10 17:42:14 +01:00
|
|
|
|
|
|
|
%description
|
2018-03-09 11:00:00 +01:00
|
|
|
A set of graphical utilities to setup, monitor and use Bluetooth devices.
|
2007-10-26 01:58:20 +02:00
|
|
|
|
2018-03-09 11:00:00 +01:00
|
|
|
This package provides the utilities, data files and manuals for GNOME Bluetooth.
|
2007-01-10 17:42:14 +01:00
|
|
|
|
2014-04-03 22:37:56 +02:00
|
|
|
%package -n libgnome-bluetooth13
|
2018-03-09 11:00:00 +01:00
|
|
|
Summary: GNOME Bluetooth's Shared Libraries
|
|
|
|
License: LGPL-2.1-or-later
|
2011-12-21 06:06:03 +01:00
|
|
|
Group: System/Libraries
|
2009-04-07 12:55:59 +02:00
|
|
|
|
2014-04-03 22:37:56 +02:00
|
|
|
%description -n libgnome-bluetooth13
|
2018-03-09 11:00:00 +01:00
|
|
|
A set of graphical utilities to setup, monitor and use Bluetooth devices.
|
|
|
|
|
|
|
|
This package provides the GNOME Bluetooth's shared library.
|
2007-10-26 01:58:20 +02:00
|
|
|
|
2011-12-12 16:55:27 +01:00
|
|
|
%package -n typelib-1_0-GnomeBluetooth-1_0
|
2018-03-13 11:16:37 +01:00
|
|
|
Summary: Introspection bindings for the GNOME Bluetooth libraries
|
2018-03-13 09:19:08 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2011-12-21 06:06:03 +01:00
|
|
|
Group: System/Libraries
|
2011-12-12 16:55:27 +01:00
|
|
|
|
|
|
|
%description -n typelib-1_0-GnomeBluetooth-1_0
|
2018-03-09 11:00:00 +01:00
|
|
|
A set of graphical utilities to setup, monitor and use Bluetooth devices.
|
2011-12-12 16:55:27 +01:00
|
|
|
|
2018-03-09 11:00:00 +01:00
|
|
|
This package provides the GObject Introspection bindings for the GNOME Bluetooth's
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%package devel
|
2018-03-13 11:16:37 +01:00
|
|
|
Summary: Development files for the GNOME Bluetooth libraries
|
2018-03-13 09:19:08 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2018-03-09 11:00:00 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: typelib-1_0-GnomeBluetooth-1_0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A set of graphical utilities to setup, monitor and use Bluetooth devices.
|
|
|
|
|
|
|
|
This package provides the necessary files for development with GNOME Bluetooth.
|
2011-12-21 06:06:03 +01:00
|
|
|
|
2007-08-09 16:29:47 +02:00
|
|
|
%lang_package
|
2017-08-31 09:42:08 +02:00
|
|
|
|
2007-01-10 17:42:14 +01:00
|
|
|
%prep
|
2019-01-03 11:51:57 +01:00
|
|
|
%autosetup -p1
|
2018-07-23 20:11:48 +02:00
|
|
|
translation-update-upstream po gnome-bluetooth2
|
2007-01-10 17:42:14 +01:00
|
|
|
|
|
|
|
%build
|
2017-08-31 09:42:08 +02:00
|
|
|
%meson \
|
2019-01-03 11:51:57 +01:00
|
|
|
-D gtk_doc=true \
|
|
|
|
%{nil}
|
2017-08-31 09:42:08 +02:00
|
|
|
%meson_build
|
2007-01-10 17:42:14 +01:00
|
|
|
|
|
|
|
%install
|
2017-08-31 09:42:08 +02:00
|
|
|
%meson_install
|
2011-02-13 22:06:51 +01:00
|
|
|
%find_lang %{name}2 %{?no_lang_C}
|
2017-09-09 12:25:17 +02:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2007-08-09 16:29:47 +02:00
|
|
|
|
2014-04-03 22:37:56 +02:00
|
|
|
%post -n libgnome-bluetooth13 -p /sbin/ldconfig
|
|
|
|
%postun -n libgnome-bluetooth13 -p /sbin/ldconfig
|
2010-08-06 11:56:58 +02:00
|
|
|
|
2010-08-09 23:32:24 +02:00
|
|
|
%files
|
2018-03-09 11:00:00 +01:00
|
|
|
%license COPYING
|
2020-09-28 09:41:35 +02:00
|
|
|
%doc NEWS README.md
|
2009-04-07 12:55:59 +02:00
|
|
|
%{_bindir}/bluetooth-*
|
2011-04-25 11:38:08 +02:00
|
|
|
%{_datadir}/applications/bluetooth-sendto.desktop
|
2010-08-09 23:32:24 +02:00
|
|
|
%{_datadir}/gnome-bluetooth/
|
2017-08-31 09:42:08 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*bluetooth*
|
2009-04-07 12:55:59 +02:00
|
|
|
%{_mandir}/man1/bluetooth-*
|
2007-01-10 17:42:14 +01:00
|
|
|
|
2014-04-03 22:37:56 +02:00
|
|
|
%files -n libgnome-bluetooth13
|
2018-03-09 11:00:00 +01:00
|
|
|
%license COPYING.LIB
|
2009-04-07 12:55:59 +02:00
|
|
|
%{_libdir}/libgnome-bluetooth.so.*
|
2011-12-12 16:55:27 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GnomeBluetooth-1_0
|
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
|
2018-03-09 11:00:00 +01:00
|
|
|
%doc AUTHORS ChangeLog.README MAINTAINERS
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gnome-bluetooth
|
2007-01-10 17:42:14 +01:00
|
|
|
%{_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
|
2018-03-09 11:00:00 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}2.lang
|
2008-02-01 21:32:50 +01:00
|
|
|
|
2007-02-19 21:32:45 +01:00
|
|
|
%changelog
|