]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source0:        http://bridge.sourceforge.net/bridge-utils/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-opt.patch
10 Patch1:         %{name}-rootonly.patch
11 URL:            http://bridge.sourceforge.net/
12 BuildRequires:  kernel-headers(bridging)
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
27 linuksowego ethernet bridge (inteligentny switch). Linux ethernet
28 bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów
29 sieciowych w jeden. Po³±czenie jest w pe³ni prze¼roczyste; hosty
30 przy³±czone po jednej stronie widz± hosty z drugiej strony
31 bezpo¶rednio.
32
33 %package devel
34 Summary:        Libraries for the linux ethernet bridge programs.
35 Summary(pl):    Biblioteki u¿ywane do sterowania linuksowym bridge.
36 Group:          Development/Libraries
37
38 %description devel
39 This package contains the header and object files necessary for
40 developing programs which use 'libbridge', the interface to the linux
41 kernel ethernet 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 linuksowego ethernet
46 bridge.
47
48 %prep
49 %setup -q -n %{name}
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 %{__make} all OPT="%{rpmcflags}" CC="%{__cc}"
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 brctl/brctl             $RPM_BUILD_ROOT%{_sbindir}
62 #install 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 cd doc && gzip -9nf FAQ FIREWALL HOWTO SMPNOTES WISHLIST
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc doc/*.gz
75 %attr(755,root,root) %{_sbindir}/*
76 %{_mandir}/man?/*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_libdir}/*.a
81 %{_includedir}/*.h
This page took 0.898888 seconds and 4 git commands to generate.