1 Summary: Utilities for configuring the linux ethernet bridge
2 Summary(pl): U¿ytki przeznaczone do konfiguracji linux ethernet bridge
6 Group: Networking/Admin
7 Source0: http://osdn.dl.sourceforge.net/sourceforge/bridge/%{name}-%{version}.tar.gz
8 # Source0-md5: 2cab42847c4654e58c4d0ba114bfe2c2
9 URL: http://bridge.sourceforge.net/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: sysfsutils-devel
13 BuildRequires: kernel-headers(bridging)
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sbindir /sbin
20 This package contains utilities for configuring the linux ethernet
21 bridge. The linux ethernet bridge can be used for connecting multiple
22 ethernet devices together. The connecting is fully transparent: hosts
23 connected to one ethernet device see hosts connected to the other
24 ethernet devices directly.
27 Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania
28 linuksowego ethernet bridge (inteligentny switch). Linux ethernet
29 bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów
30 sieciowych w jeden. Po³±czenie jest w pe³ni prze¼roczyste; hosty
31 przy³±czone po jednej stronie widz± hosty z drugiej strony
35 Summary: Libraries for the linux ethernet bridge programs
36 Summary(pl): Biblioteki u¿ywane do sterowania linuksowym bridge
37 Group: Development/Libraries
40 This package contains the header and object files necessary for
41 developing programs which use 'libbridge', the interface to the linux
42 kernel ethernet bridge.
44 %description devel -l pl
45 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
46 programów u¿ywaj±cych 'libbridge' - interfejs do linuksowego ethernet
54 cp -f /usr/share/automake/config.sub .
58 chmod u+w brctl/brctl.h libbridge/libbridge_private.h
59 echo "#include <linux/errno.h>" >> brctl/brctl.h
60 echo "#include <linux/errno.h>" >> libbridge/config.h
61 sed -i -e 's#sysfs/libsysfs.h#libsysfs.h#g' libbridge/libbridge_private.h
62 sed -i -e 's#KERNEL_HEADERS=.*#KERNEL_HEADERS=#g' */Makefile*
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
69 $RPM_BUILD_ROOT%{_mandir}/man8
72 DESTDIR=$RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST}
80 %attr(755,root,root) %{_sbindir}/*
84 %defattr(644,root,root,755)