]>
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 |
ce3a0202 | 5 | Release: 1 |
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 |
070fa1bc | 10 | URL: http://linux-net.osdl.org/index.php/Bridge |
8a30c702 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
5f019a72 | 13 | BuildRequires: linux-libc-headers >= 7:2.6.7 |
5f019a72 | 14 | BuildRequires: sed >= 4.0 |
8e467d9d | 15 | Obsoletes: brcfg |
7c3287c9 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
2e48ab2c | 17 | |
9ee409b7 | 18 | %define _sbindir /sbin |
19 | ||
2e48ab2c | 20 | %description |
5d27855d JB |
21 | This package contains utilities for configuring the Linux ethernet |
22 | bridge. The Linux ethernet bridge can be used for connecting multiple | |
a7282dc4 | 23 | ethernet devices together. The connecting is fully transparent: hosts |
24 | connected to one ethernet device see hosts connected to the other | |
25 | ethernet devices directly. | |
2e48ab2c | 26 | |
43a3ef86 JR |
27 | %description -l pl.UTF-8 |
28 | Ten pakiet zawiera narzędzia przeznaczone do konfigurowania | |
7c3287c9 | 29 | linuksowego ethernet bridge (inteligentnego switcha). Linux ethernet |
43a3ef86 JR |
30 | bridge może być użyty do łączenia kilku ethernetowych interfejsów |
31 | sieciowych w jeden. Połączenie jest w pełni przezroczyste; hosty | |
32 | przyłączone po jednej stronie widzą hosty z drugiej strony | |
33 | bezpośrednio. | |
2e48ab2c AM |
34 | |
35 | %package devel | |
26be7a3f | 36 | Summary: Libraries for the linux ethernet bridge programs |
e1366da4 | 37 | Summary(pl.UTF-8): Biblioteki używane do sterowania linuksowym bridge |
9ee409b7 | 38 | Group: Development/Libraries |
2e48ab2c AM |
39 | |
40 | %description devel | |
a7282dc4 | 41 | This package contains the header and object files necessary for |
42 | developing programs which use 'libbridge', the interface to the linux | |
43 | kernel ethernet bridge. | |
2e48ab2c | 44 | |
43a3ef86 JR |
45 | %description devel -l pl.UTF-8 |
46 | Ten pakiet zawiera pliki nagłówkowe i bibliotekę konieczną do rozwoju | |
47 | programów używających libbridge - interfejsu do linuksowego ethernet | |
9ee409b7 | 48 | bridge. |
2e48ab2c AM |
49 | |
50 | %prep | |
ec675456 | 51 | %setup -q |
2e48ab2c AM |
52 | |
53 | %build | |
0a2dd00d | 54 | cp -f /usr/share/automake/{config.*,missing} . |
ff145a7a | 55 | %{__aclocal} |
56 | %{__autoconf} | |
81c7ac63 AM |
57 | %configure \ |
58 | --with-linux-headers=%{_includedir} | |
59 | ||
ec675456 | 60 | %{__make} \ |
81c7ac63 | 61 | CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" |
2e48ab2c AM |
62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
d1861ad3 | 65 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \ |
9ee409b7 | 66 | $RPM_BUILD_ROOT%{_mandir}/man8 |
2e48ab2c | 67 | |
ec675456 AM |
68 | %{__make} install \ |
69 | DESTDIR=$RPM_BUILD_ROOT | |
8a0f0cd6 | 70 | |
81c7ac63 AM |
71 | install libbridge/libbridge.h $RPM_BUILD_ROOT%{_includedir} |
72 | install libbridge/libbridge.a $RPM_BUILD_ROOT%{_libdir} | |
73 | ||
2e48ab2c AM |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
d0ea468e | 79 | %doc AUTHORS ChangeLog THANKS TODO doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST} |
ce8e8858 JB |
80 | %attr(755,root,root) %{_sbindir}/brctl |
81 | %{_mandir}/man8/brctl.8* | |
2e48ab2c AM |
82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
ce8e8858 JB |
85 | %{_libdir}/libbridge.a |
86 | %{_includedir}/libbridge.h |