-Summary: Bing, a point-to-point bandwidth measurement tool (b from Bandwitch)
-Summary(pl): Bing, narzêdzie s³u¿±ce mierzeniu przepustowo¶ci ³±czy
+Summary: Bing, a point-to-point bandwidth measurement tool (b from Bandwith)
+Summary(pl): Bing, narzêdzie s³u¿±ce mierzeniu przepustowo¶ci ³±czy
Name: bing
-Version: 1.0.4
-Release: 1
+Version: 1.1.3
+Release: 2
License: BSD
-Group: Net/Utilities
-Group(pl): Sieæ/Narzêdzia
-Source: bing-1.0.4.tar.bz2
-Patch: bing.patch
-
-#URL: http://??? email:pb@fasterix.freenix.fr
+Group: Networking/Utilities
+Source0: http://www.fibrespeed.net/~mbabcock/mirrors/bing/%{name}-%{version}.tar.bz2
+Patch0: %{name}.patch
+URL: http://web.cnam.fr/reseau/bing.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-#Buildarch: noarch
%description
Bing determines the real (raw, as opposed to available or average)
for different packet sizes for each end of the link.
%description -l pl
-Bing oblicza aktualn± (w przeciwieñstwie do np. ¶redniej) przepustowow¶æ
-³±cza mierz±c czasy powrotu odpowiedzi na komunikaty ICMP.
+Bing oblicza aktualn± (w przeciwieñstwie do np. ¶redniej)
+przepustowow¶æ ³±cza mierz±c czasy powrotu odpowiedzi na komunikaty
+ICMP.
-%prep
-rm -rf %{buildroot}
-%setup
-%patch -p0
+%prep
+%setup -q
+%patch -p0
%build
-make
+%{__make} CFLAGS="%{rpmcflags}" CC=%{__cc}
%install
-install -d %{buildroot}/usr/bin/
-install bing %{buildroot}/usr/bin/bing
-gzip -9nf README bing.8 bing.ps ChangeLog
-install bing.8.gz %{_mandir}/man8
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
+
+install bing $RPM_BUILD_ROOT%{_bindir}
+install unix/bing.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
%files
-%defattr(755,bin,bin,755)
-/usr/bin/bing
-%doc {README,ChangeLog,bing.ps}.gz
-%{_mandir}/man8/bing.8.gz
+%defattr(644,root,root,755)
+%doc ChangeLog Readme.*
+%attr(755,root,root) %{_bindir}/bing
+%{_mandir}/man8/bing.8*