]>
Commit | Line | Data |
---|---|---|
e46e31ef | 1 | %define kdeplasmaver 5.23.5 |
04d1e2c7 WF |
2 | %define qtver 5.9.0 |
3 | %define kpname plymouth-kcm | |
4 | ||
5 | Summary: KDE Config Module for Plyouth | |
6 | Name: kp5-%{kpname} | |
e46e31ef | 7 | Version: 5.23.5 |
04d1e2c7 WF |
8 | Release: 1 |
9 | License: LGPL v2.1+ | |
10 | Group: X11/Libraries | |
11 | Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
e46e31ef | 12 | # Source0-md5: aa4fe0741ed7193761b65b0b938cc82d |
04d1e2c7 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= 5.15.0 | |
15 | BuildRequires: Qt5Gui-devel >= 5.15.0 | |
16 | BuildRequires: Qt5Network-devel >= 5.15.0 | |
17 | BuildRequires: Qt5Qml-devel >= 5.15.2 | |
18 | BuildRequires: Qt5Quick-devel >= 5.15.0 | |
19 | BuildRequires: cmake >= 2.8.12 | |
20 | BuildRequires: gettext-devel | |
21 | BuildRequires: kf5-extra-cmake-modules >= 5.82 | |
22 | BuildRequires: kf5-karchive-devel >= 5.82 | |
23 | BuildRequires: kf5-kconfig-devel >= 5.82 | |
24 | BuildRequires: kf5-kdeclarative-devel >= 5.82 | |
25 | BuildRequires: kf5-ki18n-devel >= 5.82 | |
26 | BuildRequires: kf5-kio-devel >= 5.82 | |
27 | BuildRequires: kf5-knewstuff-devel >= 5.82 | |
28 | BuildRequires: ninja | |
29 | BuildRequires: plymouth-devel | |
30 | BuildRequires: rpmbuild(macros) >= 1.164 | |
31 | BuildRequires: xz | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %define qt5dir %{_libdir}/qt5 | |
35 | ||
36 | %description | |
37 | KDE Config Module for Plymouth. | |
38 | ||
39 | %prep | |
40 | %setup -q -n %{kpname}-%{version} | |
41 | ||
42 | %build | |
43 | install -d build | |
44 | cd build | |
45 | %cmake -G Ninja \ | |
46 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
47 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
48 | ../ | |
49 | %ninja_build | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | %ninja_install -C build | |
54 | ||
55 | %find_lang %{kpname} --all-name --with-kde | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post -p /sbin/ldconfig | |
61 | %postun -p /sbin/ldconfig | |
62 | ||
63 | %files -f %{kpname}.lang | |
64 | %defattr(644,root,root,755) | |
65 | %attr(755,root,root) %{_bindir}/kplymouththemeinstaller | |
66 | %{_libdir}/qt5/plugins/kcms/kcm_plymouth.so | |
67 | %attr(755,root,root) %{_prefix}/libexec/kauth/plymouthhelper | |
68 | %{_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmplymouth.service | |
69 | %{_datadir}/dbus-1/system.d/org.kde.kcontrol.kcmplymouth.conf | |
70 | %{_datadir}/knsrcfiles/plymouth.knsrc | |
71 | %dir %{_datadir}/kpackage/kcms/kcm_plymouth | |
72 | %dir %{_datadir}/kpackage/kcms/kcm_plymouth/contents | |
73 | %dir %{_datadir}/kpackage/kcms/kcm_plymouth/contents/ui | |
74 | %{_datadir}/kpackage/kcms/kcm_plymouth/contents/ui/main.qml | |
75 | %{_datadir}/kpackage/kcms/kcm_plymouth/metadata.desktop | |
76 | %{_datadir}/kpackage/kcms/kcm_plymouth/metadata.json | |
77 | %{_datadir}/kservices5/kcm_plymouth.desktop | |
78 | %{_datadir}/polkit-1/actions/org.kde.kcontrol.kcmplymouth.policy |