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