Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37743868
en ru br
ALT Linux repositórios
S:1.2.0-alt1.qa1
5.0: 1.2.0-alt1
4.1: 1.2.0-alt1
4.0: 1.2.0-alt1

Group :: Sistema/Configurações/Rede
RPM: set_rlimits

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009