bridge-utils/bridge-utils.spec

96 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package bridge-utils (Version 1.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bridge-utils
BuildRequires: libsysfs
Version: 1.2
Release: 1
Autoreqprov: on
Group: Productivity/Networking/Routing
License: GNU General Public License (GPL) - all versions
URL: http://linux-net.osdl.org/index.php/Bridge
Summary: Utilities for Configuring the Linux Ethernet Bridge
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}-hz.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 connection is fully transparent: hosts
connected to one ethernet device see hosts connected to the other
ethernet devices directly.
Authors: Lennert Buytenhek <buytenh@gnu.org>
Authors:
--------
Lennert Buytenhek <buytenh@gnu.org>
%prep
%setup -q
%patch
%build
%{suse_update_config -f}
aclocal --force
libtoolize --force
autoconf --force
autoheader --force
CFLAGS="$RPM_OPT_FLAGS -Wall" \
./configure \
--prefix=%{_prefix} \
--sbindir=%{_sbindir} \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d -m755 $RPM_BUILD_ROOT/sbin
mv $RPM_BUILD_ROOT%{_sbindir}/brctl $RPM_BUILD_ROOT/sbin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README THANKS TODO doc/[FHPRSW]*
%doc %{_mandir}/man?/*
%{_includedir}/*
%{_libdir}/lib*
/sbin/*
%changelog -n bridge-utils
* Tue Oct 17 2006 - mjancar@suse.cz
- update to 1.2
* Fixed bug where setting port priority set path cost instead
* Tue Aug 08 2006 - ro@suse.de
- define HZ to sysconf(_SC_CLK_TCK) if not defined
* Thu Jul 27 2006 - mjancar@suse.cz
- update to 1.1
* Change to use libsysfs 2.0
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Mon Aug 01 2005 - mjancar@suse.cz
- update to 1.0.6
* Thu Nov 11 2004 - ro@suse.de
- fixed file list
* Fri Aug 13 2004 - mjancar@suse.cz
- update to 1.0.4
* Fri Jun 20 2003 - mjancar@suse.cz
- initial version 0.9.6