File bridge-utils.spec of Package bridge-utils

#
# spec file for package bridge-utils (Version 1.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           bridge-utils
BuildRequires:  libsysfs
Version:        1.4
Release:        54
AutoReqProv:    on
Group:          Productivity/Networking/Routing
License:        GPL v2 or later
Url:            http://www.linux-foundation.org/en/Net:Bridge
Summary:        Utilities for Configuring the Linux Ethernet Bridge
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-%{version}-hz.diff
Patch1:         bridge-utils-1.4-optflags.patch
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
%patch1

%build
autoreconf -fiv
%configure
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
* Tue May 06 2008 crrodriguez@suse.de
- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere.
* Wed Jan 09 2008 prusnak@suse.cz
- update to 1.4
* 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
openSUSE Build Service is sponsored by