2009-07-31 18:01:38 +00:00
|
|
|
Summary: IRQ balancing daemon
|
2005-01-07 05:58:43 +00:00
|
|
|
Name: irqbalance
|
2009-07-31 18:01:38 +00:00
|
|
|
Version: 0.55
|
2009-07-31 18:12:39 +00:00
|
|
|
Release: 18%{?dist}
|
2009-07-31 18:01:38 +00:00
|
|
|
Epoch: 2
|
2005-01-07 05:58:43 +00:00
|
|
|
Group: System Environment/Base
|
2008-08-01 15:51:22 +00:00
|
|
|
License: GPLv2
|
2009-07-31 18:01:38 +00:00
|
|
|
Url: http://irqbalance.org/
|
|
|
|
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
|
2009-07-31 18:01:38 +00:00
|
|
|
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
Requires(post): chkconfig
|
|
|
|
Requires(postun):chkconfig
|
|
|
|
Requires(preun):chkconfig
|
2006-11-08 20:22:33 +00:00
|
|
|
|
2009-07-31 18:01:38 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64
|
2005-01-11 21:42:53 +00:00
|
|
|
Obsoletes: kernel-utils
|
2009-07-31 18:12:39 +00:00
|
|
|
BuildRequires: glib2-devel pkgconfig imake
|
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
|
2007-11-05 12:59:14 +00:00
|
|
|
Patch2: irqbalance-0.55-pid-file.patch
|
2007-09-28 17:54:17 +00:00
|
|
|
|
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
|
2007-11-05 12:59:14 +00:00
|
|
|
%patch2 -p1
|
2009-07-31 18:01:38 +00:00
|
|
|
sed -i s/-Os//g %{name}-%{version}/Makefile
|
2007-09-28 17:54:17 +00:00
|
|
|
|
2005-01-07 05:58:43 +00:00
|
|
|
%build
|
2009-07-31 18:01:38 +00:00
|
|
|
cd %{name}-%{version}
|
|
|
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%install
|
2009-07-31 18:01:38 +00:00
|
|
|
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}
|
2005-01-07 05:58:43 +00:00
|
|
|
|
2009-07-31 18:01:38 +00:00
|
|
|
install -d %{buildroot}%{_mandir}/man1/
|
|
|
|
install -p -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%clean
|
2009-07-31 18:01:38 +00:00
|
|
|
rm -rf %{buildroot}
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-07-31 18:01:38 +00:00
|
|
|
%{_sbindir}/irqbalance
|
|
|
|
%{_initrddir}/irqbalance
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/irqbalance
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%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
|
2009-07-31 18:12:39 +00:00
|
|
|
* Fri Jul 31 2009 Peter Lemenkov <lemenkov@gmail.com> - 2:0.55-18
|
|
|
|
- Added back accidentaly forgotten imake
|
|
|
|
|
2009-07-31 18:01:38 +00:00
|
|
|
* Fri Jul 31 2009 Peter Lemenkov <lemenkov@gmail.com> - 2:0.55-17
|
|
|
|
- Cosmetic fixes in spec-file
|
|
|
|
- Fixed rpmlint error in the init-script
|
|
|
|
|
|
|
|
* Tue Jul 28 2009 Peter Lemenkov <lemenkov@gmail.com> - 2:0.55-16
|
|
|
|
- Many imrovements in spec-file
|
|
|
|
|
2009-07-25 03:36:43 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.55-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-06 14:52:28 +00:00
|
|
|
* Fri Mar 6 2009 Neil Horman <nhorman@redhat.com>
|
|
|
|
- Update spec file to build for i586 as per new build guidelines (bz 488849)
|
|
|
|
|
2009-02-25 08:02:43 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.55-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-12 11:50:19 +00:00
|
|
|
* Fri Dec 12 2008 Neil Norman <nhorman@redhat.com> - 2:0.55-12
|
|
|
|
- Remove odd Netorking dependence from irqbalance (bz 476179)
|
|
|
|
|
2008-08-01 15:51:22 +00:00
|
|
|
* Fri Aug 01 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:0.55-11
|
|
|
|
- fix license tag
|
|
|
|
|
2008-06-04 13:40:18 +00:00
|
|
|
* Tue Jun 04 2008 Neil Horman <nhorman@redhat.com> - 2:0.55-10
|
|
|
|
- Update man page to explain why irqbalance exits on single cache (bz 449949)
|
|
|
|
|
2008-03-18 10:37:27 +00:00
|
|
|
* Tue Mar 18 2008 Neil Horman <nhorman@redhat.com> - 2:0.55-9
|
|
|
|
- Rediff pid-file patch to not remove initial parse_cpu_tree (bz 433270)
|
|
|
|
|
2008-02-19 16:08:38 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2:0.55-8
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-11-05 12:59:14 +00:00
|
|
|
* Thu Nov 01 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-7
|
|
|
|
- Update to properly hadndle pid files (bz 355231)
|
|
|
|
|
2007-10-04 15:59:37 +00:00
|
|
|
* Thu Oct 04 2007 Neil Horman <nhorman@redhat.com> - 2:0.55-6
|
|
|
|
- Fix irqbalance init script (bz 317219)
|
|
|
|
|
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.
|
|
|
|
|