fc413c7
Summary:        IRQ balancing daemon.
fc413c7
Name:           irqbalance
e30c89c
Version:        0.55 
cb22afb
Release: 	13%{?dist}
6f547c7
Epoch:		2	
fc413c7
Group:          System Environment/Base
ee6e3ba
License:        GPLv2
e30c89c
Source0:	http://www.irqbalance.org/releases/irqbalance-%{version}.tar.gz	
fc413c7
Source1:	irqbalance.init
fc413c7
Source2:	irqbalance.sysconfig
6f547c7
Source3:	irqbalance.1
fc413c7
Buildroot:      %{_tmppath}/%{name}-%{version}-root
fc413c7
Prereq:		/sbin/chkconfig /sbin/service
31136e9
5211301
ExclusiveArch:	i386 x86_64 ia64 ppc ppc64
db0f71b
Obsoletes:	kernel-utils
8129f5f
BuildRequires:	glib2-devel pkgconfig imake
8129f5f
Requires:	glib2
6f547c7
20c188e
Patch0: irqbalance-pie.patch
20c188e
Patch1: irqbalance-0.55-cputree-parse.patch
751f129
Patch2: irqbalance-0.55-pid-file.patch
20c188e
fc413c7
%description
fc413c7
irqbalance is a daemon that evenly distributes IRQ load across
fc413c7
multiple CPUs for enhanced performance.
fc413c7
fc413c7
%prep
fc413c7
%setup -q -c -a 0
fc413c7
faf1695
#%patch0 -p1
20c188e
%patch1 -p1
751f129
%patch2 -p1
20c188e
fc413c7
%build
fc413c7
rm -rf $RPM_BUILD_ROOT
fc413c7
fc413c7
mkdir -p %{buildroot}/usr/sbin
fc413c7
mkdir -p %{buildroot}/usr/man
fc413c7
mkdir -p %{buildroot}/etc/rc.d/init.d
fc413c7
mkdir -p %{buildroot}/etc/sysconfig
fc413c7
e30c89c
cd irqbalance-%{version}
6f547c7
make 
fc413c7
fc413c7
%install
fc413c7
mkdir -p %{buildroot}/usr/share/man/man{1,8}
fc413c7
e30c89c
cd irqbalance-%{version}
fc413c7
install irqbalance  %{buildroot}/usr/sbin
30b42a9
install %{SOURCE1} %{buildroot}/etc/rc.d/init.d/irqbalance
30b42a9
install %{SOURCE2} %{buildroot}/etc/sysconfig/irqbalance
6f547c7
install %{SOURCE3} %{buildroot}/usr/share/man/man1/
fc413c7
fc413c7
chmod -R a-s %{buildroot}
fc413c7
fc413c7
%clean
fc413c7
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
fc413c7
fc413c7
%files
fc413c7
%defattr(-,root,root)
fc413c7
/usr/sbin/irqbalance
fc413c7
/etc/rc.d/init.d/irqbalance
6f547c7
%attr(0644,root,root) %{_mandir}/*/*
fc413c7
%attr(0644,root,root) /etc/sysconfig/irqbalance
fc413c7
fc413c7
%preun
fc413c7
if [ "$1" = "0" ] ; then
fc413c7
 /sbin/chkconfig --del irqbalance
fc413c7
fi
fc413c7
fc413c7
%post
fc413c7
/sbin/chkconfig --add irqbalance
fc413c7
dd17a88
%triggerpostun -- kernel-utils
dd17a88
/sbin/chkconfig --add irqbalance
dd17a88
exit 0
dd17a88
dd17a88
fc413c7
%changelog
cb22afb
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.55-13
cb22afb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cb22afb
978a7f1
* Fri Dec 12 2008 Neil Norman <nhorman@redhat.com> - 2:0.55-12
978a7f1
- Remove odd Netorking dependence from irqbalance (bz 476179)
978a7f1
ee6e3ba
* Fri Aug 01 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:0.55-11
ee6e3ba
- fix license tag
ee6e3ba
f59bf7c
* Tue Jun 04 2008 Neil Horman <nhorman@redhat.com> - 2:0.55-10
f59bf7c
- Update man page to explain why irqbalance exits on single cache (bz 449949)
f59bf7c
4d493eb
* Tue Mar 18 2008 Neil Horman <nhorman@redhat.com> - 2:0.55-9
4d493eb
- Rediff pid-file patch to not remove initial parse_cpu_tree (bz 433270)
4d493eb
567601b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2:0.55-8
567601b
- Autorebuild for GCC 4.3
567601b
751f129
* Thu Nov 01 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-7
751f129
- Update to properly hadndle pid files (bz 355231)
751f129
1f757eb
* Thu Oct 04 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-6
1f757eb
- Fix irqbalance init script (bz 317219)
1f757eb
20c188e
* Fri Sep 28 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-5
20c188e
- Install pie patch
20c188e
- Grab Ulis cpuparse cleanup (bz 310821)
20c188e
966244d
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2:0.55-4
966244d
- Rebuild for selinux ppc32 issue.
966244d
7c901e4
* Thu Jul 05 2007 Neil Horman <nhorman@redhat.com> - 0.55.3
7c901e4
- Fixing LSB requirements (bz 246959)
7c901e4
3d1df80
* Tue Dec 12 2006 Neil Horman <nhorman@redhat.com> - 0.55-2
3d1df80
- Fixing typos in spec file (bz 219301)
3d1df80
3d1df80
* Tue Dec 12 2006 Neil Horman <nhorman@redhat.com> - 0.55-1
e30c89c
- Updating to version 0.55
e30c89c
6f547c7
* Mon Dec 11 2006 Neil Horman <nhorman@redhat.com> - 0.54-1
6f547c7
- Update irqbalance to new version released at www.irqbalance.org
6f547c7
e7224c4
* Wed Nov 15 2006 Neil Horman <nhorman@redhat.com> - 1.13-8
e7224c4
- Add ability to set default affinity mask (bz 211148)
e7224c4
31136e9
* Wed Nov 08 2006 Neil Horman <nhorman@redhat.com> - 1.13-7
31136e9
- fix up irqbalance to detect multicore (not ht) (bz 211183)
31136e9
b53114c
* Thu Nov 02 2006 Neil Horman <nhorman@redhat.com> - 1.13-6
b53114c
- bumping up MAX_INTERRUPTS to support xen kernels
b53114c
- rediffing patch1 and patch3 to remove fuzz
b53114c
b53114c
* Tue Oct 17 2006 Neil Horman <nhorman@redhat.com> - 1.13-5
164ad18
- Making oneshot mean oneshot always (bz 211178)
164ad18
2ca7411
* Wed Sep 13 2006 Peter Jones <pjones@redhat.com> - 1.13-4
54c84aa
- Fix subsystem locking
54c84aa
1dfc638
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 1.13-2
1dfc638
- rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
1dfc638
  (#203001)
1dfc638
- Remove hack to use cvs checkin ID as release as it doesn't follow
1dfc638
  packaging guidelines
1dfc638
67db596
* Tue Aug 01 2006 Neil Horman <nhorman@redhat.com>
67db596
- Change license to GPL in version 0.13
67db596
6775f32
* Sat Jul 29 2006 Dave Jones <davej@redhat.com>
6775f32
- identify a bunch more classes.
6775f32
14b4dc6
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com>
14b4dc6
- rebuild
14b4dc6
a56ac95
* Tue Jul 11 2006 Dave Jones <davej@redhat.com>
a56ac95
- Further lazy rebalancing tweaks.
a56ac95
ab757f1
* Sun Feb 26 2006 Dave Jones <davej@redhat.com>
ab757f1
- Don't rebalance IRQs where no interrupts have occured.
ab757f1
5211301
* Sun Feb 12 2006 Dave Jones <davej@redhat.com>
5211301
- Build for ppc[64] too.
5211301
be55205
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
be55205
- rebuild.
be55205
f8b5a76
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
f8b5a76
- rebuilt for new gcj
f8b5a76
524a595
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
524a595
- rebuilt
524a595
d4711d4
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
d4711d4
- Rebuild with gcc4
d4711d4
79dfdaf
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
79dfdaf
- Build as pie, also -D_FORTIFY_SOURCE=2
79dfdaf
db0f71b
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
db4f7ef
- Add missing Obsoletes: kernel-utils.
db0f71b
c33ec4c
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
c33ec4c
- Start irqbalance in runlevel 2 too. (#102064)
c33ec4c
fc413c7
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
fc413c7
- Initial packaging, based on kernel-utils.
fc413c7