buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 1 | Summary: Utilities for configuring the linux ethernet bridge. |
| 2 | Name: bridge-utils |
buytenh | 5ebce1b | 2001-06-22 20:04:00 +0000 | [diff] [blame] | 3 | Version: 0.9.3 |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 4 | Release: 2 |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 5 | Copyright: GPL |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 6 | Group: System Environment/Base |
buytenh | 5ebce1b | 2001-06-22 20:04:00 +0000 | [diff] [blame] | 7 | Source0: http://bridge.sourceforge.net/bridge-utils/bridge-utils-%{PACKAGE_VERSION}.tar.gz |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 8 | BuildRoot: /var/tmp/%{name}-%{version}-root |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 9 | |
| 10 | %description |
| 11 | This package contains utilities for configuring the linux ethernet |
| 12 | bridge. The linux ethernet bridge can be used for connecting multiple |
| 13 | ethernet devices together. The connecting is fully transparent: hosts |
| 14 | connected to one ethernet device see hosts connected to the other |
| 15 | ethernet devices directly. |
| 16 | |
| 17 | Install bridge-utils if you want to use the linux ethernet bridge. |
| 18 | |
| 19 | %package -n bridge-utils-devel |
| 20 | Summary: Utilities for configuring the linux ethernet bridge. |
| 21 | Group: Development/Libraries |
| 22 | |
| 23 | %description -n bridge-utils-devel |
| 24 | The bridge-utils-devel package contains the header and object files |
| 25 | necessary for developing programs which use 'libbridge.a', the |
| 26 | interface to the linux kernel ethernet bridge. If you are developing |
| 27 | programs which need to configure the linux ethernet bridge, your |
| 28 | system needs to have these standard header and object files available |
| 29 | in order to create the executables. |
| 30 | |
| 31 | Install bridge-utils-devel if you are going to develop programs which |
| 32 | will use the linux ethernet bridge interface library. |
| 33 | |
| 34 | %prep |
| 35 | %setup -n bridge-utils |
| 36 | |
| 37 | %build |
| 38 | make |
| 39 | |
| 40 | %install |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 41 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 42 | mkdir -p ${RPM_BUILD_ROOT} |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 43 | mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} |
| 44 | mkdir -p ${RPM_BUILD_ROOT}%{_includedir} |
| 45 | mkdir -p ${RPM_BUILD_ROOT}%{_libdir} |
| 46 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 |
| 47 | install -m 0755 brctl/brctl ${RPM_BUILD_ROOT}/%{_sbindir} |
| 48 | gzip doc/brctl.8 |
| 49 | install -m 0644 doc/brctl.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8 |
| 50 | install -m 0644 libbridge/libbridge.h ${RPM_BUILD_ROOT}%{_includedir} |
| 51 | install -m 0644 libbridge/libbridge.a ${RPM_BUILD_ROOT}%{_libdir}/ |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 52 | |
| 53 | %clean |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 54 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 55 | |
| 56 | %files |
| 57 | %defattr (-,root,root) |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 58 | %doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY |
| 59 | %{_sbindir}/brctl |
| 60 | %{_mandir}/man8/brctl.8.gz |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 61 | |
| 62 | %files -n bridge-utils-devel |
| 63 | %defattr (-,root,root) |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame^] | 64 | %{_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 | |