From 9ee409b79b21b7be707f2b8f0669173c517306a9 Mon Sep 17 00:00:00 2001 From: kloczek Date: Tue, 22 Feb 2000 11:04:28 +0000 Subject: [PATCH] - spec adapterized, - cosmetics. Changed files: bridge-utils.spec -> 1.2 --- bridge-utils.spec | 59 ++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/bridge-utils.spec b/bridge-utils.spec index 8105410..1e4943d 100644 --- a/bridge-utils.spec +++ b/bridge-utils.spec @@ -3,44 +3,47 @@ Summary(pl): U Name: bridge-utils Version: 0.9.0 Release: 1 +License: GPL Group: Networking/Admin Group(pl): Sieciowe/Administracja -Copyright: GPL Source0: ftp://openrock.net/bridge/%{name}-%{version}.tar.gz Patch0: bridge-utils-opt.patch Patch1: bridge-utils-rootonly.patch BuildRoot: /tmp/%{name}-%{version}-root Obsoletes: brcfg +%define _sbindir /sbin + %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. +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. +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/Libraries -Group(pl): Programowanie/Biblioteki +Summary: Libraries for the linux ethernet bridge programs. +Summary(pl): Biblioteki u¿ywane do sterowania linuxowym bridge. +Group: Development/Libraries +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki %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. +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. +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 -n bridge @@ -52,13 +55,11 @@ make OPT="$RPM_OPT_FLAGS" all %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/sbin -install -d $RPM_BUILD_ROOT%{_libdir} -install -d $RPM_BUILD_ROOT%{_includedir} -install -d $RPM_BUILD_ROOT%{_mandir}/man8 +install -d $RPM_BUILD_ROOT{%{_sbindir},{_libdir},%{_includedir}} \ + $RPM_BUILD_ROOT%{_mandir}/man8 -install -s brctl/brctl $RPM_BUILD_ROOT/sbin/ -#install -s brctl/brctld $RPM_BUILD_ROOT/sbin/ +install -s brctl/brctl $RPM_BUILD_ROOT%{_sbindir}/ +#install -s brctl/brctld $RPM_BUILD_ROOT%{_sbindir}/ install doc/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 install libbridge/libbridge.a $RPM_BUILD_ROOT%{_libdir} install libbridge/libbridge.h $RPM_BUILD_ROOT%{_includedir} @@ -71,10 +72,10 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/{FAQ,FIREWALL,HOWTO,TODO,WISHLIST}.gz -%attr(0755,root,root) /sbin/* +%attr(755,root,root) %{_sbindir}/* %{_mandir}/man8/* %files devel %defattr(644,root,root,755) -%attr(644,root,root) %{_libdir}/*.a -%attr(644,root,root) %{_includedir}/*.h +%{_libdir}/*.a +%{_includedir}/*.h -- 2.43.0