X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bing.spec;h=96385a612de3e98fe1b76db3498cf17e2e3824b0;hb=200c1e612a18ef01e989cd3518fea977b71455a9;hp=a77beb42a63184d9897105a5e093f3cd1b22396b;hpb=1e276a8b9d2008b6d1bc668108c311164dd44e1d;p=packages%2Fbing.git diff --git a/bing.spec b/bing.spec index a77beb4..96385a6 100644 --- a/bing.spec +++ b/bing.spec @@ -1,17 +1,14 @@ -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) @@ -19,25 +16,29 @@ 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¶æ -³±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*