irqbalance/irqbalance.spec

143 lines
3.6 KiB
RPMSpec
Raw Normal View History

Summary: IRQ balancing daemon.
Name: irqbalance
2006-08-01 16:15:58 +00:00
Version: 1.13
2006-11-08 20:22:33 +00:00
Release: 7%{?dist}
2005-02-09 02:15:56 +00:00
Epoch: 1
Group: System Environment/Base
License: GPL/OSL
2006-08-01 16:15:58 +00:00
Source0: irqbalance-0.13.tar.gz
Source1: irqbalance.init
Source2: irqbalance.sysconfig
Buildroot: %{_tmppath}/%{name}-%{version}-root
Prereq: /sbin/chkconfig /sbin/service
Patch1: irqbalance-pie.patch
Patch2: irqbalance-norebalance-zeroints.patch
2006-07-29 04:24:27 +00:00
Patch3: irqbalance-classes.patch
2006-10-17 20:43:57 +00:00
Patch4: irqbalance-oneshot.patch
Patch5: irqbalance-max-interrupts-increase.patch
2006-11-08 20:22:33 +00:00
Patch6: irqbalance-multicore.patch
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
%description
irqbalance is a daemon that evenly distributes IRQ load across
multiple CPUs for enhanced performance.
%prep
%setup -q -c -a 0
%patch1 -p1
%patch2 -p1
2006-07-29 04:24:27 +00:00
%patch3 -p1
2006-10-17 20:43:57 +00:00
%patch4 -p1
%patch5 -p1
2006-11-08 20:22:33 +00:00
%patch6 -p1
%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
cd irqbalance
2005-02-09 22:22:30 +00:00
make CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
%install
mkdir -p %{buildroot}/usr/share/man/man{1,8}
cd irqbalance
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
install irqbalance.1 %{buildroot}/usr/share/man/man1/
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
%attr(0644,root,root) %{_mandir}/*/*
/etc/rc.d/init.d/irqbalance
%attr(0644,root,root) /etc/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
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)
* 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)
* 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.
* 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)
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
- Initial packaging, based on kernel-utils.