Browse Source

irqbalance-1.3.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11536 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
edacc14ec0
1 changed files with 16 additions and 7 deletions
  1. 16 7
      i/irqbalance/irqbalance-vl.spec

+ 16 - 7
i/irqbalance/irqbalance-vl.spec

@@ -1,5 +1,5 @@
 %define name	irqbalance
-%define version	1.0.8
+%define version	1.3.0
 %define release	1%{?_dist_release}
 
 Summary:	Daemon to balance irq's across multiple CPUs/Cores.
@@ -9,19 +9,24 @@ Version:	%{version}
 Release:	%{release}
 License:        GPLv3
 Group:		System Environment/Base
-URL:            http://www.irqbalance.org/
-Source0:        %{name}-%{version}.tar.gz
+URL:            http://irqbalance.github.io/irqbalance/
+Source0:        https://github.com/Irqbalance/irqbalance/archive/v1.3.0.tar.gz#/%{name}-%{version}.tar.gz
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 
 Patch1:         %{name}-1.0.4-env-file-path.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
-BuildRequires:	glib2-devel
+BuildRequires:	autoconf automake libtool
+BuildRequires:	glib2-devel pkgconfig libcap-ng-devel
+BuildRequires:	ncurses-devel
+
+Vendor:			Project Vine
+Distribution:	Vine Linux
 
 %description
-Daemon to balance irq's across multiple CPUs on systems with
-the 2.4 or 2.6 kernel. Only useful on SMP systems.
+irqbalance is a daemon that evenly distributes IRQ load across
+multiple CPUs for enhanced performance.
 
 %prep
 %setup -q
@@ -30,7 +35,7 @@ the 2.4 or 2.6 kernel. Only useful on SMP systems.
 %build
 ./autogen.sh
 %configure
-CFLAGS="%{optflags}" %__make
+CFLAGS="%{optflags}" %__make %{?_smp_mflags}
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -59,6 +64,7 @@ fi
 
 %files
 %defattr(-,root,root)
+%doc COPYING AUTHORS
 %config(noreplace) %{_sysconfdir}/rc.d/init.d/*
 %config(noreplace) %{_sysconfdir}/sysconfig/*
 %{_sbindir}/*
@@ -67,6 +73,9 @@ fi
 
 
 %changelog
+* Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
+- updated to 1.3.0.
+
 * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
 - update to 1.0.8