cvsdist f556c6e
Summary: Utilities for configuring the linux ethernet bridge.
cvsdist f556c6e
Name: bridge-utils
cvsdist f556c6e
Version: 0.9.3
cvsdist f556c6e
Release: 3
cvsdist f556c6e
Copyright: GPL
cvsdist f556c6e
Group: System Environment/Base
cvsdist f556c6e
Source0: http://bridge.sourceforge.net/bridge-utils/bridge-utils-%{PACKAGE_VERSION}.tar.gz
cvsdist f556c6e
BuildRoot: /var/tmp/%{name}-%{version}-root
cvsdist f556c6e
cvsdist f556c6e
%description
cvsdist f556c6e
This package contains utilities for configuring the linux ethernet
cvsdist f556c6e
bridge. The linux ethernet bridge can be used for connecting multiple
cvsdist f556c6e
ethernet devices together. The connecting is fully transparent: hosts
cvsdist f556c6e
connected to one ethernet device see hosts connected to the other
cvsdist f556c6e
ethernet devices directly.
cvsdist f556c6e
cvsdist f556c6e
Install bridge-utils if you want to use the linux ethernet bridge.
cvsdist f556c6e
cvsdist f556c6e
%package -n bridge-utils-devel
cvsdist f556c6e
Summary: Utilities for configuring the linux ethernet bridge.
cvsdist f556c6e
Group: Development/Libraries
cvsdist f556c6e
cvsdist f556c6e
%description -n bridge-utils-devel
cvsdist f556c6e
The bridge-utils-devel package contains the header and object files
cvsdist f556c6e
necessary for developing programs which use 'libbridge.a', the
cvsdist f556c6e
interface to the linux kernel ethernet bridge. If you are developing
cvsdist f556c6e
programs which need to configure the linux ethernet bridge, your
cvsdist f556c6e
system needs to have these standard header and object files available
cvsdist f556c6e
in order to create the executables.
cvsdist f556c6e
cvsdist f556c6e
Install bridge-utils-devel if you are going to develop programs which
cvsdist f556c6e
will use the linux ethernet bridge interface library.
cvsdist f556c6e
cvsdist f556c6e
%prep
cvsdist f556c6e
%setup -n bridge-utils
cvsdist f556c6e
cvsdist f556c6e
%build
cvsdist f556c6e
make
cvsdist f556c6e
cvsdist f556c6e
%install
cvsdist f556c6e
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist f556c6e
mkdir -p ${RPM_BUILD_ROOT}
cvsdist f556c6e
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
cvsdist f556c6e
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
cvsdist f556c6e
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
cvsdist f556c6e
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
cvsdist f556c6e
install -m 0755 brctl/brctl ${RPM_BUILD_ROOT}/%{_sbindir}
cvsdist f556c6e
gzip doc/brctl.8
cvsdist f556c6e
install -m 0644  doc/brctl.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8
cvsdist f556c6e
install -m 0644 libbridge/libbridge.h ${RPM_BUILD_ROOT}%{_includedir}
cvsdist f556c6e
install -m 0644 libbridge/libbridge.a ${RPM_BUILD_ROOT}%{_libdir}/
cvsdist f556c6e
cvsdist f556c6e
%clean
cvsdist f556c6e
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist f556c6e
cvsdist f556c6e
%files
cvsdist f556c6e
%defattr (-,root,root)
cvsdist f556c6e
%doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY
cvsdist f556c6e
%{_sbindir}/brctl
cvsdist f556c6e
%{_mandir}/man8/brctl.8.gz
cvsdist f556c6e
cvsdist f556c6e
%files -n bridge-utils-devel
cvsdist f556c6e
%defattr (-,root,root)
cvsdist f556c6e
%{_includedir}/libbridge.h
cvsdist f556c6e
%{_libdir}/libbridge.a
cvsdist f556c6e
cvsdist f556c6e
%changelog
cvsdist f556c6e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist f556c6e
- automated rebuild
cvsdist f556c6e
cvsdist f556c6e
* Wed Nov 07 2001 Matthew Galgoci <mgalgoci@redhat.com>
cvsdist f556c6e
- initial cleanup of spec file from net release
cvsdist f556c6e