From 7d0962cdd37b32a0ad76c88681f8dae0559125d7 Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 4 May 2003 21:26:59 +0000 Subject: [PATCH] - rewrited. Changed files: gensink.spec -> 1.2 --- gensink.spec | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/gensink.spec b/gensink.spec index 79e6125..6b4a249 100644 --- a/gensink.spec +++ b/gensink.spec @@ -1,42 +1,35 @@ -Summary: A simple TCP benchmarking utility -Name: gensink -Version: 4.1 -Release: 1 -Copyright: GPL -Group: Applications/Internet -Source0: http://home.cern.ch/~jes/gensink-4.1.tar.gz -BuildRoot: /var/tmp/gensink-%{version} +Summary: A simple TCP benchmarking utility +Name: gensink +Version: 4.1 +Release: 1 +License: GPL +Group: Applications/Networking +Source0: http://jes.home.cern.ch/jes/gensink/%{name}-%{version}.tar.gz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -gensink consists of a pair of utilities that measure the performance of -a TCP connection between two hosts. +gensink consists of a pair of utilities that measure the performance +of a TCP connection between two hosts. %prep -%setup - +%setup -q + %build -make +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" \ + LDFLAGS="%{rpmldflags}" %install -mkdir -p $RPM_BUILD_ROOT/usr/sbin -install -m 755 gen4 $RPM_BUILD_ROOT/usr/sbin/gen4 -install -m 755 sink4 $RPM_BUILD_ROOT/usr/sbin/sink4 -install -m 755 tub4 $RPM_BUILD_ROOT/usr/sbin/tub4 +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sbindir} + +install gen4 sink4 tub4 $RPM_BUILD_ROOT%{_sbindir} %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) -%doc COPYING -/usr/sbin/gen4 -/usr/sbin/sink4 -/usr/sbin/tub4 -%changelog -* Wed May 16 2001 Jes Sorensen -- Bumped to 4.1 -* Mon Mar 12 2001 Sandro Mazzucato -- Added tub4 -* Sat Oct 14 2000 Zach Brown -- first pass +%defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/* -- 2.43.0