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