]>
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 |
7c54da2b | 4 | Version: 1.7.1 |
62a2ecdb | 5 | Release: 1 |
ce8e8858 | 6 | License: GPL v2+ |
2e48ab2c | 7 | Group: Networking/Admin |
62a2ecdb | 8 | Source0: https://www.kernel.org/pub/linux/utils/net/bridge-utils/%{name}-%{version}.tar.xz |
7c54da2b | 9 | # Source0-md5: 3e1fee4dc22cac5457c2f6ffb990a518 |
826b1b83 MK |
10 | Patch0: debian.patch |
11 | Patch1: man.patch | |
826b1b83 | 12 | URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge |
7c54da2b | 13 | BuildRequires: autoconf >= 2.50 |
8a30c702 | 14 | BuildRequires: automake |
5f019a72 | 15 | BuildRequires: linux-libc-headers >= 7:2.6.7 |
5f019a72 | 16 | BuildRequires: sed >= 4.0 |
62a2ecdb JB |
17 | BuildRequires: tar >= 1:1.22 |
18 | BuildRequires: xz | |
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 | |
2e48ab2c AM |
58 | |
59 | %build | |
0a2dd00d | 60 | cp -f /usr/share/automake/{config.*,missing} . |
ff145a7a | 61 | %{__aclocal} |
62 | %{__autoconf} | |
81c7ac63 AM |
63 | %configure \ |
64 | --with-linux-headers=%{_includedir} | |
65 | ||
ec675456 | 66 | %{__make} \ |
81c7ac63 | 67 | CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" |
2e48ab2c AM |
68 | |
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
d1861ad3 | 71 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \ |
9ee409b7 | 72 | $RPM_BUILD_ROOT%{_mandir}/man8 |
2e48ab2c | 73 | |
ec675456 AM |
74 | %{__make} install \ |
75 | DESTDIR=$RPM_BUILD_ROOT | |
8a0f0cd6 | 76 | |
81c7ac63 AM |
77 | install libbridge/libbridge.h $RPM_BUILD_ROOT%{_includedir} |
78 | install libbridge/libbridge.a $RPM_BUILD_ROOT%{_libdir} | |
79 | ||
2e48ab2c AM |
80 | %clean |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
7c54da2b | 85 | %doc AUTHORS ChangeLog THANKS doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST} |
ce8e8858 JB |
86 | %attr(755,root,root) %{_sbindir}/brctl |
87 | %{_mandir}/man8/brctl.8* | |
2e48ab2c AM |
88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
ce8e8858 JB |
91 | %{_libdir}/libbridge.a |
92 | %{_includedir}/libbridge.h |