Hrvoje Senjan 2015-11-27 20:21:06 +00:00 committed by Git OBS Bridge
parent 3fc7b605f0
commit 873e55b50f

View File

@ -27,6 +27,7 @@ Source: %{name}-%{version}.tar.xz
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: kf5-filesystem
BuildRequires: pam-config
BuildRequires: pam-devel
BuildRequires: cmake(KF5Crash) >= 5.15.0
BuildRequires: cmake(KF5DBusAddons) >= 5.15.0
@ -49,8 +50,12 @@ BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xi)
BuildRequires: pam-config
Requires(post): pam-config
%if %{with lang}
Recommends: %{name}-lang
%else
Obsoletes: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -73,11 +78,12 @@ Requires: cmake(Qt5X11Extras) >= 5.5.0
%description devel
Development files for Library and components for secure lock screen architecture.
%lang_package
%prep
%setup -q -n %{name}-%{version}
%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
%install
@ -93,6 +99,13 @@ Development files for Library and components for secure lock screen architecture
%postun -n libKScreenLocker5 -p /sbin/ldconfig
%if %{with lang}
%files
%defattr(-,root,root)
%doc COPYING*
%{_kf5_localedir}/
%endif
%files
%defattr(-,root,root)
%doc COPYING*