]> git.pld-linux.org Git - packages/kp5-bluedevil.git/blame - kp5-bluedevil.spec
- updated to 5.25.4
[packages/kp5-bluedevil.git] / kp5-bluedevil.spec
CommitLineData
d3cf094e
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
21b79286 4%define kdeplasmaver 5.25.4
e7d8cc99 5%define qtver 5.15.2
3c9d5c23
AM
6%define kpname bluedevil
7Summary: Integrate the Bluetooth technology within KDE workspace and applications
8Name: kp5-%{kpname}
21b79286 9Version: 5.25.4
bcaffc62 10Release: 1
3c9d5c23
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
4a020821 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
21b79286 14# Source0-md5: a6c95ad969503a0c4f7fa61b457405c1
3c9d5c23
AM
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel >= %{qtver}
f5e25078 17BuildRequires: Qt5Quick-devel >= %{qtver}
5a8c3da0 18BuildRequires: Qt5Widgets-devel >= %{qtver}
3c9d5c23
AM
19BuildRequires: cmake >= 2.8.12
20BuildRequires: kf5-bluez-qt-devel
21BuildRequires: kf5-extra-cmake-modules >= 1.4.0
e963218a 22BuildRequires: kf5-kconfigwidgets-devel
60ceb037
KM
23BuildRequires: kf5-kdbusaddons-devel
24BuildRequires: kf5-kdeclarative-devel
bcaffc62 25BuildRequires: kf5-kded-devel
2c6013c1 26BuildRequires: kf5-ki18n-devel
60ceb037 27BuildRequires: kf5-kio-devel
e963218a 28BuildRequires: kf5-kirigami2-devel
60ceb037
KM
29BuildRequires: kf5-knotifications-devel
30BuildRequires: kf5-kwidgetsaddons-devel
31BuildRequires: kf5-kwindowsystem-devel
32BuildRequires: kf5-plasma-framework-devel
f93e4518 33BuildRequires: ninja
3c9d5c23
AM
34BuildRequires: qt5-build >= %{qtver}
35BuildRequires: rpmbuild(macros) >= 1.164
36BuildRequires: tar >= 1:1.22
37BuildRequires: xz
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41Integrate the Bluetooth technology within KDE workspace and
42applications.
43
44%prep
45%setup -q -n %{kpname}-%{version}
46
47%build
48install -d build
49cd build
f93e4518 50%cmake -G Ninja \
d3cf094e 51 %{!?with_tests:-DBUILD_TESTING=OFF} \
3c9d5c23 52 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
1f740011 53 -DHTML_INSTALL_DIR=%{_kdedocdir} \
3c9d5c23 54 ..
f93e4518 55%ninja_build
3c9d5c23 56
d3cf094e
WF
57%if %{with tests}
58ctest
59%endif
60
3c9d5c23
AM
61%install
62rm -rf $RPM_BUILD_ROOT
f93e4518 63%ninja_install -C build
3c9d5c23 64
4078cbbc 65%find_lang bluedevil --all-name --with-kde
3c9d5c23
AM
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files -f bluedevil.lang
74%defattr(644,root,root,755)
75%attr(755,root,root) %{_bindir}/bluedevil-sendfile
76%attr(755,root,root) %{_bindir}/bluedevil-wizard
3c9d5c23 77%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/bluedevil.so
5a054feb
WF
78%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/kio_bluetooth.so
79%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/kio_obexftp.so
3c9d5c23 80%dir %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth
7cbc7d12 81%{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/qmldir
3c9d5c23
AM
82%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/plasma/private/bluetooth/libbluetoothplugin.so
83%{_desktopdir}/org.kde.bluedevilsendfile.desktop
84%{_desktopdir}/org.kde.bluedevilwizard.desktop
85%dir %{_datadir}/bluedevilwizard
86%{_datadir}/bluedevilwizard/pin-code-database.xml
87%{_datadir}/knotifications5/bluedevil.notifyrc
3c9d5c23
AM
88%{_datadir}/mime/packages/bluedevil-mime.xml
89%{_datadir}/plasma/plasmoids/org.kde.plasma.bluetooth
90%{_datadir}/remoteview/bluetooth-network.desktop
8493e1c0 91%{_datadir}/metainfo/org.kde.plasma.bluetooth.appdata.xml
1f740011
WF
92%dir %{_datadir}/kpackage/kcms/kcm_bluetooth
93%dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents
94%dir %{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui
1f740011
WF
95%{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/Device.qml
96%{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/General.qml
ade89296 97%{_datadir}/kservices5/plasma-applet-org.kde.plasma.bluetooth.desktop
8430882a
WF
98%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_bluetooth.so
99%{_desktopdir}/kcm_bluetooth.desktop
100%{_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/main.qml
101%{_datadir}/qlogging-categories5/bluedevil.categories
This page took 0.60371 seconds and 4 git commands to generate.