]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- updated to 0.9.3.
[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.3
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Obsoletes:      brcfg
15 URL:            http://bridge.sourceforge.net/
16 BuildRequires:  kernel-headers(bridging)
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 linuxowego
29 ethernet bridge (inteligentny switch). Linux ethernet bridge mo¿e byæ
30 u¿yty do ³±czenia kilku ethernetowych interfejsów sieciowych w jeden.
31 Po³±czenie jest w pe³ni prze¼roczyste; hosty przy³±czone po jednej
32 stronie widz± hosty z drugiej strony bezpo¶rednio.
33
34 %package devel
35 Summary:        Libraries for the linux ethernet bridge programs.
36 Summary(pl):    Biblioteki u¿ywane do sterowania linuxowym bridge.
37 Group:          Development/Libraries
38 Group(de):      Entwicklung/Libraries
39 Group(fr):      Development/Librairies
40 Group(pl):      Programowanie/Biblioteki
41
42 %description devel
43 This package contains the header and object files necessary for
44 developing programs which use 'libbridge', the interface to the linux
45 kernel ethernet bridge.
46
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
49 programów u¿ywaj±cych 'libbridge' - interfejs do linuxowego ethernet
50 bridge.
51
52 %prep
53 %setup -q -n %{name}
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 %{__make} all OPT="%{rpmcflags}"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
63         $RPM_BUILD_ROOT%{_mandir}/man8
64
65 install brctl/brctl             $RPM_BUILD_ROOT%{_sbindir}
66 #install brctl/brctld           $RPM_BUILD_ROOT%{_sbindir}
67 install doc/*.8                 $RPM_BUILD_ROOT%{_mandir}/man8
68 install libbridge/libbridge.a   $RPM_BUILD_ROOT%{_libdir}
69 install libbridge/libbridge.h   $RPM_BUILD_ROOT%{_includedir}
70
71 gzip -9nf doc/*
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc doc/{FAQ,FIREWALL,HOWTO,TODO,WISHLIST}.gz
79 %attr(755,root,root) %{_sbindir}/*
80 %{_mandir}/man8/*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %{_libdir}/*.a
85 %{_includedir}/*.h
This page took 0.071572 seconds and 4 git commands to generate.