X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbing.git;a=blobdiff_plain;f=bing.spec;h=92a5e07e8559af04cec5767b9e92553c5345efc6;hp=a77beb42a63184d9897105a5e093f3cd1b22396b;hb=c117d57e9a6b7f0f21f644672a341b3eaf1bbaa3;hpb=1e276a8b9d2008b6d1bc668108c311164dd44e1d diff --git a/bing.spec b/bing.spec index a77beb4..92a5e07 100644 --- a/bing.spec +++ b/bing.spec @@ -1,17 +1,16 @@ -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: 3 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 +# Source0-md5: 095f8a04f37df2ed5c99328ddc551a09 +Patch0: %{name}.patch +URL: http://web.cnam.fr/reseau/bing.html +BuildRequires: groff BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -#Buildarch: noarch %description Bing determines the real (raw, as opposed to available or average) @@ -19,25 +18,30 @@ throughput on a link by measuring ICMP echo requests roundtrip times for different packet sizes for each end of the link. %description -l pl -Bing oblicza aktualn± (w przeciwieñstwie do np. ¶redniej) przepustowow¶æ +Bing oblicza aktualn± (w przeciwieñstwie do np. ¶redniej) przepustowo¶æ ³±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*