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