File ib-bonding.spec of Package ib-bonding

# spec file for package ib-bonding (Version 0.9.0)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           ib-bonding
Summary:        infiniband bonding tool
Version:        0.9.0
Release:        138
Source0:        %{name}-%{version}.tar.bz2
Source1:        README
Source2:        conf.sysconfig
Group:          System/Console
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  kernel-source kernel-syms module-init-tools
PreReq:         %fillup_prereq

This package provides a bonding tool which is capable of enslaving IP
over InfiniBand (IPoIB) network devices.

%setup -q
cp %{S:1} %{S:2} .

# nothing here

# install the ib-bond script
install -d ${RPM_BUILD_ROOT}%_bindir/
sed 's/VERSION=/VERSION=%{version}/g; s/RELEASE=/RELEASE=%{release}/g' bin/ib-bond > ${RPM_BUILD_ROOT}%_bindir/ib-bond
chmod 755  ${RPM_BUILD_ROOT}%_bindir/ib-bond
# install the sysconfig configuration
install -m 700 -D conf.sysconfig ${RPM_BUILD_ROOT}/var/adm/fillup-templates/sysconfig.infiniband-%name

rm -rf ${RPM_BUILD_ROOT}

%{fillup_only -an infiniband}

%defattr(-, root, root)
%doc docs/ib-bonding.txt README

* Thu Dec 11 2008
- Update to version from OFED 1.4 GA
  - Kernel version detection for patching
  - bugfixes
* Mon Oct 27 2008
- Update to version from OFED 1.4 rc3
* Fri Nov 30 2007
- drop the kmp package, all patches are in kernel now
* Thu Aug 09 2007
- build using source from kernel and patches/fixes on top
* Mon Jul 23 2007
- Fix sysconfig filename
* Thu Jul 12 2007
- move the kernel modules to the right directory
* Thu Jul 12 2007
- Add GPL v2 LICENSE files [#291345]
* Wed Jul 11 2007
- Put configuration into the infiniband sysconfig file
* Wed Jul 11 2007
- Initial Package, Version 0.9.0
openSUSE Build Service is sponsored by