File numlockx.spec of Package numlockx

# spec file for package numlockx (Version 1.1)
# 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

# norootforbuild

Name:           numlockx
BuildRequires:  xorg-x11-devel
Version:        1.1
Release:        166
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

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 ).

    Lubos Lunak <>
    XKB stuff by Oswald Buddenhagen <>


autoreconf -fi
%configure --x-libraries=/usr/%_lib


rm -rf "$RPM_BUILD_ROOT"


* Thu Jan 25 2007
* Mon Dec 04 2006
- don't build as root
* Sun Jul 23 2006
- fixed build for X.Org 7
* Tue May 23 2006
- created package
openSUSE Build Service is sponsored by