blob: 3804e2cfd690d2e579c4754a40c34f62735835b0 [file] [log] [blame]
buytenh38837a82001-06-22 19:59:02 +00001Summary: Utilities for configuring the linux ethernet bridge.
2Name: bridge-utils
buytenh5ebce1b2001-06-22 20:04:00 +00003Version: 0.9.3
buytenh0661baa2002-01-06 11:41:27 +00004Release: 2
buytenh38837a82001-06-22 19:59:02 +00005Copyright: GPL
buytenh0661baa2002-01-06 11:41:27 +00006Group: System Environment/Base
buytenh5ebce1b2001-06-22 20:04:00 +00007Source0: http://bridge.sourceforge.net/bridge-utils/bridge-utils-%{PACKAGE_VERSION}.tar.gz
buytenh0661baa2002-01-06 11:41:27 +00008BuildRoot: /var/tmp/%{name}-%{version}-root
buytenh38837a82001-06-22 19:59:02 +00009
10%description
11This package contains utilities for configuring the linux ethernet
12bridge. The linux ethernet bridge can be used for connecting multiple
13ethernet devices together. The connecting is fully transparent: hosts
14connected to one ethernet device see hosts connected to the other
15ethernet devices directly.
16
17Install bridge-utils if you want to use the linux ethernet bridge.
18
19%package -n bridge-utils-devel
20Summary: Utilities for configuring the linux ethernet bridge.
21Group: Development/Libraries
22
23%description -n bridge-utils-devel
24The bridge-utils-devel package contains the header and object files
25necessary for developing programs which use 'libbridge.a', the
26interface to the linux kernel ethernet bridge. If you are developing
27programs which need to configure the linux ethernet bridge, your
28system needs to have these standard header and object files available
29in order to create the executables.
30
31Install bridge-utils-devel if you are going to develop programs which
32will use the linux ethernet bridge interface library.
33
34%prep
35%setup -n bridge-utils
36
37%build
38make
39
40%install
buytenh0661baa2002-01-06 11:41:27 +000041[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
buytenh38837a82001-06-22 19:59:02 +000042mkdir -p ${RPM_BUILD_ROOT}
buytenh0661baa2002-01-06 11:41:27 +000043mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
44mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
45mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
46mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
47install -m 0755 brctl/brctl ${RPM_BUILD_ROOT}/%{_sbindir}
48gzip doc/brctl.8
49install -m 0644 doc/brctl.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8
50install -m 0644 libbridge/libbridge.h ${RPM_BUILD_ROOT}%{_includedir}
51install -m 0644 libbridge/libbridge.a ${RPM_BUILD_ROOT}%{_libdir}/
buytenh38837a82001-06-22 19:59:02 +000052
53%clean
buytenh0661baa2002-01-06 11:41:27 +000054[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
buytenh38837a82001-06-22 19:59:02 +000055
56%files
57%defattr (-,root,root)
buytenh0661baa2002-01-06 11:41:27 +000058%doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY
59%{_sbindir}/brctl
60%{_mandir}/man8/brctl.8.gz
buytenh38837a82001-06-22 19:59:02 +000061
62%files -n bridge-utils-devel
63%defattr (-,root,root)
buytenh0661baa2002-01-06 11:41:27 +000064%{_includedir}/libbridge.h
65%{_libdir}/libbridge.a
66
67%changelog
68* Wed Nov 07 2001 Matthew Galgoci <mgalgoci@redhat.com>
69- initial cleanup of spec file from net release
70