[5948] | 1 | Summary: Utilities for configuring the linux ethernet bridge. |
---|
| 2 | Summary(ja): イーサネットブリッジ設定ユーティリティ |
---|
| 3 | Name: bridge-utils |
---|
| 4 | Version: 1.5 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2+ |
---|
| 7 | URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge |
---|
| 8 | Group: Applications/System |
---|
| 9 | Source0: http://dl.sf.net/bridge/%{name}-%{version}.tar.gz |
---|
| 10 | Patch0: bridge-utils-1.5-fix-incorrect-command-in-manual.patch |
---|
| 11 | Patch1: bridge-utils-1.5-fix-error-message-for-incorrect-command.patch |
---|
| 12 | Patch2: bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch |
---|
| 13 | Patch10: bridge-utils-1.0.4-inc.patch |
---|
| 14 | BuildRequires: autoconf |
---|
| 15 | BuildRequires: kernel-headers >= 2.6.16 |
---|
[521] | 16 | |
---|
| 17 | %description |
---|
| 18 | This package contains utilities for configuring the linux ethernet |
---|
| 19 | bridge. The linux ethernet bridge can be used for connecting multiple |
---|
| 20 | ethernet devices together. The connecting is fully transparent: hosts |
---|
| 21 | connected to one ethernet device see hosts connected to the other |
---|
| 22 | ethernet devices directly. |
---|
| 23 | |
---|
| 24 | Install bridge-utils if you want to use the linux ethernet bridge. |
---|
| 25 | |
---|
[5948] | 26 | #%package -n bridge-utils-devel |
---|
| 27 | #Summary: Header and object files for using bridge-utils |
---|
| 28 | #Group: Development/Libraries |
---|
[521] | 29 | |
---|
[5948] | 30 | #%description -n bridge-utils-devel |
---|
| 31 | #The bridge-utils-devel package contains the header and object files |
---|
| 32 | #necessary for developing programs which use 'libbridge.a', the |
---|
| 33 | #interface to the linux kernel ethernet bridge. If you are developing |
---|
| 34 | #programs which need to configure the linux ethernet bridge, your |
---|
| 35 | #system needs to have these standard header and object files available |
---|
| 36 | #in order to create the executables. |
---|
| 37 | # |
---|
| 38 | #Install bridge-utils-devel if you are going to develop programs which |
---|
| 39 | #will use the linux ethernet bridge interface library. |
---|
[521] | 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | %patch0 -p1 |
---|
| 45 | %patch1 -p1 |
---|
[5948] | 46 | %patch2 -p1 |
---|
| 47 | %patch10 -p1 |
---|
[521] | 48 | |
---|
| 49 | %build |
---|
[5948] | 50 | autoconf |
---|
| 51 | %configure |
---|
[521] | 52 | make |
---|
| 53 | |
---|
| 54 | %install |
---|
[5948] | 55 | make DESTDIR=%{buildroot} install |
---|
[521] | 56 | |
---|
| 57 | %clean |
---|
[5948] | 58 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
[521] | 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr (-,root,root) |
---|
| 62 | %doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY |
---|
| 63 | %{_sbindir}/brctl |
---|
| 64 | %{_mandir}/man8/* |
---|
| 65 | |
---|
[5948] | 66 | #%files -n bridge-utils-devel |
---|
| 67 | #%defattr (-,root,root) |
---|
| 68 | #%{_includedir}/libbridge.h |
---|
| 69 | #%{_libdir}/libbridge.a |
---|
[521] | 70 | |
---|
| 71 | %changelog |
---|
[5948] | 72 | * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5-1 |
---|
| 73 | - new upstream release |
---|
| 74 | - import bugfix patches from Fedora |
---|
| 75 | - drop -devel subpackage (use sane kernel headers) |
---|
| 76 | |
---|
[521] | 77 | * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.6-2 |
---|
| 78 | - spec in utf-8 |
---|
| 79 | |
---|
| 80 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.6-1vl5 |
---|
| 81 | - applied new versioning policy, spec in utf-8 |
---|
| 82 | |
---|
| 83 | * Mon Mar 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-0vl1 |
---|
| 84 | - new upsteam release based Fedora |
---|
| 85 | * Thu Aug 26 2004 David Woodhouse <dwmw2@redhat.com> 1.0.4-4 |
---|
| 86 | - BuildRequires: sysfsutils-devel to make the horrid autoconf script |
---|
| 87 | magically change the entire package's behaviour just because it |
---|
| 88 | happens to find slightly different header files lying around. |
---|
| 89 | - Include our own kernel-derived headers |
---|
| 90 | * Thu Jul 1 2004 David Woodhouse <dwmw2@redhat.com> |
---|
| 91 | - Update to 1.0.4 |
---|
| 92 | - s/Copyright/License/ |
---|
| 93 | |
---|
| 94 | * Sat Oct 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-1vl1 |
---|
| 95 | - initial release |
---|