1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust |
3 |
# This package is part of the KDE Stack. |
4 |
# |
5 |
|
6 |
%define rel 1 |
7 |
|
8 |
Summary: Library and components for secure lock screen architecture |
9 |
Name: kscreenlocker |
10 |
Version: 5.8.3 |
11 |
Release: %mkrel %rel |
12 |
License: GPLv2+ |
13 |
Group: System/Base |
14 |
Source0: http://fr2.rpmfind.net/linux/KDE/stable/plasma/%{name}-%{version}.tar.xz |
15 |
URL: https://www.kde.org/ |
16 |
|
17 |
BuildRequires: kf5-macros |
18 |
BuildRequires: plasma-framework-devel |
19 |
BuildRequires: kcmutils-devel |
20 |
BuildRequires: kdeclarative-devel |
21 |
BuildRequires: kidletime-devel |
22 |
BuildRequires: kdelibs4support-devel |
23 |
BuildRequires: kcrash-devel |
24 |
BuildRequires: kglobalaccel-devel |
25 |
BuildRequires: kwayland-devel |
26 |
|
27 |
BuildRequires: pkgconfig(Qt5Core) |
28 |
BuildRequires: pkgconfig(Qt5Widgets) |
29 |
BuildRequires: pkgconfig(Qt5Quick) |
30 |
BuildRequires: pkgconfig(Qt5QuickWidgets) |
31 |
BuildRequires: pkgconfig(Qt5Test) |
32 |
BuildRequires: pkgconfig(Qt5X11Extras) |
33 |
|
34 |
BuildRequires: pkgconfig(xcb-keysyms) |
35 |
BuildRequires: pkgconfig(xcursor) |
36 |
BuildRequires: pkgconfig(xi) |
37 |
BuildRequires: pam-devel |
38 |
|
39 |
BuildRequires: libxml2-utils |
40 |
BuildRequires: docbook-dtds |
41 |
BuildRequires: docbook-style-xsl |
42 |
|
43 |
Requires: kidletime |
44 |
|
45 |
Conflicts: plasma-workspace < 5.4.90 |
46 |
Conflicts: kde-l10n < 15.10.0 |
47 |
|
48 |
%description |
49 |
Library and components for secure lock screen architecture. |
50 |
|
51 |
%files -f %name.lang |
52 |
%_qt5_plugindir/screenlocker_kcm.so |
53 |
%attr(4755,root,root) %_libexecdir/kcheckpass |
54 |
%_libexecdir/kscreenlocker_greet |
55 |
%_datadir/dbus-1/interfaces/kf5_org.freedesktop.ScreenSaver.xml |
56 |
%_kf5_datadir/kconf_update/kscreenlocker.upd |
57 |
%_kf5_datadir/kconf_update/ksreenlocker_5_3_separate_autologin.pl |
58 |
%_kf5_datadir/knotifications5/ksmserver.notifyrc |
59 |
%_kf5_datadir/kservices5/screenlocker.desktop |
60 |
%_kf5_datadir/ksmserver/screenlocker/org.kde.passworddialog |
61 |
|
62 |
#-------------------------------------------------------------------- |
63 |
|
64 |
%define kscreenlocker_major 5 |
65 |
%define libkscreenlocker %mklibname kscreenlocker %{kscreenlocker_major} |
66 |
|
67 |
%package -n %libkscreenlocker |
68 |
Summary: Library and components for secure lock screen architecture |
69 |
Group: System/Libraries |
70 |
|
71 |
%description -n %libkscreenlocker |
72 |
Library and components for secure lock screen architecture. |
73 |
|
74 |
%files -n %libkscreenlocker |
75 |
%_kf5_libdir/libKScreenLocker.so.%{kscreenlocker_major}* |
76 |
|
77 |
#-------------------------------------------------------------------- |
78 |
|
79 |
%define kscreenlocker_devel %mklibname kscreenlocker -d |
80 |
|
81 |
%package -n %kscreenlocker_devel |
82 |
|
83 |
Summary: Devel stuff for %name |
84 |
Group: Development/KDE and Qt |
85 |
Requires: %name = %{version}-%{release} |
86 |
Requires: %libkscreenlocker = %{version}-%{release} |
87 |
|
88 |
Requires: pkgconfig(Qt5DBus) |
89 |
|
90 |
Provides: %name-devel = %{version}-%{release} |
91 |
|
92 |
%description -n %kscreenlocker_devel |
93 |
This package contains header files needed if you wish to build applications |
94 |
based on %name. |
95 |
|
96 |
%files -n %kscreenlocker_devel |
97 |
%_kf5_libdir/libKScreenLocker.so |
98 |
%_includedir/KScreenLocker |
99 |
%_kf5_libdir/cmake/KScreenLocker |
100 |
%_kf5_libdir/cmake/ScreenSaverDBusInterface |
101 |
|
102 |
#-------------------------------------------------------------------- |
103 |
|
104 |
|
105 |
%prep |
106 |
%setup -q |
107 |
%autopatch -p1 |
108 |
|
109 |
%build |
110 |
%cmake_kf5 -DSYSCONF_INSTALL_DIR="%_sysconfdir" |
111 |
%make_build |
112 |
|
113 |
%install |
114 |
%make_install -C build |
115 |
|
116 |
%find_lang --all-name %name |