%define name bridge-utils %define version 1.0.4 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Source0: http://bridge.sourceforge.net/bridge-utils/%{name}-%{version}.tar.bz2 Source1: bridge.sysconfig Source2: bridge.init Patch1: %{name}-0.9.6-rootonly.patch.bz2 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prereq: rpm-helper Summary: Utilities for configuring the linux ethernet bridge Group: Networking/Other URL: http://bridge.sourceforge.net/ BuildRequires: kernel-headers %description This package contains utilities for configuring the linux ethernet bridge. The linux ethernet bridge can be used for connecting multiple ethernet devices together. The connecting is fully transparent: hosts connected to one ethernet device see hosts connected to the other ethernet devices directly. %description -l pl Ten pakiet zawiera narzêdzia przeznaczone do konfigurowania linuxowego ethernet bridge (inteligentny switch). Linux ethernet bridge mo¿e byæ u¿yty do ³±czenia kilku ethernetowych interfejsów sieciowych w jeden. Po³±czenie jest w pe³ni prze¼roczyste; hosty przy³±czone po jednej stronie widz± hosty z drugiej strony bezpo¶rednio. %package devel Summary: Libraries for the linux ethernet bridge programs Summary(pl): Biblioteki u¿ywane do sterowania linuxowym bridge Group: Development/C %description devel This package contains the header and object files necessary for developing programs which use 'libbridge', the interface to the linux kernel ethernet bridge. %description devel -l pl Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju programów u¿ywaj±cych 'libbridge' - interfejs do linuxowego ethernet bridge. %prep %setup -q %patch1 -p1 %build %configure %make %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} install -m644 %{SOURCE1} -D %{buildroot}%{_sysconfdir}/sysconfig/bridge install -m755 %{SOURCE2} -D %{buildroot}%{_initrddir}/bridge %clean rm -rf $RPM_BUILD_ROOT %post %_post_service bridge %preun %_preun_service bridge %files %defattr(-,root,root) %doc README doc/{FAQ,FIREWALL,HOWTO,WISHLIST} %doc %{_mandir}/man*/* %{_sbindir}/* %config(noreplace) %{_sysconfdir}/sysconfig/bridge %config(noreplace) %{_initrddir}/bridge %files devel %defattr(-,root,root) %doc %{_mandir}/man*/* %{_libdir}/*.a %{_includedir}/*.h %changelog * Wed Dec 22 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 1.0.4-1mdk - 1.0.4 - drop bidi (removed upstream) - fix summary-ended-with-dot - cosmetics * Tue Jun 01 2004 Florin <florin@mandrakesoft.com> 0.9.7-2mdk - add initscript and sysconf file * Tue May 25 2004 Florin <florin@mandrakesoft.com> 0.9.7-1mdk - 0.9.7 - add the bidi file from the misc directory * Thu Jul 24 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.9.6-2mdk - rebuild - drop unapplied P0 * Fri Jan 10 2003 Florin <florin@mandrakesoft.com> 0.9.6-1mdk - 0.9.6 - update the rootonly patch - comment out the opt patch * Mon Apr 29 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.9.5-1mdk - Bump release. - Only include documentation in one package, not both. * Wed Oct 17 2001 dam's <damien@mandrakesoft.com> 0.9.3-1mdk - first mandrake package inspired by the PLD one.