]>
Commit | Line | Data |
---|---|---|
2869c235 | 1 | %define kdeplasmaver 5.22.4 |
0003ff91 | 2 | %define qtver 5.9.0 |
3c9d5c23 AM |
3 | %define kpname bluedevil |
4 | Summary: Integrate the Bluetooth technology within KDE workspace and applications | |
5 | Name: kp5-%{kpname} | |
2869c235 | 6 | Version: 5.22.4 |
bcaffc62 | 7 | Release: 1 |
3c9d5c23 AM |
8 | License: GPL v2+/LGPL v2.1+ |
9 | Group: X11/Libraries | |
10 | Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
2869c235 | 11 | # Source0-md5: 3d7abfe0952b356cc12cbd75be14f5e0 |
3c9d5c23 AM |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | BuildRequires: cmake >= 2.8.12 | |
15 | BuildRequires: kf5-bluez-qt-devel | |
16 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 | |
bcaffc62 | 17 | BuildRequires: kf5-kded-devel |
f93e4518 | 18 | BuildRequires: ninja |
3c9d5c23 AM |
19 | BuildRequires: qt5-build >= %{qtver} |
20 | BuildRequires: rpmbuild(macros) >= 1.164 | |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Integrate the Bluetooth technology within KDE workspace and | |
27 | applications. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{kpname}-%{version} | |
31 | ||
32 | %build | |
33 | install -d build | |
34 | cd build | |
f93e4518 | 35 | %cmake -G Ninja \ |
3c9d5c23 | 36 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
1f740011 | 37 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
3c9d5c23 | 38 | .. |
f93e4518 | 39 | %ninja_build |
3c9d5c23 AM |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
f93e4518 | 43 | %ninja_install -C build |
3c9d5c23 | 44 | |
4078cbbc | 45 | %find_lang bluedevil --all-name --with-kde |
3c9d5c23 AM |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %post -p /sbin/ldconfig | |
51 | %postun -p /sbin/ldconfig | |
52 | ||
53 | %files -f bluedevil.lang | |
54 | %defattr(644,root,root,755) | |
55 | %attr(755,root,root) %{_bindir}/bluedevil-sendfile | |
56 | %attr(755,root,root) %{_bindir}/bluedevil-wizard | |
3c9d5c23 | 57 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/bluedevil.so |
3c9d5c23 AM |
58 | %attr(755,root,root) %{_libdir}/qt5/plugins/kio_bluetooth.so |
59 | %attr(755,root,root) %{_libdir}/qt5/plugins/kio_obexftp.so | |
60 | %dir %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth | |
7cbc7d12 | 61 | %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/qmldir |
3c9d5c23 AM |
62 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/libbluetoothplugin.so |
63 | %{_desktopdir}/org.kde.bluedevilsendfile.desktop | |
64 | %{_desktopdir}/org.kde.bluedevilwizard.desktop | |
65 | %dir %{_datadir}/bluedevilwizard | |
66 | %{_datadir}/bluedevilwizard/pin-code-database.xml | |
67 | %{_datadir}/knotifications5/bluedevil.notifyrc | |
3c9d5c23 AM |
68 | %{_datadir}/kservices5/bluetooth.protocol |
69 | %{_datadir}/kservices5/obexftp.protocol | |
3c9d5c23 AM |
70 | %{_datadir}/mime/packages/bluedevil-mime.xml |
71 | %{_datadir}/plasma/plasmoids/org.kde.plasma.bluetooth | |
72 | %{_datadir}/remoteview/bluetooth-network.desktop | |
8493e1c0 | 73 | %{_datadir}/metainfo/org.kde.plasma.bluetooth.appdata.xml |
1f740011 WF |
74 | %{_libdir}/qt5/plugins/kcms/kcm_bluetooth.so |
75 | %dir %{_datadir}/kpackage/kcms/kcm_bluetooth | |
76 | %dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents | |
77 | %dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui | |
78 | %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/Bluetooth.qml | |
79 | %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/Device.qml | |
80 | %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/General.qml | |
81 | %{_datadir}/kpackage/kcms/kcm_bluetooth/metadata.desktop | |
82 | %{_datadir}/kpackage/kcms/kcm_bluetooth/metadata.json | |
83 | %{_datadir}/kservices5/bluetooth.desktop |