File xautolck.spec of Package xautolck
#
# spec file for package xautolck
#
# Copyright (c) 2012 SUSE LINUX Products 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: xautolck
BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel
Provides: xautolock
Version: 2.2
Release: 0
Summary: Lock the screen after a certain time automagically
License: GPL-2.0
Group: System/X11/Utilities
Source: xautolock-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This program uses another locker program to lock the screen
automatically after an idle period. It may, e.g., be called as follows:
xautolock -locker "xlock -mode blank"
using xlock as locker program.
Authors:
--------
Stefan De Troch <stefan@specs.philips.com>
Michel Eyckmans <eyckmans@imec.be>
%prep
%setup -n xautolock-%{version}
xmkmf -a
%build
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
make DESTDIR=$RPM_BUILD_ROOT install.man
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%doc %{_mandir}/*/*
%changelog