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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Balancing of IRQs between multiple CPUs.
18 Narzêdzie do rozdzielania przerwañ IRQ pomiêdzy wiele procesorów.
25 %{__make} %{?debug:debug} \
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1,/etc/rc.d/init.d}
33 install %{name} $RPM_BUILD_ROOT%{_sbindir}
34 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
35 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
38 rm -rf $RPM_BUILD_ROOT
41 /sbin/chkconfig --add irqbalance
42 if [ -f /var/lock/subsys/irqbalance ]; then
43 /etc/rc.d/init.d/irqbalance restart 1>&2
45 echo "Run \"/etc/rc.d/init.d/irqbalance start\" to start irqbalance daemon."
49 if [ "$1" = "0" ]; then
50 if [ -f /var/lock/subsys/irqbalance ]; then
51 /etc/rc.d/init.d/irqbalance stop 1>&2
53 /sbin/chkconfig --del irqbalance
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_sbindir}/*
61 %attr(754,root,root) /etc/rc.d/init.d/irqbalance