Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37739045
en ru br
ALT Linux repos
S:2.0-alt2.1.qa1
5.0: 2.0-alt2.1
4.1: 2.0-alt2
3.0: 2.0-ipl10mdk.1

Group :: System/Configuration/Boot and Init
RPM: numlock

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: numlock
Version: 2.0
Release: alt2.1.qa1
Serial: 1

Summary: Numlock key locker
License: GPL
Group: System/Configuration/Boot and Init
Packager: Evgenii Terechkov <evg at altlinux.org>
Source0: %name-%version.tar.bz2
Source1: %name.init
Patch: %name-alt-makefile.patch
Patch2: %name-alt-bindir.patch

Obsoletes: NumLock

# Automatically added by buildreq on Tue Jan 08 2008

BuildRequires: libX11-devel libXtst-devel libXi-devel libXext-devel

%description
NumLock enable to lock the numlock key. Only enable it at boot-time with
ntsysv or with any other SVSR like rc.d config scripts editor such as
tksysv or the ones from GNOME and KDE.
NumLock is safe for portable as it is disabled by default.

%prep
%setup
%patch -p1 -b .orig
%patch2 -p1 -b .orig

%build
%make_build X11LIBDIR=%_x11libdir

%install
%makeinstall TOP=%buildroot INITRDDIR=%_initdir
install -pm755 %SOURCE1 %buildroot%_initdir/%name
# Remove unpackaged files:
rm %buildroot%_x11mandir/fr/man?/*

%post
%post_service %name

%preun
%preun_service %name

%files
%_initdir/%name
%_sysconfdir/profile.d/%name.sh
%_x11sysconfdir/xinit.d/%name
%_bindir/*
%_man1dir/*
#remove to confirm our policy
#%lang(fr)%_x11mandir/fr/man?/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin