bridge-utils/bridge-utils.spec

93 lines
2.3 KiB
RPMSpec

#
# spec file for package bridge-utils (Version 1.4)
#
# Copyright (c) 2008 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.4
Release: 1
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
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
%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
* 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