buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 1 | Name: bridge-utils |
shemminger | 5c76d5a | 2004-05-11 21:22:28 +0000 | [diff] [blame] | 2 | Version: 1.0 |
buytenh | 4753040 | 2002-01-06 11:50:28 +0000 | [diff] [blame] | 3 | Release: 1 |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 4 | Copyright: GPL |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame] | 5 | Group: System Environment/Base |
shemminger | 5c76d5a | 2004-05-11 21:22:28 +0000 | [diff] [blame] | 6 | Summary: Utilities for configuring the linux ethernet bridge. |
| 7 | Buildroot: %{_tmppath}/%{name}-%{version} |
| 8 | Source: %{name}-%{version}.tar.gz |
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 |
shemminger | 7e3b3ba | 2004-05-11 22:13:03 +0000 | [diff] [blame^] | 35 | %setup -q |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 36 | |
| 37 | %build |
shemminger | 1fab123 | 2004-05-11 21:32:22 +0000 | [diff] [blame] | 38 | CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir} |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 39 | make |
| 40 | |
| 41 | %install |
shemminger | 1fab123 | 2004-05-11 21:32:22 +0000 | [diff] [blame] | 42 | make install |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 43 | |
| 44 | %clean |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame] | 45 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 46 | |
| 47 | %files |
| 48 | %defattr (-,root,root) |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame] | 49 | %doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY |
| 50 | %{_sbindir}/brctl |
| 51 | %{_mandir}/man8/brctl.8.gz |
buytenh | 38837a8 | 2001-06-22 19:59:02 +0000 | [diff] [blame] | 52 | |
| 53 | %files -n bridge-utils-devel |
| 54 | %defattr (-,root,root) |
buytenh | 0661baa | 2002-01-06 11:41:27 +0000 | [diff] [blame] | 55 | %{_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 | |