commit 3fc7b605f0691803f6609b6da8c316d891a58e42edd3caa417741915b0351b82 Author: Hrvoje Senjan Date: Fri Nov 27 20:13:26 2015 +0000 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/kscreenlocker-5.4.95.tar.xz b/kscreenlocker-5.4.95.tar.xz new file mode 100644 index 0000000..69fe9b3 --- /dev/null +++ b/kscreenlocker-5.4.95.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f374acab07a221aaaa055750910d4e66246f9801a036c5632dd7de7d3680223 +size 96092 diff --git a/kscreenlocker.spec b/kscreenlocker.spec new file mode 100644 index 0000000..b702f07 --- /dev/null +++ b/kscreenlocker.spec @@ -0,0 +1,122 @@ +# +# spec file for package kscreenlocker +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: kscreenlocker +Version: 5.4.95 +Release: 0 +Summary: Library and components for secure lock screen architecture +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: https://projects.kde.org/kscreenlocker +Source: %{name}-%{version}.tar.xz +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: kf5-filesystem +BuildRequires: pam-devel +BuildRequires: cmake(KF5Crash) >= 5.15.0 +BuildRequires: cmake(KF5DBusAddons) >= 5.15.0 +BuildRequires: cmake(KF5Declarative) >= 5.15.0 +BuildRequires: cmake(KF5GlobalAccel) >= 5.15.0 +BuildRequires: cmake(KF5IdleTime) >= 5.15.0 +BuildRequires: cmake(KF5KCMUtils) >= 5.15.0 +BuildRequires: cmake(KF5KDELibs4Support) >= 5.15.0 +BuildRequires: cmake(KF5Plasma) >= 5.15.0 +BuildRequires: cmake(KF5Wayland) +BuildRequires: cmake(Qt5Quick) >= 5.5.0 +BuildRequires: cmake(Qt5QuickWidgets) >= 5.5.0 +BuildRequires: cmake(Qt5Test) >= 5.5.0 +BuildRequires: cmake(Qt5Widgets) >= 5.5.0 +BuildRequires: cmake(Qt5X11Extras) >= 5.5.0 +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-keysyms) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(xi) +BuildRequires: pam-config +Requires(post): pam-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Library and components for secure lock screen architecture. + +%package -n libKScreenLocker5 +Summary: Library and components for secure lock screen architecture +Group: System/GUI/KDE + +%description -n libKScreenLocker5 +Library and components for secure lock screen architecture. + +%package devel +Summary: Library and components for secure lock screen architecture - development files +Group: Development/Libraries/C and C++ +Requires: libKScreenLocker5 = %{version} +Requires: cmake(Qt5Core) >= 5.5.0 +Requires: cmake(Qt5X11Extras) >= 5.5.0 + +%description devel +Development files for Library and components for secure lock screen architecture. + +%prep +%setup -q -n %{name}-%{version} + +%build + %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm + %make_jobs + +%install + %kf5_makeinstall -C build + +%post +# boo#931296 +/usr/sbin/pam-config -d --unix2 || : +/usr/sbin/pam-config -a --unix || : +/sbin/ldconfig + +%post -n libKScreenLocker5 -p /sbin/ldconfig + +%postun -n libKScreenLocker5 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libexec/kcheckpass +%{_kf5_libdir}/libexec/kscreenlocker_greet +%{_kf5_servicesdir}/ +%{_kf5_sharedir}/kconf_update/ +%{_kf5_plasmadir}/ +%{_kf5_plugindir}/ +%{_kf5_notifydir}/ +%{_kf5_sharedir}/ksmserver/ + +%files -n libKScreenLocker5 +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libKScreenLocker.so.* + +%files devel +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libKScreenLocker.so +%{_kf5_prefix}/include/KScreenLocker/ +%{_kf5_libdir}/cmake/ScreenSaverDBusInterface/ +%{_kf5_libdir}/cmake/KScreenLocker/ +%{_kf5_sharedir}/dbus-1/interfaces/ + +%changelog