1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Name: xautolock Version: 2.2 Release: alt2 Group: Graphical desktop/Other Summary: Monitor X window system activity and fire up a program when idle License: GPL Source: %name-%version.tar Patch: xautolock-2.2-fix-union-wait-usage.patch Patch1: xautolock-2.2-max_lock_mins-patch.patch # Automatically added by buildreq on Wed Aug 18 2010 BuildRequires: gccmakedep imake libX11-devel libXScrnSaver-devel libXext-devel xorg-cf-files %description Xautolock monitors console activity under the X window system, and fires up a program of your choice if nothing happens during a user configurable period of time. You can use this to automatically start up a screen locker in case you tend to forget to do so manually before having a coffee break. Xautolock will typically be used to lock the screen but it really doesn't care what program you make it start. The only real assumption made by xautolock is that a new countdown starts as soon as the locker exits. %prep %setup %patch -p1 %patch1 -p1 %build xmkmf -a %make %install %makeinstall DESTDIR=%buildroot install.man %files %doc Readme %_bindir/%name %_man1dir/%name.* %changelog * Thu Oct 19 2017 Lenar Shakirov <snejok@altlinux.ru> 2.2-alt2 - Patch: correct maximum lock minutes to 240 * Mon Nov 21 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 2.2-alt1.qa2 - Fixed build with glibc >= 2.24. * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 2.2-alt1.qa1 - NMU: rebuilt for debuginfo. * Wed Aug 18 2010 Fr. Br. George <george@altlinux.ru> 2.2-alt1 - Initial build from scratch