2005-01-07 05:58:43 +00:00
|
|
|
Summary: IRQ balancing daemon.
|
|
|
|
Name: irqbalance
|
|
|
|
Version: 1.12
|
2005-12-17 06:17:43 +00:00
|
|
|
Release: %(R="$Revision$"; RR="${R##: }"; echo ${RR%%?})
|
2005-02-09 02:15:56 +00:00
|
|
|
Epoch: 1
|
2005-01-07 05:58:43 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL/OSL
|
|
|
|
Source0: irqbalance-0.12.tar.gz
|
|
|
|
Source1: irqbalance.init
|
|
|
|
Source2: irqbalance.sysconfig
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Prereq: /sbin/chkconfig /sbin/service
|
|
|
|
Patch1: irqbalance-pie.patch
|
|
|
|
ExclusiveArch: i386 x86_64 ia64
|
2005-01-11 21:42:53 +00:00
|
|
|
Obsoletes: kernel-utils
|
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
|
|
|
|
%patch1 -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"
|
2005-01-07 05:58:43 +00:00
|
|
|
|
|
|
|
%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
|
2005-01-07 05:58:43 +00:00
|
|
|
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
|
|
|
|
|
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
|
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.
|
|
|
|
|