2007-01-16 00:06:17 +01:00
|
|
|
#
|
2011-08-01 10:16:02 +02:00
|
|
|
# spec file for package bridge-utils
|
2007-01-16 00:06:17 +01:00
|
|
|
#
|
2021-06-03 10:18:24 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-16 00:06:17 +01:00
|
|
|
#
|
2009-06-18 17:02:51 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-09-11 03:21:49 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:06:17 +01:00
|
|
|
#
|
|
|
|
|
2012-02-02 18:34:33 +01:00
|
|
|
|
2007-01-16 00:06:17 +01:00
|
|
|
Name: bridge-utils
|
2021-06-03 10:18:24 +02:00
|
|
|
Version: 1.7.1
|
2011-12-02 20:06:52 +01:00
|
|
|
Release: 0
|
2007-01-16 00:06:17 +01:00
|
|
|
Summary: Utilities for Configuring the Linux Ethernet Bridge
|
2019-09-11 03:21:49 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-02-02 18:34:33 +01:00
|
|
|
Group: Productivity/Networking/Routing
|
2020-11-04 00:05:47 +01:00
|
|
|
URL: https://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
|
2021-06-03 10:18:24 +02:00
|
|
|
Source0: https://mirrors.edge.kernel.org/pub/linux/utils/net/bridge-utils/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://mirrors.edge.kernel.org/pub/linux/utils/net/bridge-utils/%{name}-%{version}.tar.sign
|
2016-10-18 16:07:55 +02:00
|
|
|
Patch0: %{name}-1.5-hz.diff
|
|
|
|
Patch1: %{name}-1.5-optflags.patch
|
2013-05-27 15:31:45 +02:00
|
|
|
Patch2: bridge-utils-1.5-ip6.patch
|
2015-12-03 11:09:55 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libsysfs
|
2007-01-16 00:06:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
2012-02-02 18:34:33 +01:00
|
|
|
%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.
|
|
|
|
|
2007-01-16 00:06:17 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-12-03 11:09:55 +01:00
|
|
|
%patch0
|
2008-05-06 18:54:08 +02:00
|
|
|
%patch1
|
2013-05-27 15:31:45 +02:00
|
|
|
%patch2
|
2007-01-16 00:06:17 +01:00
|
|
|
|
|
|
|
%build
|
2019-09-11 03:21:49 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2008-05-06 18:54:08 +02:00
|
|
|
autoreconf -fiv
|
2008-01-09 21:53:47 +01:00
|
|
|
%configure
|
2021-06-03 10:18:24 +02:00
|
|
|
%make_build
|
2007-01-16 00:06:17 +01:00
|
|
|
|
|
|
|
%install
|
2021-06-03 10:18:24 +02:00
|
|
|
%make_install
|
2015-12-03 11:09:55 +01:00
|
|
|
install -d -m 755 %{buildroot}/sbin
|
2011-08-01 10:15:37 +02:00
|
|
|
install -D -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}/libbridge.h
|
|
|
|
install -D -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}/libbridge.a
|
2007-01-16 00:06:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2020-11-03 08:35:09 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README THANKS doc/[FHPRSW]*
|
2015-12-03 11:09:55 +01:00
|
|
|
%{_mandir}/man?/*
|
2012-02-02 18:34:33 +01:00
|
|
|
%{_sbindir}/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-01-16 00:06:17 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*
|
|
|
|
|
2008-01-09 21:53:47 +01:00
|
|
|
%changelog
|