SPECS: nttcp.spec (NEW) - initial PLD release

gotar gotar at pld-linux.org
Tue Oct 31 01:49:35 CET 2006


Author: gotar                        Date: Tue Oct 31 00:49:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   nttcp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/nttcp.spec
diff -u /dev/null SPECS/nttcp.spec:1.1
--- /dev/null	Tue Oct 31 01:49:35 2006
+++ SPECS/nttcp.spec	Tue Oct 31 01:49:30 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	Network bandwidth measurement tool
+Summary(pl):	Narzędzie do monitorowania przepustowości sieci
+Name:		nttcp
+Version:	1.47
+Release:	1
+License:	GPL
+Group:		Networking
+Source0:	http://freeware.sgi.com/source/nttcp/%{name}-%{version}.tar.gz
+# Source0-md5:	50f0c405b3fa488f6b00db32bf994a7d
+URL:		http://www.leo.org/~elmar/nttcp/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NTTCP is a benchmarking tool for determining TCP and UDP performance
+between 2 systems.
+
+%description -l pl
+NTTCP jest narzędziem sprawdzającym wydajność połączeń TCP i UDP
+pomiędzy dwoma systemami.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	ARCH="" \
+	CC="%{__cc}" \
+	OPT="%{rpmcflags}" \
+	LFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install nttcp $RPM_BUILD_ROOT%{_bindir}
+install nttcp.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/10/31 00:49:30  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list