1 Summary: Utilities for configuring the Linux ethernet bridge
2 Summary(pl): Narzêdzia przeznaczone do konfiguracji linuksowego ethernet bridge
7 Group: Networking/Admin
8 Source0: http://dl.sourceforge.net/bridge/%{name}-%{version}.tar.gz
9 # Source0-md5: 43bbd2a67b59cac3e15d545f8b51df68
10 URL: http://bridge.sourceforge.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: linux-libc-headers >= 7:2.6.7
14 BuildRequires: sysfsutils-devel
15 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _sbindir /sbin
22 This package contains utilities for configuring the Linux ethernet
23 bridge. The Linux ethernet bridge can be used for connecting multiple
24 ethernet devices together. The connecting is fully transparent: hosts
25 connected to one ethernet device see hosts connected to the other
26 ethernet devices directly.
29 Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania
30 linuksowego ethernet bridge (inteligentnego switcha). Linux ethernet
31 bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów
32 sieciowych w jeden. Po³±czenie jest w pe³ni przezroczyste; hosty
33 przy³±czone po jednej stronie widz± hosty z drugiej strony
37 Summary: Libraries for the linux ethernet bridge programs
38 Summary(pl): Biblioteki u¿ywane do sterowania linuksowym bridge
39 Group: Development/Libraries
42 This package contains the header and object files necessary for
43 developing programs which use 'libbridge', the interface to the linux
44 kernel ethernet bridge.
46 %description devel -l pl
47 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
48 programów u¿ywaj±cych libbridge - interfejsu do linuksowego ethernet
57 cp -f /usr/share/automake/config.sub .
61 chmod u+w libbridge/libbridge_private.h
62 sed -i -e 's#sysfs/libsysfs.h#libsysfs.h#g' libbridge/libbridge_private.h
63 sed -i -e 's#KERNEL_HEADERS=.*#KERNEL_HEADERS=#g' */Makefile*
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
70 $RPM_BUILD_ROOT%{_mandir}/man8
73 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST}
81 %attr(755,root,root) %{_sbindir}/*
85 %defattr(644,root,root,755)