File xautolck.spec of Package xautolck

#
# spec file for package xautolck (Version pl10)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           xautolck
BuildRequires:  xorg-x11 xorg-x11-devel
License:        Any Noncommercial; Any permissive
Group:          System/X11/Utilities
Provides:       xautolock 
AutoReqProv:    on
Version:        pl10
Release:        1231
Summary:        Lock the screen after a certain time automagically
Source:         xautolock.tar.gz
Patch:          xautolock.dif
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.pl10
%patch
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
* Thu Oct 04 2007 bg@suse.de
- don't use hpux ansi options with gcc
* Sun Aug 06 2006 cthiel@suse.de
- fix build with X.org 7.1
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri Jun 13 2003 coolo@suse.de
- use BuildRoot + imake
* Thu Dec 14 2000 werner@suse.de
- Group tag
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.