File numlockx.spec of Package numlockx
#
# spec file for package numlockx (Version 1.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: numlockx
URL: http://ktown.kde.org/~seli/numlockx
BuildRequires: xorg-x11-devel
Version: 1.1
Release: 34
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/YaST
Provides: x11-tools:/usr/X11R6/bin/numlock
Summary: Switch on/off or toggle numlock
Source: numlockx-1.1.tar.gz
%description
This little thingy allows you to start X with NumLock turned on ( which
is a feature that a lot of people seem to miss and nobody really knew
how to achieve this ). This code relies on X extensions called XTest
and XKB, so you need to have at least one of these X extensions
installed ( you most probably do ).
Authors:
--------
Lubos Lunak <l.lunak@kde.org>
XKB stuff by Oswald Buddenhagen <ossi@kde.org>
%prep
%setup
%build
autoreconf -fi
%configure --x-libraries=/usr/%_lib
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc AUTHORS LICENSE README
/usr/bin/numlockx
%changelog -n numlockx
* Thu Jan 25 2007 - meissner@suse.de
- use RPM_OPT_FLAGS
* Mon Dec 04 2006 - dmueller@suse.de
- don't build as root
* Sun Jul 23 2006 - sndirsch@suse.de
- fixed build for X.Org 7
* Tue May 23 2006 - sndirsch@suse.de
- created package