bridge-utils-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Summary: Utilities for configuring the linux ethernet bridge.
  2. Summary(ja): イーサネットブリッジ設定ユーティリティ
  3. Name: bridge-utils
  4. Version: 1.0.6
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. URL: http://bridge.sourceforge.net/
  8. Group: Applications/System
  9. Source0: http://bridge.sourceforge.net/bridge-utils/bridge-utils-%{version}.tar.gz
  10. Patch0: bridge-utils-1.0.4-inc.patch
  11. Patch1: bridge-utils-1.0.4-kernheaders.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. #BuildRequires: sysfsutils-devel
  14. %description
  15. This package contains utilities for configuring the linux ethernet
  16. bridge. The linux ethernet bridge can be used for connecting multiple
  17. ethernet devices together. The connecting is fully transparent: hosts
  18. connected to one ethernet device see hosts connected to the other
  19. ethernet devices directly.
  20. Install bridge-utils if you want to use the linux ethernet bridge.
  21. %package -n bridge-utils-devel
  22. Summary: Header and object files for using bridge-utils
  23. Group: Development/Libraries
  24. %description -n bridge-utils-devel
  25. The bridge-utils-devel package contains the header and object files
  26. necessary for developing programs which use 'libbridge.a', the
  27. interface to the linux kernel ethernet bridge. If you are developing
  28. programs which need to configure the linux ethernet bridge, your
  29. system needs to have these standard header and object files available
  30. in order to create the executables.
  31. Install bridge-utils-devel if you are going to develop programs which
  32. will use the linux ethernet bridge interface library.
  33. %prep
  34. %setup -q
  35. %patch0 -p1
  36. %patch1 -p1
  37. %build
  38. %configure --with-linux-headers=`pwd`
  39. make
  40. %install
  41. make DESTDIR=${RPM_BUILD_ROOT} install
  42. #gzip ${RPM_BUILD_ROOT}/%{_mandir}/man8/brctl.8
  43. %clean
  44. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr (-,root,root)
  47. %doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY
  48. %{_sbindir}/brctl
  49. %{_mandir}/man8/*
  50. %files -n bridge-utils-devel
  51. %defattr (-,root,root)
  52. %{_includedir}/libbridge.h
  53. %{_libdir}/libbridge.a
  54. %changelog
  55. * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.6-2
  56. - spec in utf-8
  57. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.6-1vl5
  58. - applied new versioning policy, spec in utf-8
  59. * Mon Mar 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-0vl1
  60. - new upsteam release based Fedora
  61. * Thu Aug 26 2004 David Woodhouse <dwmw2@redhat.com> 1.0.4-4
  62. - BuildRequires: sysfsutils-devel to make the horrid autoconf script
  63. magically change the entire package's behaviour just because it
  64. happens to find slightly different header files lying around.
  65. - Include our own kernel-derived headers
  66. * Thu Jul 1 2004 David Woodhouse <dwmw2@redhat.com>
  67. - Update to 1.0.4
  68. - s/Copyright/License/
  69. * Sat Oct 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-1vl1
  70. - initial release