Репозитории ALT

S: | 1.2.0-alt1.qa1 |
5.1: | 1.2.0-alt1 |
4.1: | 1.2.0-alt1 |
4.0: | 1.2.0-alt1 |
Группа :: Система/Настройка/Прочее
Пакет: set_rlimits
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Id$
#
%define name set_rlimits
%define version 1.2.0
Name: %name
Version: %version
Release: alt1.qa1
Summary: %name - allow non-priviledged access to realtime scheduling
License: GPL
Group: System/Configuration/Other
URL: http://www.physics.adelaide.edu.au/~jwoithe
Source: %url/%name-%version.tgz
Obsoletes: set_rtlimits <= 1.1.0
%description
set_rlimits allows controlled access to realtime scheduling for
selected users and programs under kernel 2.6.12 or later. The
set_rlimits binary needs to be installed setuid root, but it only runs
with elevated priviledges to set the resource limits.
%prep
%setup
%build
set CFLGAS=$RPM_OPT_FLAGS
gcc $CFLAGS -o %name %name.c
%install
%__mkdir_p %buildroot{%_man8dir,%_sysconfdir,%_bindir}
%__install -m644 %name.8 %buildroot%_man8dir
%__install -m644 %name.conf %buildroot%_sysconfdir
%__install -m4750 %name %buildroot%_bindir
%files
%attr(4710,root,audio) %_bindir/%name
%config(noreplace) %_sysconfdir/%name.conf
%_man8dir/*
%doc README Changelog
%changelog
…
Полный changelog можно просмотреть здесь
#
%define name set_rlimits
%define version 1.2.0
Name: %name
Version: %version
Release: alt1.qa1
Summary: %name - allow non-priviledged access to realtime scheduling
License: GPL
Group: System/Configuration/Other
URL: http://www.physics.adelaide.edu.au/~jwoithe
Source: %url/%name-%version.tgz
Obsoletes: set_rtlimits <= 1.1.0
%description
set_rlimits allows controlled access to realtime scheduling for
selected users and programs under kernel 2.6.12 or later. The
set_rlimits binary needs to be installed setuid root, but it only runs
with elevated priviledges to set the resource limits.
%prep
%setup
%build
set CFLGAS=$RPM_OPT_FLAGS
gcc $CFLAGS -o %name %name.c
%install
%__mkdir_p %buildroot{%_man8dir,%_sysconfdir,%_bindir}
%__install -m644 %name.8 %buildroot%_man8dir
%__install -m644 %name.conf %buildroot%_sysconfdir
%__install -m4750 %name %buildroot%_bindir
%files
%attr(4710,root,audio) %_bindir/%name
%config(noreplace) %_sysconfdir/%name.conf
%_man8dir/*
%doc README Changelog
%changelog
…
Полный changelog можно просмотреть здесь