2015-01-08 17:55:04 +00:00
|
|
|
#
|
|
|
|
# spec file for package bluedevil5
|
|
|
|
#
|
2022-01-05 11:02:34 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-09-17 18:36:39 +00:00
|
|
|
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
|
2015-01-08 17:55:04 +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.
|
|
|
|
|
2018-10-16 19:53:05 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-01-08 17:55:04 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-01-21 08:52:57 +00:00
|
|
|
# Internal QML import
|
|
|
|
%global __requires_exclude qmlimport\\(org\\.kde\\.bluedevil\\.kcm.*
|
|
|
|
|
2022-01-19 20:18:37 +00:00
|
|
|
%bcond_without released
|
2015-01-08 17:55:04 +00:00
|
|
|
Name: bluedevil5
|
2022-06-09 20:02:23 +00:00
|
|
|
Version: 5.25.0
|
2015-01-08 17:55:04 +00:00
|
|
|
Release: 0
|
2016-11-04 09:07:57 +00:00
|
|
|
Summary: Bluetooth Manager for KDE Plasma
|
2018-06-19 21:42:05 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-01-08 17:55:04 +00:00
|
|
|
Group: Hardware/Other
|
2020-02-25 18:29:54 +00:00
|
|
|
URL: http://www.kde.org/
|
2022-06-09 20:02:23 +00:00
|
|
|
Source: bluedevil-%{version}.tar.xz
|
2022-01-19 20:18:37 +00:00
|
|
|
%if %{with released}
|
2022-06-09 20:02:23 +00:00
|
|
|
Source1: bluedevil-%{version}.tar.xz.sig
|
2018-09-19 04:47:20 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2015-11-28 20:40:25 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
2015-01-08 17:55:04 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: shared-mime-info
|
2020-09-21 06:29:45 +00:00
|
|
|
BuildRequires: cmake(KDED) >= 5.72.0
|
|
|
|
BuildRequires: cmake(KF5BluezQt)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5Declarative)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Plasma)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2015-08-09 08:27:10 +00:00
|
|
|
Requires: bluez-qt-imports >= %{version}
|
|
|
|
Requires: bluez-qt-udev >= %{version}
|
2015-03-10 20:49:13 +00:00
|
|
|
# atop of the bluez itself, we also need bluez-obexd for kio_obexftp and both send/receive
|
|
|
|
Requires: bluez
|
|
|
|
# for connecting A2DP profile
|
|
|
|
Recommends: pulseaudio-module-bluetooth
|
2015-01-25 04:35:44 +00:00
|
|
|
Recommends: %{name}-lang
|
2015-01-13 20:26:31 +00:00
|
|
|
Supplements: packageand(bluez:plasma5-workspace)
|
2015-01-08 17:55:04 +00:00
|
|
|
Conflicts: bluedevil
|
|
|
|
Requires(post): shared-mime-info
|
2021-07-28 05:42:03 +00:00
|
|
|
Requires(postun):shared-mime-info
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%description
|
2016-11-04 09:07:57 +00:00
|
|
|
Bluetooth daemon for KDE Plasma, handling connections.
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%lang_package
|
2021-07-28 05:42:03 +00:00
|
|
|
|
2015-01-08 17:55:04 +00:00
|
|
|
%prep
|
2020-09-21 06:29:45 +00:00
|
|
|
%setup -q -n bluedevil-%{version}
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-06 16:37:19 +00:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2020-02-08 00:13:03 +00:00
|
|
|
%cmake_build
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2022-01-19 20:18:37 +00:00
|
|
|
%if %{with released}
|
2016-07-06 16:37:19 +00:00
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%post
|
2016-05-15 16:54:35 +00:00
|
|
|
%mime_database_post
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%postun
|
2016-05-15 16:54:35 +00:00
|
|
|
%mime_database_postun
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%files
|
2020-09-21 06:29:45 +00:00
|
|
|
%license LICENSES/*
|
2015-01-08 17:55:04 +00:00
|
|
|
%doc README
|
2017-01-13 16:33:47 +00:00
|
|
|
%dir %{_kf5_appstreamdir}/
|
2020-09-21 06:29:45 +00:00
|
|
|
%dir %{_kf5_sharedir}/kpackage
|
|
|
|
%dir %{_kf5_sharedir}/kpackage/kcms
|
2022-01-19 20:18:37 +00:00
|
|
|
%{_kf5_applicationsdir}/kcm_bluetooth.desktop
|
|
|
|
%{_kf5_debugdir}/bluedevil.categories
|
2020-09-21 06:29:45 +00:00
|
|
|
%{_kf5_sharedir}/kpackage/kcms/kcm_bluetooth/
|
2015-01-08 17:55:04 +00:00
|
|
|
%{_kf5_sharedir}/mime/packages/bluedevil-mime.xml
|
2015-03-10 20:49:13 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.bluedevil*.desktop
|
2015-01-08 17:55:04 +00:00
|
|
|
%{_kf5_sharedir}/bluedevilwizard/
|
|
|
|
%{_kf5_bindir}/bluedevil-*
|
2015-04-10 01:37:28 +00:00
|
|
|
%{_kf5_sharedir}/remoteview/
|
2015-01-08 17:55:04 +00:00
|
|
|
%{_kf5_notifydir}/
|
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
2015-04-10 01:33:11 +00:00
|
|
|
%{_kf5_qmldir}/
|
|
|
|
%{_kf5_plasmadir}/
|
2016-09-17 18:36:39 +00:00
|
|
|
%{_kf5_appstreamdir}/*.xml
|
2015-01-08 17:55:04 +00:00
|
|
|
|
2022-01-19 20:18:37 +00:00
|
|
|
%if %{with released}
|
2016-07-06 16:37:19 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 18:56:13 +00:00
|
|
|
%endif
|
2015-01-08 17:55:04 +00:00
|
|
|
|
|
|
|
%changelog
|