blob: 9b395b3b6c2863af74aed45fd94dfcbf1217f7fb [file] [log] [blame]
buytenh38837a82001-06-22 19:59:02 +00001Name: bridge-utils
shemminger5c76d5a2004-05-11 21:22:28 +00002Version: 1.0
buytenh47530402002-01-06 11:50:28 +00003Release: 1
buytenh38837a82001-06-22 19:59:02 +00004Copyright: GPL
buytenh0661baa2002-01-06 11:41:27 +00005Group: System Environment/Base
shemminger5c76d5a2004-05-11 21:22:28 +00006Summary: Utilities for configuring the linux ethernet bridge.
7Buildroot: %{_tmppath}/%{name}-%{version}
8Source: %{name}-%{version}.tar.gz
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
shemminger7e3b3ba2004-05-11 22:13:03 +000035%setup -q
buytenh38837a82001-06-22 19:59:02 +000036
37%build
shemminger1fab1232004-05-11 21:32:22 +000038CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir}
buytenh38837a82001-06-22 19:59:02 +000039make
40
41%install
shemminger1fab1232004-05-11 21:32:22 +000042make install
buytenh38837a82001-06-22 19:59:02 +000043
44%clean
buytenh0661baa2002-01-06 11:41:27 +000045[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
buytenh38837a82001-06-22 19:59:02 +000046
47%files
48%defattr (-,root,root)
buytenh0661baa2002-01-06 11:41:27 +000049%doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY
50%{_sbindir}/brctl
51%{_mandir}/man8/brctl.8.gz
buytenh38837a82001-06-22 19:59:02 +000052
53%files -n bridge-utils-devel
54%defattr (-,root,root)
buytenh0661baa2002-01-06 11:41:27 +000055%{_includedir}/libbridge.h
56%{_libdir}/libbridge.a
57
58%changelog
59* Wed Nov 07 2001 Matthew Galgoci <mgalgoci@redhat.com>
60- initial cleanup of spec file from net release
61