File dcbd.spec of Package dcbd

# spec file for package dcbd (Version 0.7.31rt)
# Copyright (c) 2009 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

Name:           dcbd
Summary:        Intel(R) EEDC Connection
Version:        0.7.31rt
Release:        6
Source:         %{name}-%{version}.tar.bz2
License:        GPL v2 only
Group:          System/Daemons
BuildRequires:  bison flex gcc-c++ libstdc++-devel
AutoReqProv:    On
Source1:        dcbnl.h
Source2:        rtnetlink.h
Patch1:         %{name}-%{version}-manpage-install
Patch2:         %{name}-%{version}-rpmlint-fixes
Patch3:         %{name}-0.7.35rt.patch
Patch4:         %{name}-0.7.35rt-sysconfig.diff
Patch5:         %{name}-0.7.35rt_to_0.9.2.patch
Patch6:         %{name}-0.9.2_to_0.9.2.2.patch
Patch7:         %{name}-0.7.35rt-config.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package contains the Linux user space daemon and configuration
tool for Intel Enhanced Ethernet for the Data Center software.

    e1000-eedc Mailing List <>
    Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497

%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
mkdir include/linux
cp %{S:1} %{S:2} include/linux

make OPT_FLAGS="${RPM_OPT_FLAGS}" DEFAULT_CFG_PATH=/etc/sysconfig/

make DEFAULT_CFG_PATH=/etc/sysconfig/ INSTALL_MOD_PATH=%{buildroot} install
touch %{buildroot}/etc/dcbd.conf
mkdir ${RPM_BUILD_ROOT}/sbin
ln -s /etc/init.d/dcbd ${RPM_BUILD_ROOT}/sbin/rcdcbd

%{fillup_and_insserv -n -i dcbd}

%{stop_on_removal dcbd}

%{insserv_cleanup dcbd}

rm -rf %{buildroot}

%ghost %config  /etc/dcbd.conf

* Thu Feb 05 2009
- make /etc/dcbd.conf a ghost file (bnc #472225)
* Fri Jan 23 2009
- switch to version 0.9.2 (bnc #438954), dcbd-0.7.35rt_to_0.9.2.patch
- switch to version 0.9.22 (bnc 462487), dcbd-0.9.2_to_0.9.2.2.patch
  allows 'dcbd' to communicate with peers (switches) who only support
  version 2 of the DCB capabilities exchange protocol.
  corrections for the 'dcbd' and 'dcbtool' man pages.
  corrections for the 'dcbd' README file.
  corrections to the help text displayed by 'dcbtool'
- change configuration to /etc/dcbd.conf, dcbd-0.7.35rt-config.diff
* Fri Dec 19 2008
- change path of configfile from /etc/sysconfig/dcbd/
  to /etc/sysconfig/ (dcbd-0.7.35rt-sysconfig.diff) (bnc #446961)
* Fri Nov 28 2008
- update to version 0.7.35rt (bnc #438954) (dcbd-0.7.35rt.patch)
  - add rtnetlink.h
  - fix Makefile
  - fix specfile
* Tue Oct 14 2008
- remove some comments from specfile
* Tue Sep 23 2008
- Initial package, based on dcbd-0.7.25rt (FATE#303914)
openSUSE Build Service is sponsored by