Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1488940
 поиск   регистрация   авторизация 
 
Группа :: Система/Настройка/Загрузка и инициализация
Пакет: nvram-wakeup

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 


Name: nvram-wakeup
Version: 0.97
Release: alt0.M24.1

Summary: a tool to read/write the WakeUp time from/to the BIOS
License: GPL
Group: System/Configuration/Boot and Init
Url: http://sourceforge.net/projects/nvram-wakeup/
Packager: Alex Yustasov <yust at altlinux.ru>

Source0: %name-%version.tar.bz2

Patch0: %name-0.97-alt-mb.patch
Patch1: %name-0.97-alt-makefile.patch

%description
nvram-wakeup can read and write the wake up time in the BIOS                                                                            
(via /dev/nvram on recent 2.4.x kernels or direct I/O port access).                                                                    
On this wake up time the computer will be powered on automatically from                                                                
the soft-off state. For the video disc recorder VDR, nvram-wakeup installs                                                              
a hook script, that allows VDR to set a wake up time, when it powers down.                                                              

%prep
%setup -q -n %name-%version
%patch0 -p1
%patch1 -p0

%__mkdir_p examples
%__cp nvram-wakeup.conf examples

%build
%make

%install
%__mkdir_p $RPM_BUILD_ROOT{%_sbindir,%_sysconfdir,%_man5dir,%_man8dir,%_docdir/%name-%version/examples}
%__install -m644 nvram-wakeup.conf $RPM_BUILD_ROOT%_sysconfdir
%__install {biosinfo,cat_nvram,guess,guess-helper,nvram-wakeup,rtc,set_timer,time} $RPM_BUILD_ROOT%_sbindir
%__install nvram-wakeup.conf.5 $RPM_BUILD_ROOT/%_man5dir
%__install {biosinfo,cat_nvram,guess,guess-helper,nvram-wakeup,rtc,set_timer,time}.8 $RPM_BUILD_ROOT%_man8dir

%files
%_sbindir/*
%config(noreplace) %_sysconfdir/nvram-wakeup.conf
%doc README README.mb README.reboot HISTORY examples
%_mandir/man?/*

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005