2005-01-07 05:58:43 +00:00
|
|
|
Summary: IRQ balancing daemon.
|
|
|
|
Name: irqbalance
|
2006-12-12 13:20:16 +00:00
|
|
|
Version: 0.55
|
2007-09-28 17:54:17 +00:00
|
|
|
Release: 5%{?dist}
|
2006-12-11 21:32:33 +00:00
|
|
|
Epoch: 2
|
2005-01-07 05:58:43 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL/OSL
|
2006-12-12 13:20:16 +00:00
|
|
|
Source0: http://www.irqbalance.org/releases/irqbalance-%{version}.tar.gz
|
2005-01-07 05:58:43 +00:00
|
|
|
Source1: irqbalance.init
|
|
|
|
Source2: irqbalance.sysconfig
|
2006-12-11 21:32:33 +00:00
|
|
|
Source3: irqbalance.1
|
2005-01-07 05:58:43 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Prereq: /sbin/chkconfig /sbin/service
|
2006-11-08 20:22:33 +00:00
|
|
|
|
2006-02-12 20:13:52 +00:00
|
|
|
ExclusiveArch: i386 x86_64 ia64 ppc ppc64
|
2005-01-11 21:42:53 +00:00
|
|
|
Obsoletes: kernel-utils
|
2006-12-11 21:39:48 +00:00
|
|
|
BuildRequires: glib2-devel pkgconfig imake
|
|
|
|
Requires: glib2
|
2006-12-11 21:32:33 +00:00
|
|
|
|
2007-09-28 17:54:17 +00:00
|
|
|
Patch0: irqbalance-pie.patch
|
|
|
|
Patch1: irqbalance-0.55-cputree-parse.patch
|
|
|
|
|
2005-01-07 05:58:43 +00:00
|
|
|
%description
|
|
|
|
irqbalance is a daemon that evenly distributes IRQ load across
|
|
|
|
multiple CPUs for enhanced performance.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -a 0
|
|
|
|
|
2007-09-28 18:35:42 +00:00
|
|
|
#%patch0 -p1
|
2007-09-28 17:54:17 +00:00
|
|
|
%patch1 -p1
|
|
|
|
|
2005-01-07 05:58:43 +00:00
|
|
|
%build
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/sbin
|
|
|
|
mkdir -p %{buildroot}/usr/man
|
|
|
|
mkdir -p %{buildroot}/etc/rc.d/init.d
|
|
|
|
mkdir -p %{buildroot}/etc/sysconfig
|
|
|
|
|
2006-12-12 13:20:16 +00:00
|
|
|
cd irqbalance-%{version}
|
2006-12-11 21:32:33 +00:00
|
|
|
make
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/usr/share/man/man{1,8}
|
|
|
|
|
2006-12-12 13:20:16 +00:00
|
|
|
cd irqbalance-%{version}
|
2005-01-07 05:58:43 +00:00
|
|
|
install irqbalance %{buildroot}/usr/sbin
|
2005-01-10 23:41:50 +00:00
|
|
|
install %{SOURCE1} %{buildroot}/etc/rc.d/init.d/irqbalance
|
|
|
|
install %{SOURCE2} %{buildroot}/etc/sysconfig/irqbalance
|
2006-12-11 21:32:33 +00:00
|
|
|
install %{SOURCE3} %{buildroot}/usr/share/man/man1/
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
chmod -R a-s %{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/irqbalance
|
|
|
|
/etc/rc.d/init.d/irqbalance
|
2006-12-11 21:32:33 +00:00
|
|
|
%attr(0644,root,root) %{_mandir}/*/*
|
2005-01-07 05:58:43 +00:00
|
|
|
%attr(0644,root,root) /etc/sysconfig/irqbalance
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ "$1" = "0" ] ; then
|
|
|
|
/sbin/chkconfig --del irqbalance
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add irqbalance
|
|
|
|
|
2005-01-13 06:26:43 +00:00
|
|
|
%triggerpostun -- kernel-utils
|
|
|
|
/sbin/chkconfig --add irqbalance
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
2005-01-07 05:58:43 +00:00
|
|
|
%changelog
|
2007-09-28 17:54:17 +00:00
|
|
|
* Fri Sep 28 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-5
|
|
|
|
- Install pie patch
|
|
|
|
- Grab Ulis cpuparse cleanup (bz 310821)
|
|
|
|
|
2007-08-29 05:10:52 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2:0.55-4
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-05 20:05:02 +00:00
|
|
|
* Thu Jul 05 2007 Neil Horman <nhorman@redhat.com> - 0.55.3
|
|
|
|
- Fixing LSB requirements (bz 246959)
|
|
|
|
|
2006-12-12 16:43:01 +00:00
|
|
|
* Tue Dec 12 2006 Neil Horman <nhorman@redhat.com> - 0.55-2
|
|
|
|
- Fixing typos in spec file (bz 219301)
|
|
|
|
|
|
|
|
* Tue Dec 12 2006 Neil Horman <nhorman@redhat.com> - 0.55-1
|
2006-12-12 13:20:16 +00:00
|
|
|
- Updating to version 0.55
|
|
|
|
|
2006-12-11 21:32:33 +00:00
|
|
|
* Mon Dec 11 2006 Neil Horman <nhorman@redhat.com> - 0.54-1
|
|
|
|
- Update irqbalance to new version released at www.irqbalance.org
|
|
|
|
|
2006-11-15 15:23:48 +00:00
|
|
|
* Wed Nov 15 2006 Neil Horman <nhorman@redhat.com> - 1.13-8
|
|
|
|
- Add ability to set default affinity mask (bz 211148)
|
|
|
|
|
2006-11-08 20:22:33 +00:00
|
|
|
* Wed Nov 08 2006 Neil Horman <nhorman@redhat.com> - 1.13-7
|
|
|
|
- fix up irqbalance to detect multicore (not ht) (bz 211183)
|
|
|
|
|
2006-11-02 16:17:51 +00:00
|
|
|
* Thu Nov 02 2006 Neil Horman <nhorman@redhat.com> - 1.13-6
|
|
|
|
- bumping up MAX_INTERRUPTS to support xen kernels
|
|
|
|
- rediffing patch1 and patch3 to remove fuzz
|
|
|
|
|
|
|
|
* Tue Oct 17 2006 Neil Horman <nhorman@redhat.com> - 1.13-5
|
2006-10-17 20:43:57 +00:00
|
|
|
- Making oneshot mean oneshot always (bz 211178)
|
|
|
|
|
2006-09-13 18:03:38 +00:00
|
|
|
* Wed Sep 13 2006 Peter Jones <pjones@redhat.com> - 1.13-4
|
2006-09-13 17:35:03 +00:00
|
|
|
- Fix subsystem locking
|
|
|
|
|
2006-08-18 20:13:31 +00:00
|
|
|
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 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
|
|
|
|
|
2006-08-01 16:15:58 +00:00
|
|
|
* Tue Aug 01 2006 Neil Horman <nhorman@redhat.com>
|
|
|
|
- Change license to GPL in version 0.13
|
|
|
|
|
2006-07-29 04:24:27 +00:00
|
|
|
* Sat Jul 29 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- identify a bunch more classes.
|
|
|
|
|
2006-07-15 03:52:42 +00:00
|
|
|
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-12 00:20:29 +00:00
|
|
|
* Tue Jul 11 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- Further lazy rebalancing tweaks.
|
|
|
|
|
2006-02-26 23:41:09 +00:00
|
|
|
* Sun Feb 26 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- Don't rebalance IRQs where no interrupts have occured.
|
|
|
|
|
2006-02-12 20:13:52 +00:00
|
|
|
* Sun Feb 12 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- Build for ppc[64] too.
|
|
|
|
|
2006-02-09 06:22:57 +00:00
|
|
|
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- rebuild.
|
|
|
|
|
2005-12-16 23:20:35 +00:00
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt for new gcj
|
|
|
|
|
2005-12-09 22:41:02 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 04:00:20 +00:00
|
|
|
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Rebuild with gcc4
|
|
|
|
|
2005-02-09 02:15:56 +00:00
|
|
|
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Build as pie, also -D_FORTIFY_SOURCE=2
|
|
|
|
|
2005-01-11 21:42:53 +00:00
|
|
|
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
|
2005-01-11 22:21:02 +00:00
|
|
|
- Add missing Obsoletes: kernel-utils.
|
2005-01-11 21:42:53 +00:00
|
|
|
|
2005-01-11 04:41:13 +00:00
|
|
|
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Start irqbalance in runlevel 2 too. (#102064)
|
|
|
|
|
2005-01-07 05:58:43 +00:00
|
|
|
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
|
|
|
- Initial packaging, based on kernel-utils.
|
|
|
|
|