This commit is contained in:
parent
3fc7b605f0
commit
873e55b50f
@ -27,6 +27,7 @@ Source: %{name}-%{version}.tar.xz
|
|||||||
BuildRequires: cmake >= 2.8.12
|
BuildRequires: cmake >= 2.8.12
|
||||||
BuildRequires: extra-cmake-modules >= 1.8.0
|
BuildRequires: extra-cmake-modules >= 1.8.0
|
||||||
BuildRequires: kf5-filesystem
|
BuildRequires: kf5-filesystem
|
||||||
|
BuildRequires: pam-config
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: cmake(KF5Crash) >= 5.15.0
|
BuildRequires: cmake(KF5Crash) >= 5.15.0
|
||||||
BuildRequires: cmake(KF5DBusAddons) >= 5.15.0
|
BuildRequires: cmake(KF5DBusAddons) >= 5.15.0
|
||||||
@ -49,8 +50,12 @@ BuildRequires: pkgconfig(xcb)
|
|||||||
BuildRequires: pkgconfig(xcb-keysyms)
|
BuildRequires: pkgconfig(xcb-keysyms)
|
||||||
BuildRequires: pkgconfig(xcursor)
|
BuildRequires: pkgconfig(xcursor)
|
||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
BuildRequires: pam-config
|
|
||||||
Requires(post): pam-config
|
Requires(post): pam-config
|
||||||
|
%if %{with lang}
|
||||||
|
Recommends: %{name}-lang
|
||||||
|
%else
|
||||||
|
Obsoletes: %{name}-lang
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -73,11 +78,12 @@ Requires: cmake(Qt5X11Extras) >= 5.5.0
|
|||||||
%description devel
|
%description devel
|
||||||
Development files for Library and components for secure lock screen architecture.
|
Development files for Library and components for secure lock screen architecture.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm
|
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -93,6 +99,13 @@ Development files for Library and components for secure lock screen architecture
|
|||||||
|
|
||||||
%postun -n libKScreenLocker5 -p /sbin/ldconfig
|
%postun -n libKScreenLocker5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING*
|
||||||
|
%{_kf5_localedir}/
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING*
|
%doc COPYING*
|
||||||
|
Loading…
Reference in New Issue
Block a user