]>
Commit | Line | Data |
---|---|---|
5d27855d | 1 | Summary: Utilities for configuring the Linux ethernet bridge |
e1366da4 | 2 | Summary(pl.UTF-8): Narzędzia przeznaczone do konfiguracji linuksowego ethernet bridge |
2e48ab2c | 3 | Name: bridge-utils |
81c7ac63 | 4 | Version: 1.5 |
43573381 | 5 | Release: 3 |
ce8e8858 | 6 | License: GPL v2+ |
2e48ab2c | 7 | Group: Networking/Admin |
ce8e8858 | 8 | Source0: http://downloads.sourceforge.net/bridge/%{name}-%{version}.tar.gz |
81c7ac63 | 9 | # Source0-md5: ec7b381160b340648dede58c31bb2238 |
826b1b83 MK |
10 | Patch0: debian.patch |
11 | Patch1: man.patch | |
12 | Patch2: fail_on_error.patch | |
13 | Patch3: build_fix.patch | |
14 | URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge | |
8a30c702 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
5f019a72 | 17 | BuildRequires: linux-libc-headers >= 7:2.6.7 |
5f019a72 | 18 | BuildRequires: sed >= 4.0 |
8e467d9d | 19 | Obsoletes: brcfg |
7c3287c9 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
2e48ab2c | 21 | |
9ee409b7 | 22 | %define _sbindir /sbin |
23 | ||
2e48ab2c | 24 | %description |
5d27855d JB |
25 | This package contains utilities for configuring the Linux ethernet |
26 | bridge. The Linux ethernet bridge can be used for connecting multiple | |
a7282dc4 | 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. | |
2e48ab2c | 30 | |
43a3ef86 JR |
31 | %description -l pl.UTF-8 |
32 | Ten pakiet zawiera narzędzia przeznaczone do konfigurowania | |
7c3287c9 | 33 | linuksowego ethernet bridge (inteligentnego switcha). Linux ethernet |
43a3ef86 JR |
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 | |
37 | bezpośrednio. | |
2e48ab2c AM |
38 | |
39 | %package devel | |
26be7a3f | 40 | Summary: Libraries for the linux ethernet bridge programs |
e1366da4 | 41 | Summary(pl.UTF-8): Biblioteki używane do sterowania linuksowym bridge |
9ee409b7 | 42 | Group: Development/Libraries |
2e48ab2c AM |
43 | |
44 | %description devel | |
a7282dc4 | 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. | |
2e48ab2c | 48 | |
43a3ef86 JR |
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 | |
9ee409b7 | 52 | bridge. |
2e48ab2c AM |
53 | |
54 | %prep | |
ec675456 | 55 | %setup -q |
826b1b83 MK |
56 | %patch0 -p1 |
57 | %patch1 -p1 | |
58 | %patch2 -p1 | |
59 | %patch3 -p1 | |
2e48ab2c AM |
60 | |
61 | %build | |
0a2dd00d | 62 | cp -f /usr/share/automake/{config.*,missing} . |
ff145a7a | 63 | %{__aclocal} |
64 | %{__autoconf} | |
81c7ac63 AM |
65 | %configure \ |
66 | --with-linux-headers=%{_includedir} | |
67 | ||
ec675456 | 68 | %{__make} \ |
81c7ac63 | 69 | CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" |
2e48ab2c AM |
70 | |
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
d1861ad3 | 73 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \ |
9ee409b7 | 74 | $RPM_BUILD_ROOT%{_mandir}/man8 |
2e48ab2c | 75 | |
ec675456 AM |
76 | %{__make} install \ |
77 | DESTDIR=$RPM_BUILD_ROOT | |
8a0f0cd6 | 78 | |
81c7ac63 AM |
79 | install libbridge/libbridge.h $RPM_BUILD_ROOT%{_includedir} |
80 | install libbridge/libbridge.a $RPM_BUILD_ROOT%{_libdir} | |
81 | ||
2e48ab2c AM |
82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %files | |
86 | %defattr(644,root,root,755) | |
d0ea468e | 87 | %doc AUTHORS ChangeLog THANKS TODO doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST} |
ce8e8858 JB |
88 | %attr(755,root,root) %{_sbindir}/brctl |
89 | %{_mandir}/man8/brctl.8* | |
2e48ab2c AM |
90 | |
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
ce8e8858 JB |
93 | %{_libdir}/libbridge.a |
94 | %{_includedir}/libbridge.h |