File bing.spec of Package bing

# spec file for package bing (Version 1.0.5)
# 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

# norootforbuild

Name:           bing
License:        BSD 3-clause (or similar)
Group:          Productivity/Networking/Diagnostic
PreReq:         permissions
AutoReqProv:    on
Summary:        A Point-to-Point Bandwidth Measurement Tool
Version:        1.0.5
Release:        136
Source:         bing-%{version}.tar.bz2
Patch0:         bing-%{version}.dif
Patch1:         %{name}-%{version}-permissions.patch
Patch2:         %{name}-%{version}-includes.diff
Patch3:         %{name}-%{version}-moresecure.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Bing determines the real (raw, as opposed to available or average)
throughput of a link by measuring ICMP echo request round trip times
for different packet sizes for each end of the link.

    Pierre Beyssac <>

%patch3 -p1

make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"

mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man8,usr/sbin}
make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/usr/sbin


%verify_permissions -e /usr/sbin/bing

%verify(not mode) %attr(0755,root,trusted) /usr/sbin/bing
%doc %{_mandir}/man8/bing.*
%doc ChangeLog README

openSUSE Build Service is sponsored by