]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- spec adapterized,
[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.0
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Group(pl):      Sieciowe/Administracja
9 Source0:        ftp://openrock.net/bridge/%{name}-%{version}.tar.gz
10 Patch0:         bridge-utils-opt.patch
11 Patch1:         bridge-utils-rootonly.patch
12 BuildRoot:      /tmp/%{name}-%{version}-root
13 Obsoletes:      brcfg
14
15 %define         _sbindir        /sbin
16
17 %description
18 This package contains utilities for configuring the linux ethernet bridge.
19 The linux ethernet bridge can be used for connecting multiple ethernet
20 devices together. The connecting is fully transparent: hosts connected to
21 one ethernet device see hosts connected to the other ethernet devices
22 directly.
23
24 %description -l pl
25 Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania linuxowego
26 ethernet bridge (inteligentny switch). Linux ethernet bridge mo¿e byæ u¿yty
27 do ³±czenia kilku ethernetowych interfejsów sieciowych w jeden. Po³±czenie
28 jest w pe³ni prze¼roczyste; hosty przy³±czone po jednej stronie widz± hosty
29 z drugiej strony bezpo¶rednio.
30
31 %package devel
32 Summary:        Libraries for the linux ethernet bridge programs.
33 Summary(pl):    Biblioteki u¿ywane do sterowania linuxowym bridge.
34 Group:          Development/Libraries
35 Group(fr):      Development/Librairies
36 Group(pl):      Programowanie/Biblioteki
37
38 %description devel
39 This package contains the header and object files necessary for developing
40 programs which use 'libbridge', the interface to the linux kernel ethernet
41 bridge.
42
43 %description devel -l pl
44 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
45 programów u¿ywaj±cych 'libbridge' - interfejs do linuxowego ethernet
46 bridge.
47
48 %prep
49 %setup -q -n bridge
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 make OPT="$RPM_OPT_FLAGS" all
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_sbindir},{_libdir},%{_includedir}} \
59         $RPM_BUILD_ROOT%{_mandir}/man8
60
61 install -s brctl/brctl          $RPM_BUILD_ROOT%{_sbindir}/
62 #install -s brctl/brctld                $RPM_BUILD_ROOT%{_sbindir}/
63 install doc/*.8                 $RPM_BUILD_ROOT%{_mandir}/man8
64 install libbridge/libbridge.a   $RPM_BUILD_ROOT%{_libdir}
65 install libbridge/libbridge.h   $RPM_BUILD_ROOT%{_includedir}
66         
67 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man8/*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc doc/{FAQ,FIREWALL,HOWTO,TODO,WISHLIST}.gz
75 %attr(755,root,root) %{_sbindir}/*
76 %{_mandir}/man8/*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_libdir}/*.a
81 %{_includedir}/*.h
This page took 0.074179 seconds and 3 git commands to generate.