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