Summary: IRQ balancing daemon Name: irqbalance Version: 0.55 Release: 21%{?dist} Epoch: 2 Group: System Environment/Base License: GPLv2 Url: http://irqbalance.org/ Source0: http://www.irqbalance.org/releases/irqbalance-%{version}.tar.gz Source1: irqbalance.init Source2: irqbalance.sysconfig Source3: irqbalance.1 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: autoconf Requires(post): chkconfig Requires(postun):chkconfig Requires(preun):chkconfig ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 Obsoletes: kernel-utils BuildRequires: glib2-devel pkgconfig imake Patch0: irqbalance-pie.patch Patch1: irqbalance-0.55-cputree-parse.patch Patch2: irqbalance-0.55-pid-file.patch Patch3: irqbalance-0.55-config-capng.patch %description irqbalance is a daemon that evenly distributes IRQ load across multiple CPUs for enhanced performance. %prep %setup -q -c -a 0 #%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 touch %{name}-%{version}/NEWS touch %{name}-%{version}/AUTHORS touch %{name}-%{version}/README touch %{name}-%{version}/ChangeLog sed -i s/-Os//g %{name}-%{version}/Makefile %build cd %{name}-%{version} sh ./autogen.sh %{configure} CFLAGS="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} cd %{name}-%{version} install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name} install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name} install -d %{buildroot}%{_mandir}/man1/ install -p -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sbindir}/irqbalance %{_initrddir}/irqbalance %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/sysconfig/irqbalance %preun if [ "$1" = "0" ] ; then /sbin/chkconfig --del irqbalance fi %post /sbin/chkconfig --add irqbalance %triggerpostun -- kernel-utils /sbin/chkconfig --add irqbalance exit 0 %changelog * Tue Sep 01 2009 Neil Horman - 2:0.55-21 - Fixing BuildRequires for new config script * Tue Sep 01 2009 Neil Horman - 2:0.55-20 - Fixing BuildRequires for new config script * Tue Sep 01 2009 Neil Horman - 2:0.55-19 - Incorporate capng (bz 520699) * Fri Jul 31 2009 Peter Lemenkov - 2:0.55-18 - Added back accidentaly forgotten imake * Fri Jul 31 2009 Peter Lemenkov - 2:0.55-17 - Cosmetic fixes in spec-file - Fixed rpmlint error in the init-script * Tue Jul 28 2009 Peter Lemenkov - 2:0.55-16 - Many imrovements in spec-file * Fri Jul 24 2009 Fedora Release Engineering - 2:0.55-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Mar 6 2009 Neil Horman - Update spec file to build for i586 as per new build guidelines (bz 488849) * Wed Feb 25 2009 Fedora Release Engineering - 2:0.55-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 12 2008 Neil Norman - 2:0.55-12 - Remove odd Netorking dependence from irqbalance (bz 476179) * Fri Aug 01 2008 Tom "spot" Callaway - 2:0.55-11 - fix license tag * Tue Jun 04 2008 Neil Horman - 2:0.55-10 - Update man page to explain why irqbalance exits on single cache (bz 449949) * Tue Mar 18 2008 Neil Horman - 2:0.55-9 - Rediff pid-file patch to not remove initial parse_cpu_tree (bz 433270) * Tue Feb 19 2008 Fedora Release Engineering - 2:0.55-8 - Autorebuild for GCC 4.3 * Thu Nov 01 2007 Neil Horman - 2:0.55-7 - Update to properly hadndle pid files (bz 355231) * Thu Oct 04 2007 Neil Horman - 2:0.55-6 - Fix irqbalance init script (bz 317219) * Fri Sep 28 2007 Neil Horman - 2:0.55-5 - Install pie patch - Grab Ulis cpuparse cleanup (bz 310821) * Wed Aug 29 2007 Fedora Release Engineering - 2:0.55-4 - Rebuild for selinux ppc32 issue. * Thu Jul 05 2007 Neil Horman - 0.55.3 - Fixing LSB requirements (bz 246959) * Tue Dec 12 2006 Neil Horman - 0.55-2 - Fixing typos in spec file (bz 219301) * Tue Dec 12 2006 Neil Horman - 0.55-1 - Updating to version 0.55 * Mon Dec 11 2006 Neil Horman - 0.54-1 - Update irqbalance to new version released at www.irqbalance.org * Wed Nov 15 2006 Neil Horman - 1.13-8 - Add ability to set default affinity mask (bz 211148) * Wed Nov 08 2006 Neil Horman - 1.13-7 - fix up irqbalance to detect multicore (not ht) (bz 211183) * Thu Nov 02 2006 Neil Horman - 1.13-6 - bumping up MAX_INTERRUPTS to support xen kernels - rediffing patch1 and patch3 to remove fuzz * Tue Oct 17 2006 Neil Horman - 1.13-5 - Making oneshot mean oneshot always (bz 211178) * Wed Sep 13 2006 Peter Jones - 1.13-4 - Fix subsystem locking * Fri Aug 18 2006 Jesse Keating - 1.13-2 - rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc* (#203001) - Remove hack to use cvs checkin ID as release as it doesn't follow packaging guidelines * Tue Aug 01 2006 Neil Horman - Change license to GPL in version 0.13 * Sat Jul 29 2006 Dave Jones - identify a bunch more classes. * Fri Jul 14 2006 Jesse Keating - rebuild * Tue Jul 11 2006 Dave Jones - Further lazy rebalancing tweaks. * Sun Feb 26 2006 Dave Jones - Don't rebalance IRQs where no interrupts have occured. * Sun Feb 12 2006 Dave Jones - Build for ppc[64] too. * Thu Feb 09 2006 Dave Jones - rebuild. * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Mar 1 2005 Dave Jones - Rebuild with gcc4 * Tue Feb 8 2005 Dave Jones - Build as pie, also -D_FORTIFY_SOURCE=2 * Tue Jan 11 2005 Dave Jones - Add missing Obsoletes: kernel-utils. * Mon Jan 10 2005 Dave Jones - Start irqbalance in runlevel 2 too. (#102064) * Sat Dec 18 2004 Dave Jones - Initial packaging, based on kernel-utils.