]> git.pld-linux.org Git - packages/kp5-plasma-thunderbolt.git/blame - kp5-plasma-thunderbolt.spec
- updated to 5.26.0
[packages/kp5-plasma-thunderbolt.git] / kp5-plasma-thunderbolt.spec
CommitLineData
bf9f99d9
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e67049fd 4%define kdeplasmaver 5.26.0
68d05822 5%define qtver 5.15.2
1b7cfc85
WF
6%define kpname plasma-thunderbolt
7%define kf5ver 5.39.0
8
9Summary: plasma-nm
10Name: kp5-%{kpname}
e67049fd 11Version: 5.26.0
1b7cfc85
WF
12Release: 1
13License: LGPL v2.1+
14Group: X11/Libraries
b9869451 15Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
e67049fd 16# Source0-md5: 5ee5a236655a8e08d9ac084f3b54c5b2
1b7cfc85
WF
17URL: http://www.kde.org/
18BuildRequires: Qt5Core-devel >= 5.15.0
19BuildRequires: Qt5DBus-devel >= 5.15.0
20BuildRequires: Qt5Gui-devel >= 5.15.0
21BuildRequires: Qt5Network-devel >= 5.15.2
22BuildRequires: Qt5Qml-devel >= 5.15.2
23BuildRequires: Qt5Quick-devel >= 5.15.0
24BuildRequires: cmake >= 2.8.12
25BuildRequires: gettext-devel
26BuildRequires: kf5-extra-cmake-modules >= 5.70
27BuildRequires: kf5-kauth-devel >= 5.85.0
28BuildRequires: kf5-kcmutils-devel >= 5.70
29BuildRequires: kf5-kcodecs-devel >= 5.85.0
30BuildRequires: kf5-kconfig-devel >= 5.85.0
31BuildRequires: kf5-kcoreaddons-devel >= 5.85.0
32BuildRequires: kf5-kdbusaddons-devel >= 5.70
33BuildRequires: kf5-kdeclarative-devel >= 5.70
34BuildRequires: kf5-ki18n-devel >= 5.70
35BuildRequires: kf5-knotifications-devel >= 5.70
36BuildRequires: kf5-kpackage-devel >= 5.85.0
37BuildRequires: kf5-kservice-devel >= 5.85.0
38BuildRequires: ninja
39BuildRequires: pkgconfig
40BuildRequires: rpmbuild(macros) >= 1.164
41BuildRequires: xz
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%define qt5dir %{_libdir}/qt5
45
46%description
47This repository contains a Plasma Sytem Settings module and a KDED
48module to handle authorization of Thunderbolt devices connected to the
49computer. There's also a shared library (libkbolt) that implements
50common interface between the modules and the system-wide bolt daemon,
51which does the actual hard work of talking to the kernel.
52
53%prep
54%setup -q -n %{kpname}-%{version}
55
56%build
57install -d build
58cd build
59%cmake -G Ninja \
bf9f99d9 60 %{!?with_tests:-DBUILD_TESTING=OFF} \
1b7cfc85
WF
61 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62 -DHTML_INSTALL_DIR=%{_kdedocdir} \
63 ../
64%ninja_build
65
bf9f99d9
WF
66%if %{with tests}
67ctest
68%endif
69
1b7cfc85
WF
70%install
71rm -rf $RPM_BUILD_ROOT
72%ninja_install -C build
73
74%find_lang %{kpname} --all-name --with-kde
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files -f %{kpname}.lang
83%defattr(644,root,root,755)
84%{_libdir}/libkbolt.so
1b7cfc85
WF
85%{_libdir}/qt5/plugins/kf5/kded/kded_bolt.so
86%{_datadir}/knotifications5/kded_bolt.notifyrc
87%dir %{_datadir}/kpackage/kcms/kcm_bolt
88%dir %{_datadir}/kpackage/kcms/kcm_bolt/contents
89%dir %{_datadir}/kpackage/kcms/kcm_bolt/contents/ui
90%{_datadir}/kpackage/kcms/kcm_bolt/contents/ui/DeviceList.qml
91%{_datadir}/kpackage/kcms/kcm_bolt/contents/ui/DeviceView.qml
92%{_datadir}/kpackage/kcms/kcm_bolt/contents/ui/main.qml
93%{_datadir}/kpackage/kcms/kcm_bolt/contents/ui/utils.js
195776e3
WF
94%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_bolt.so
95%{_desktopdir}/kcm_bolt.desktop
This page took 0.275061 seconds and 4 git commands to generate.