LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bridge-utils.spec of Package bridge-utils (Project network:utilities)

# spec file for package bridge-utils
# Copyright (c) 2013 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 http://bugs.opensuse.org/

Name:           bridge-utils
BuildRequires:  automake
BuildRequires:  libsysfs
Version:        1.5
Release:        0
Url:            http://www.linux-foundation.org/en/Net:Bridge
Summary:        Utilities for Configuring the Linux Ethernet Bridge
License:        GPL-2.0+
Group:          Productivity/Networking/Routing
Source:         http://downloads.sourceforge.net/project/bridge/bridge/%{name}-%{version}.tar.gz
Patch:          %{name}-%{version}-hz.diff
Patch1:         %{name}-%{version}-optflags.patch
Patch2:         bridge-utils-1.5-ip6.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package contains utilities for configuring the Linux ethernet
bridge. The Linux ethernet bridge can be used for connecting multiple
ethernet devices together. The connection is fully transparent: hosts
connected to one ethernet device see hosts connected to the other
ethernet devices directly.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}

%description devel
The %{name} devel package contains files needed for development.

%setup -q

autoreconf -fiv
make %{?_smp_mflags}

install -d -m 755 $RPM_BUILD_ROOT/sbin
ln -sf %{_sbindir}/brctl $RPM_BUILD_ROOT/sbin
install -D -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}/libbridge.h
install -D -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}/libbridge.a

%doc %{_mandir}/man?/*

%files devel