Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048531
en ru br
Репозитории ALT
S:1.9.2-alt1
5.1: 0.55-alt3
4.1: 0.55-alt1
4.0: 0.12-alt0
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: irqbalance

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

Name: irqbalance
Version: 1.8.0
Release: alt1

Summary: Evenly distribute interrupt load across CPUs
License: GPLv2
Group: System/Kernel and hardware

Url: https://github.com/Irqbalance/irqbalance
Source: %name-%version.tar

BuildRequires: gccmakedep glib2-devel libcap-ng-devel libncurses-devel
%ifnarch armh
BuildRequires: libnuma-devel
%endif

%define sysconfig %_sysconfdir/sysconfig/%name

%description
irqbalance distributes interrupts over the processors and cores
you have in your computer system. The design goal of irqbalance
is to do find a balance between power savings and optimal
performance. To a large degree, the work irqbalance does is
invisible to you; if irqbalance performs its job right, nobody
will ever notice it's there or want to turn it off.

%prep
%setup
sed -i "s|/path/to/irqbalance.env|%sysconfig|g" misc/%name.service

%build
mkdir -p m4
%autoreconf
%configure
%make_build

%install
%makeinstall_std
install -pDm755 %name.init %buildroot%_initdir/%name
install -pDm644 misc/%name.env %buildroot%sysconfig
install -pDm644 misc/%name.service %buildroot%systemd_unitdir/%name.service

%preun
%preun_service %name

%post
%post_service %name

%files
%doc AUTHORS COPYING
%_sbindir/%name
%_sbindir/%name-ui
%config(noreplace) %sysconfig
%_initdir/%name
%_man1dir/%name.1*
%_man1dir/%name-ui.1*
%systemd_unitdir/%name.service

%changelog

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

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