1 %define kdeplasmaver 5.23.4
3 %define kpname bluedevil
4 Summary: Integrate the Bluetooth technology within KDE workspace and applications
8 License: GPL v2+/LGPL v2.1+
10 Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5: 129d38e7781b6b8de4228d5798a43cfb
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: Qt5Widgets-devel >= %{qtver}
15 BuildRequires: cmake >= 2.8.12
16 BuildRequires: kf5-bluez-qt-devel
17 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
18 BuildRequires: kf5-kded-devel
20 BuildRequires: qt5-build >= %{qtver}
21 BuildRequires: rpmbuild(macros) >= 1.164
22 BuildRequires: tar >= 1:1.22
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Integrate the Bluetooth technology within KDE workspace and
31 %setup -q -n %{kpname}-%{version}
37 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
38 -DHTML_INSTALL_DIR=%{_kdedocdir} \
43 rm -rf $RPM_BUILD_ROOT
44 %ninja_install -C build
46 %find_lang bluedevil --all-name --with-kde
49 rm -rf $RPM_BUILD_ROOT
51 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
54 %files -f bluedevil.lang
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/bluedevil-sendfile
57 %attr(755,root,root) %{_bindir}/bluedevil-wizard
58 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/bluedevil.so
59 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/kio_bluetooth.so
60 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/kio_obexftp.so
61 %dir %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth
62 %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/qmldir
63 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/libbluetoothplugin.so
64 %{_desktopdir}/org.kde.bluedevilsendfile.desktop
65 %{_desktopdir}/org.kde.bluedevilwizard.desktop
66 %dir %{_datadir}/bluedevilwizard
67 %{_datadir}/bluedevilwizard/pin-code-database.xml
68 %{_datadir}/knotifications5/bluedevil.notifyrc
69 %{_datadir}/mime/packages/bluedevil-mime.xml
70 %{_datadir}/plasma/plasmoids/org.kde.plasma.bluetooth
71 %{_datadir}/remoteview/bluetooth-network.desktop
72 %{_datadir}/metainfo/org.kde.plasma.bluetooth.appdata.xml
73 %{_libdir}/qt5/plugins/kcms/kcm_bluetooth.so
74 %dir %{_datadir}/kpackage/kcms/kcm_bluetooth
75 %dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents
76 %dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui
77 %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/Bluetooth.qml
78 %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/Device.qml
79 %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/General.qml
80 %{_datadir}/kpackage/kcms/kcm_bluetooth/metadata.desktop
81 %{_datadir}/kpackage/kcms/kcm_bluetooth/metadata.json
82 %{_datadir}/kservices5/bluetooth.desktop