]> git.pld-linux.org Git - packages/kp5-kscreenlocker.git/blame - kp5-kscreenlocker.spec
- updated to 5.27.8
[packages/kp5-kscreenlocker.git] / kp5-kscreenlocker.spec
CommitLineData
d3f73be0
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e14e7c8b 4%define kdeplasmaver 5.27.8
39f64acc 5%define qtver 5.15.2
34090517
WF
6%define kf5ver 5.19.0
7%define kpname kscreenlocker
34090517
WF
8Summary: kscreenlocker
9Name: kp5-%{kpname}
e14e7c8b 10Version: 5.27.8
f069f969 11Release: 1
34090517
WF
12License: LGPL v2.1+
13Group: X11/Libraries
6fa5e4f7 14Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
e14e7c8b 15# Source0-md5: 13a3822bbc70cbbb38ffaeedd44998af
34090517
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= %{qtver}
19BuildRequires: Qt5Network-devel >= %{qtver}
20BuildRequires: Qt5Qml-devel >= %{qtver}
21BuildRequires: Qt5Quick-devel >= %{qtver}
22BuildRequires: Qt5Test-devel >= %{qtver}
23BuildRequires: Qt5Widgets-devel >= %{qtver}
24BuildRequires: Qt5X11Extras-devel >= %{qtver}
0b2e05cb 25BuildRequires: cmake >= 3.16.0
34090517
WF
26BuildRequires: gettext-devel
27BuildRequires: kf5-kcmutils-devel >= %{kf5ver}
28BuildRequires: kf5-kcrash-devel >= %{kf5ver}
29BuildRequires: kf5-kdeclarative-devel >= %{kf5ver}
30BuildRequires: kf5-kdelibs4support-devel >= %{kf5ver}
31BuildRequires: kf5-kglobalaccel-devel >= %{kf5ver}
32BuildRequires: kf5-kidletime-devel >= %{kf5ver}
5fa04825 33BuildRequires: kf5-kwayland-devel
a6326003 34BuildRequires: kf5-plasma-framework-devel >= %{kf5ver}
71656b29 35BuildRequires: kp5-layer-shell-qt-devel >= %{kdeplasmaver}
18d1937a 36BuildRequires: kp5-libkscreen-devel >= %{kdeplasmaver}
b06a8ce1 37BuildRequires: ninja
a646b0a7 38BuildRequires: pam-devel
34090517 39BuildRequires: rpmbuild(macros) >= 1.164
a646b0a7 40BuildRequires: xcb-util-keysyms-devel
34090517
WF
41BuildRequires: xorg-lib-libX11-devel
42BuildRequires: xz
43BuildRequires: zlib-devel
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%define qt5dir %{_libdir}/qt5
47
48%description
49kscreenlocker
50
51%package devel
52Summary: Header files for %{kpname} development
53Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
54Group: X11/Development/Libraries
55Requires: %{name} = %{version}-%{release}
56
57%description devel
58Header files for %{kpname} development.
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe dla programistów używających %{kpname}.
62
63%prep
64%setup -q -n %{kpname}-%{version}
65
66%build
0b2e05cb
WF
67%cmake -B build \
68 -G Ninja \
d3f73be0 69 %{!?with_tests:-DBUILD_TESTING=OFF} \
34090517 70 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
0b2e05cb
WF
71 -DHTML_INSTALL_DIR=%{_kdedocdir}
72%ninja_build -C build
34090517 73
d3f73be0
WF
74%if %{with tests}
75ctest
76%endif
77
34090517
WF
78%install
79rm -rf $RPM_BUILD_ROOT
b06a8ce1 80%ninja_install -C build
34090517
WF
81
82%find_lang %{kpname}5 --all-name --with-kde
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%files -f %{kpname}5.lang
91%defattr(644,root,root,755)
a6326003 92%attr(755,root,root) %{_prefix}/libexec/kscreenlocker_greet
39bcede0 93%ghost %{_libdir}/libKScreenLocker.so.5
34090517 94%attr(755,root,root) %{_libdir}/libKScreenLocker.so.*.*
34090517 95%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.ScreenSaver.xml
a6326003 96%{_datadir}/dbus-1/interfaces/org.kde.screensaver.xml
34090517 97%{_datadir}/kconf_update/kscreenlocker.upd
f40ded01 98%attr(755,root,root) %{_datadir}/kconf_update/ksreenlocker_5_3_separate_autologin.pl
34090517 99%{_datadir}/knotifications5/ksmserver.notifyrc
385b26e0 100%dir %{_datadir}/ksmserver
78dd9465 101%dir %{_datadir}/ksmserver/screenlocker
ea3e991c 102%dir %{_datadir}/ksmserver/screenlocker/org.kde.passworddialog
34090517 103%{_datadir}/ksmserver/screenlocker/org.kde.passworddialog/metadata.desktop
4be12f7b
WF
104%dir %{_datadir}/kpackage/kcms/kcm_screenlocker
105%dir %{_datadir}/kpackage/kcms/kcm_screenlocker/contents
106%dir %{_datadir}/kpackage/kcms/kcm_screenlocker/contents/ui
107%{_datadir}/kpackage/kcms/kcm_screenlocker/contents/ui/Appearance.qml
108%{_datadir}/kpackage/kcms/kcm_screenlocker/contents/ui/LnfConfig.qml
109%{_datadir}/kpackage/kcms/kcm_screenlocker/contents/ui/WallpaperConfig.qml
110%{_datadir}/kpackage/kcms/kcm_screenlocker/contents/ui/main.qml
6fa5e4f7
WF
111%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_screenlocker.so
112%{_desktopdir}/kcm_screenlocker.desktop
dc1f3170 113%{_datadir}/qlogging-categories5/kscreenlocker.categories
34090517
WF
114
115%files devel
116%defattr(644,root,root,755)
117%{_includedir}/KScreenLocker
118%{_libdir}/cmake/KScreenLocker
78dd9465 119%dir %{_libdir}/cmake/ScreenSaverDBusInterface
34090517
WF
120%{_libdir}/cmake/ScreenSaverDBusInterface/ScreenSaverDBusInterfaceConfig.cmake
121%{_libdir}/libKScreenLocker.so
This page took 0.388678 seconds and 4 git commands to generate.