[packages/light-locker] - new

baggins baggins at pld-linux.org
Wed Apr 1 19:31:22 CEST 2015


commit 5db03bb5db8e923a3616ef19ece54677375f4930
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Apr 1 19:31:01 2015 +0200

    - new

 light-locker.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
---
diff --git a/light-locker.spec b/light-locker.spec
new file mode 100644
index 0000000..98cc041
--- /dev/null
+++ b/light-locker.spec
@@ -0,0 +1,73 @@
+Summary:	A simple session-locker for lightdm 
+Name:		light-locker
+Version:	1.6.0
+Release:	1
+License:	GPL v2
+Group:		X11/Applications
+Source0:	https://github.com/the-cavalry/light-locker/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	23e4f0de0f9d75cd6e7ca79f50e78214
+URL:		https://github.com/the-cavalry/light-locker
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	ConsoleKit-devel
+BuildRequires:	dbus-devel
+BuildRequires:	glib2-devel >= 1:2.25.6
+BuildRequires:	gtk+3-devel
+BuildRequires:	intltool
+BuildRequires:	libtool
+BuildRequires:	pam-devel
+BuildRequires:	systemd-devel
+BuildRequires:	upower-devel
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXext-devel
+BuildRequires:	xorg-lib-libXScrnSaver-devel
+BuildRequires:	xorg-lib-libXxf86vm-devel
+BuildRequires:	xfce4-dev-tools
+Requires:	lightdm
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+light-locker is a simple locker (forked from gnome-screensaver) that
+aims to have simple, sane, secure defaults and be well integrated with
+the desktop while not carrying any desktop-specific dependencies.
+It relies on lightdm for locking and unlocking your session via
+ConsoleKit/UPower or logind/systemd.
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 xdt-autogen
+%configure \
+	--with-x \
+	--with-mit-ext \
+	--with-dpms-ext \
+	--with-xf86gamma-ext \
+	--with-console-kit \
+	--with-systemd \
+	--with-upower \
+	--enable-settings-backend=gsettings \
+	--enable-late-locking \
+	--enable-lock-on-suspend
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{find_lang} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS HACKING NEWS README
+/etc/xdg/autostart/light-locker.desktop
+%attr(755,root,root) %{_bindir}/light-locker
+%attr(755,root,root) %{_bindir}/light-locker-command
+%{_datadir}/glib-2.0/schemas/apps.light-locker.gschema.xml
+%{_mandir}/man1/light-locker-command.1*
+%{_mandir}/man1/light-locker.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/light-locker.git/commitdiff/5db03bb5db8e923a3616ef19ece54677375f4930



More information about the pld-cvs-commit mailing list