1 Summary: Balancing of IRQs between multiple CPUs
2 Summary(pl): Rozdzielanie IRQ pomiêdzy wiele procesorów
7 Group: Applications/System
8 Source0: http://people.redhat.com/arjanv/irqbalance/%{name}-%{version}.tar.gz
9 # Source0-md5: 1f225b73a01380955231b77d9be60c7a
11 Patch0: %{name}-opt.patch
12 BuildRequires: rpmbuild(macros) >= 1.268
13 Requires(post,preun): /sbin/chkconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Balancing of IRQs between multiple CPUs.
21 Narzêdzie do rozdzielania przerwañ IRQ pomiêdzy wiele procesorów.
28 %{__make} %{?debug:debug} \
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1,/etc/rc.d/init.d}
36 install %{name} $RPM_BUILD_ROOT%{_sbindir}
37 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
38 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
41 rm -rf $RPM_BUILD_ROOT
44 /sbin/chkconfig --add irqbalance
45 %service irqbalance restart "irqbalance daemon"
48 if [ "$1" = "0" ]; then
49 %service irqbalance stop
50 /sbin/chkconfig --del irqbalance
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_sbindir}/*
58 %attr(754,root,root) /etc/rc.d/init.d/irqbalance