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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           numlockx
Url:            http://ktown.kde.org/~seli/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

%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
* 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
openSUSE Build Service is sponsored by