]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- massive attack: source-md5
[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.6
5 Release:        0.9
6 License:        GPL
7 Group:          Networking/Admin
8 Source0:        http://bridge.sourceforge.net/bridge-utils/%{name}-%{version}.tar.gz
9 # Source0-md5:  c45ede7ebd2fa762b4093f62ff582fd0
10 Patch0:         %{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
52 %build
53 rm -f missing
54 %{__aclocal}
55 %{__autoconf}
56 %configure
57 %{__make}
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 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST}
76 %attr(755,root,root) %{_sbindir}/*
77 %{_mandir}/man?/*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_libdir}/*.a
82 %{_includedir}/*.h
This page took 0.04788 seconds and 4 git commands to generate.