blob: 40fb6f4f0fb4763fec70957acdf41291f0413d72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
Name: bluedevil
Summary: Bluetooth stack for KDE
Version: 5.25.5
Release: 1
License: GPLv2+
URL: https://cgit.kde.org/%{name}.git
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros >= 5.25.0-2
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kwidgetsaddons-devel
BuildRequires: kf5-kdbusaddons-devel
BuildRequires: kf5-knotifications-devel
BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-kdeclarative-devel
BuildRequires: kf5-plasma-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kio-devel
BuildRequires: kf5-bluez-qt-devel >= 5.11
BuildRequires: kf5-kded-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: shared-mime-info
BuildRequires: desktop-file-utils
Provides: dbus-bluez-pin-helper
Obsoletes: kbluetooth < 0.4.2-3
Obsoletes: bluedevil-devel < 2.0.0-0.10
Requires: bluez >= 5
Requires: kf5-kded
Requires: pulseaudio-module-bluetooth
Obsoletes: bluedevil-autostart < 5.2.95
%description
BlueDevil is the bluetooth stack for KDE.
%prep
%autosetup -n %{name}-%{version} -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --all-name --with-html
%check
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.bluedevilsendfile.desktop
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.bluedevilwizard.desktop
%files -f %{name}.lang
%doc README
%{_kf5_bindir}/bluedevil-sendfile
%{_kf5_bindir}/bluedevil-wizard
%{_kf5_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/*.qml
%{_kf5_qtplugindir}/kf5/kio/
%{_kf5_qtplugindir}/plasma/kcms/systemsettings/kcm_bluetooth.so
%{_kf5_plugindir}/kded/*.so
%{_kf5_datadir}/remoteview/bluetooth-network.desktop
%{_kf5_datadir}/kservices5/*.desktop
%{_kf5_datadir}/knotifications5/bluedevil.notifyrc
%{_kf5_datadir}/applications/kcm_bluetooth.desktop
%{_kf5_datadir}/applications/org.kde.bluedevilsendfile.desktop
%{_kf5_datadir}/applications/org.kde.bluedevilwizard.desktop
%{_kf5_datadir}/bluedevilwizard/
%{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.bluetooth
%{_kf5_qmldir}/org/kde/plasma/private/bluetooth/
%{_kf5_metainfodir}/org.kde.plasma.bluetooth.appdata.xml
%{_datadir}/mime/packages/*.xml
%{_kf5_datadir}/qlogging-categories5/bluedevil.categories
%changelog
* Tue Dec 20 2022 misaka00251 <liuxin@iscas.ac.cn> - 5.25.5-1
- Init package
|