1 Summary: Utilities for configuring the Linux ethernet bridge
2 Summary(pl.UTF-8): Narzędzia przeznaczone do konfiguracji linuksowego ethernet bridge
7 Group: Networking/Admin
8 Source0: http://downloads.sourceforge.net/bridge/%{name}-%{version}.tar.gz
9 # Source0-md5: ec7b381160b340648dede58c31bb2238
12 Patch2: fail_on_error.patch
13 Patch3: build_fix.patch
14 URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: linux-libc-headers >= 7:2.6.7
18 BuildRequires: sed >= 4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _sbindir /sbin
25 This package contains utilities for configuring the Linux ethernet
26 bridge. The Linux ethernet bridge can be used for connecting multiple
27 ethernet devices together. The connecting is fully transparent: hosts
28 connected to one ethernet device see hosts connected to the other
29 ethernet devices directly.
31 %description -l pl.UTF-8
32 Ten pakiet zawiera narzędzia przeznaczone do konfigurowania
33 linuksowego ethernet bridge (inteligentnego switcha). Linux ethernet
34 bridge może być użyty do łączenia kilku ethernetowych interfejsów
35 sieciowych w jeden. Połączenie jest w pełni przezroczyste; hosty
36 przyłączone po jednej stronie widzą hosty z drugiej strony
40 Summary: Libraries for the linux ethernet bridge programs
41 Summary(pl.UTF-8): Biblioteki używane do sterowania linuksowym bridge
42 Group: Development/Libraries
45 This package contains the header and object files necessary for
46 developing programs which use 'libbridge', the interface to the linux
47 kernel ethernet bridge.
49 %description devel -l pl.UTF-8
50 Ten pakiet zawiera pliki nagłówkowe i bibliotekę konieczną do rozwoju
51 programów używających libbridge - interfejsu do linuksowego ethernet
62 cp -f /usr/share/automake/{config.*,missing} .
66 --with-linux-headers=%{_includedir}
69 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall"
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
74 $RPM_BUILD_ROOT%{_mandir}/man8
77 DESTDIR=$RPM_BUILD_ROOT
79 install libbridge/libbridge.h $RPM_BUILD_ROOT%{_includedir}
80 install libbridge/libbridge.a $RPM_BUILD_ROOT%{_libdir}
83 rm -rf $RPM_BUILD_ROOT
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog THANKS TODO doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST}
88 %attr(755,root,root) %{_sbindir}/brctl
89 %{_mandir}/man8/brctl.8*
92 %defattr(644,root,root,755)
93 %{_libdir}/libbridge.a
94 %{_includedir}/libbridge.h