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