Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37848795
en ru br
ALT Linux repositórios
S:1.5-alt3
5.0: 1.4-alt2
4.1: 1.4-alt1
4.0: 1.2-alt2
3.0: 1.0.6-alt1

Group :: Sistema/Base
RPM: bridge-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: bridge-utils
Version: 1.2
Release: alt2

# /usr may be network-mounted, hence /usr/sbin/ is a bad place for brctl

%define _sbindir /sbin

Summary: Utilities for configuring the linux ethernet bridge
License: GPL
Group: System/Base

URL: http://bridge.sourceforge.net
Source: http://dl.sf.net/bridge/bridge-utils-%version.tar.gz
Source1: bridge.init
Source2: bridge.sysconfig

Patch0: bridge-utils-1.0.4-inc.patch
Patch1: bridge-utils-1.0.4-kernheaders.patch

%package -n libbridge-devel
Summary: Development libraries for configuring the linux ethernet bridge
Group: Development/C

Obsoletes: bridgex

%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.

Install %name if you want to use the linux ethernet bridge.

%description -n libbridge-devel
The libbridge-devel package contains the header and object files
necessary for developing programs which use 'libbridge.a', the
interface to the linux kernel ethernet bridge. If you are developing
programs which need to configure the linux ethernet bridge, your
system needs to have these standard header and object files available
in order to create the executables.

Install libbridge-devel if you are going to develop programs which
will use the linux ethernet bridge interface library.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
autoconf
%configure --with-linux-headers=`pwd`
%make_build CC="gcc %optflags"

%install
make DESTDIR=%buildroot install

install -m755 %SOURCE1 -D %buildroot%_initrddir/bridge
install -m644 %SOURCE2 -D %buildroot%_sysconfdir/sysconfig/bridge

%files
%config(noreplace) %_sysconfdir/sysconfig/*
%config(noreplace) %_initrddir/*
%_sbindir/*
%_man8dir/*
%doc AUTHORS ChangeLog README THANKS TODO doc/[A-LN-Z]* tests

%files -n libbridge-devel
%_libdir/*.a
%_includedir/*

%post
%post_service bridge

%preun
%preun_service bridge

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009