Репозиторий Sisyphus
Последнее обновление: 4 декабря 2021 | Пакетов: 17403 | Посещений: 22456700
en ru br
Репозитории ALT
S:2.0-alt2.1.qa1
5.1: 2.0-alt2.1
4.1: 2.0-alt2
3.0: 2.0-ipl10mdk.1
www.altlinux.org/Changes

Группа :: Система/Настройка/Загрузка и инициализация
Пакет: numlock

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin