]> git.pld-linux.org Git - packages/bridge-utils.git/blob - bridge-utils.spec
- use <sysfs/libsysfs.h> (sysfsutils >= 1.3.0-3)
[packages/bridge-utils.git] / bridge-utils.spec
1 Summary:        Utilities for configuring the Linux ethernet bridge
2 Summary(pl):    Narzêdzia przeznaczone do konfiguracji linuksowego ethernet bridge
3 Name:           bridge-utils
4 Version:        1.1
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Source0:        http://dl.sourceforge.net/bridge/%{name}-%{version}.tar.gz
9 # Source0-md5:  43bbd2a67b59cac3e15d545f8b51df68
10 URL:            http://linux-net.osdl.org/index.php/Bridge
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  linux-libc-headers >= 7:2.6.7
14 BuildRequires:  sysfsutils-devel >= 1.3.0-3
15 BuildRequires:  sed >= 4.0
16 Obsoletes:      brcfg
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sbindir        /sbin
20
21 %description
22 This package contains utilities for configuring the Linux ethernet
23 bridge. The Linux ethernet bridge can be used for connecting multiple
24 ethernet devices together. The connecting is fully transparent: hosts
25 connected to one ethernet device see hosts connected to the other
26 ethernet devices directly.
27
28 %description -l pl
29 Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania
30 linuksowego ethernet bridge (inteligentnego switcha). Linux ethernet
31 bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów
32 sieciowych w jeden. Po³±czenie jest w pe³ni przezroczyste; hosty
33 przy³±czone po jednej stronie widz± hosty z drugiej strony
34 bezpo¶rednio.
35
36 %package devel
37 Summary:        Libraries for the linux ethernet bridge programs
38 Summary(pl):    Biblioteki u¿ywane do sterowania linuksowym bridge
39 Group:          Development/Libraries
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 - interfejsu do linuksowego ethernet
49 bridge.
50
51 %prep
52 %setup -q
53
54 rm -rf autom4te.cache
55
56 %build
57 cp -f /usr/share/automake/{config.*,missing} .
58 %{__aclocal}
59 %{__autoconf}
60 %configure
61 sed -i -e 's#KERNEL_HEADERS=.*#KERNEL_HEADERS=#g' */Makefile*
62 %{__make} \
63         CFLAGS="%{rpmcflags} -Wall" \
64         KERNEL_HEADERS=""
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir}} \
69         $RPM_BUILD_ROOT%{_mandir}/man8
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc doc/{FAQ,FIREWALL,HOWTO,SMPNOTES,WISHLIST}
80 %attr(755,root,root) %{_sbindir}/*
81 %{_mandir}/man8/*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %{_libdir}/*.a
86 %{_includedir}/*.h
This page took 0.333258 seconds and 4 git commands to generate.