Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37519025
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: ipl10mdk.1

Summary: Numlock key locker
License: GPL
Group: System/Configuration/Boot and Init
Source0: %name-%version.tar.bz2
Source1: %name.init
Patch: %name-alt-makefile.patch

AutoReq: no
Requires: coreutils
# due to setleds
Requires: console-tools_or_kbd
# initscript uses setleds:
Requires(post,preun): console-tools_or_kbd
Obsoletes: NumLock

# Automatically added by buildreq on Wed Oct 22 2003

BuildRequires: XFree86-devel XFree86-libs

%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 -q
%patch -p1

%build
%make_build X11LIBDIR=%_x11libdir

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

%post
%post_service %name

%preun
%preun_service %name
%files
%config %_initdir/%name
%config(noreplace) /etc/profile.d/%name.sh
%config(noreplace) /etc/X11/xinit.d/%name
%_x11bindir/*
%_x11mandir/man?/*
#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