]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- cosmetics.
[packages/bridge-utils.git] / bridge-utils.spec
1 Summary:        Utilities for configuring the linux ethernet bridge
2 Summary(pl):    U¿ytki przeznaczone do konfiguracji linux ethernet bridge
3 Name:           bridge-utils
4 Version:        0.9.5
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Group(de):      Netzwerkwesen/Administration
9 Group(pl):      Sieciowe/Administracyjne
10 Source0:        http://bridge.sourceforge.net/bridge-utils/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-opt.patch
12 Patch1:         %{name}-rootonly.patch
13 URL:            http://bridge.sourceforge.net/
14 BuildRequires:  kernel-headers(bridging)
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Obsoletes:      brcfg
17
18 %define         _sbindir        /sbin
19
20 %description
21 This package contains utilities for configuring the linux ethernet
22 bridge. The linux ethernet bridge can be used for connecting multiple
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.
26
27 %description -l pl
28 Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania
29 linuksowego ethernet bridge (inteligentny switch). Linux ethernet
30 bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów
31 sieciowych w jeden. Po³±czenie jest w pe³ni prze¼roczyste; hosty
32 przy³±czone po jednej stronie widz± hosty z drugiej strony
33 bezpo¶rednio.
34
35 %package devel
36 Summary:        Libraries for the linux ethernet bridge programs.
37 Summary(pl):    Biblioteki u¿ywane do sterowania linuksowym bridge.
38 Group:          Development/Libraries
39 Group(de):      Entwicklung/Libraries
40 Group(es):      Desarrollo/Bibliotecas
41 Group(fr):      Development/Librairies
42 Group(pl):      Programowanie/Biblioteki
43 Group(pt_BR):   Desenvolvimento/Bibliotecas
44 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
45 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
46
47 %description devel
48 This package contains the header and object files necessary for
49 developing programs which use 'libbridge', the interface to the linux
50 kernel ethernet bridge.
51
52 %description devel -l pl
53 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
54 programów u¿ywaj±cych 'libbridge' - interfejs do linuksowego ethernet
55 bridge.
56
57 %prep
58 %setup -q -n %{name}
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 %{__make} all OPT="%{rpmcflags}" CC="%{__cc}"
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
68         $RPM_BUILD_ROOT%{_mandir}/man8
69
70 install brctl/brctl             $RPM_BUILD_ROOT%{_sbindir}
71 #install brctl/brctld           $RPM_BUILD_ROOT%{_sbindir}
72 install doc/*.8                 $RPM_BUILD_ROOT%{_mandir}/man8
73 install libbridge/libbridge.a   $RPM_BUILD_ROOT%{_libdir}
74 install libbridge/libbridge.h   $RPM_BUILD_ROOT%{_includedir}
75
76 cd doc && gzip -9nf FAQ FIREWALL HOWTO SMPNOTES WISHLIST
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc doc/*.gz
84 %attr(755,root,root) %{_sbindir}/*
85 %{_mandir}/man?/*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_libdir}/*.a
90 %{_includedir}/*.h
This page took 0.134622 seconds and 4 git commands to generate.