]>
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 |
c3e754b8 | 4 | Version: 1.4 |
ce3a0202 | 5 | Release: 1 |
9ee409b7 | 6 | License: GPL |
2e48ab2c | 7 | Group: Networking/Admin |
7c3287c9 | 8 | Source0: http://dl.sourceforge.net/bridge/%{name}-%{version}.tar.gz |
c3e754b8 | 9 | # Source0-md5: 0182fcac3a2b307113bbec34e5f1c673 |
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 | 52 | |
5f019a72 JB |
53 | rm -rf autom4te.cache |
54 | ||
2e48ab2c | 55 | %build |
0a2dd00d | 56 | cp -f /usr/share/automake/{config.*,missing} . |
ff145a7a | 57 | %{__aclocal} |
58 | %{__autoconf} | |
59 | %configure | |
ec675456 AM |
60 | sed -i -e 's#KERNEL_HEADERS=.*#KERNEL_HEADERS=#g' */Makefile* |
61 | %{__make} \ | |
0a2dd00d | 62 | CFLAGS="%{rpmcflags} -Wall" \ |
ec675456 | 63 | KERNEL_HEADERS="" |
2e48ab2c AM |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
d1861ad3 | 67 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \ |
9ee409b7 | 68 | $RPM_BUILD_ROOT%{_mandir}/man8 |
2e48ab2c | 69 | |
ec675456 AM |
70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
8a0f0cd6 | 72 | |
2e48ab2c AM |
73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
d0ea468e | 78 | %doc AUTHORS ChangeLog THANKS TODO doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST} |
9ee409b7 | 79 | %attr(755,root,root) %{_sbindir}/* |
5f019a72 | 80 | %{_mandir}/man8/* |
2e48ab2c AM |
81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
9ee409b7 | 84 | %{_libdir}/*.a |
85 | %{_includedir}/*.h |