bridge-utils-vl.spec 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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
  16. %description
  17. This package contains utilities for configuring the linux ethernet
  18. bridge. The linux ethernet bridge can be used for connecting multiple
  19. ethernet devices together. The connecting is fully transparent: hosts
  20. connected to one ethernet device see hosts connected to the other
  21. ethernet devices directly.
  22. Install bridge-utils if you want to use the linux ethernet bridge.
  23. #%package -n bridge-utils-devel
  24. #Summary: Header and object files for using bridge-utils
  25. #Group: Development/Libraries
  26. #%description -n bridge-utils-devel
  27. #The bridge-utils-devel package contains the header and object files
  28. #necessary for developing programs which use 'libbridge.a', the
  29. #interface to the linux kernel ethernet bridge. If you are developing
  30. #programs which need to configure the linux ethernet bridge, your
  31. #system needs to have these standard header and object files available
  32. #in order to create the executables.
  33. #
  34. #Install bridge-utils-devel if you are going to develop programs which
  35. #will use the linux ethernet bridge interface library.
  36. %prep
  37. %setup -q
  38. %patch0 -p1
  39. %patch1 -p1
  40. %patch2 -p1
  41. %patch10 -p1
  42. %build
  43. autoconf
  44. %configure
  45. make
  46. %install
  47. make DESTDIR=%{buildroot} install
  48. %clean
  49. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  50. %files
  51. %defattr (-,root,root)
  52. %doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY
  53. %{_sbindir}/brctl
  54. %{_mandir}/man8/*
  55. #%files -n bridge-utils-devel
  56. #%defattr (-,root,root)
  57. #%{_includedir}/libbridge.h
  58. #%{_libdir}/libbridge.a
  59. %changelog
  60. * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5-1
  61. - new upstream release
  62. - import bugfix patches from Fedora
  63. - drop -devel subpackage (use sane kernel headers)
  64. * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.6-2
  65. - spec in utf-8
  66. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.6-1vl5
  67. - applied new versioning policy, spec in utf-8
  68. * Mon Mar 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-0vl1
  69. - new upsteam release based Fedora
  70. * Thu Aug 26 2004 David Woodhouse <dwmw2@redhat.com> 1.0.4-4
  71. - BuildRequires: sysfsutils-devel to make the horrid autoconf script
  72. magically change the entire package's behaviour just because it
  73. happens to find slightly different header files lying around.
  74. - Include our own kernel-derived headers
  75. * Thu Jul 1 2004 David Woodhouse <dwmw2@redhat.com>
  76. - Update to 1.0.4
  77. - s/Copyright/License/
  78. * Sat Oct 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-1vl1
  79. - initial release