packages: tcprstat/tcprstat.spec (NEW) - new
glen
glen at pld-linux.org
Thu Dec 16 00:02:01 CET 2010
Author: glen Date: Wed Dec 15 23:02:01 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/tcprstat:
tcprstat.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/tcprstat/tcprstat.spec
diff -u /dev/null packages/tcprstat/tcprstat.spec:1.1
--- /dev/null Thu Dec 16 00:02:01 2010
+++ packages/tcprstat/tcprstat.spec Thu Dec 16 00:01:56 2010
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+# TODO
+# - fix bashism in configure.ac, and add --disable-static option
+Summary: Passive TCP response time analysis tool — Read more
+Name: tcprstat
+Version: 0.3.1
+Release: 1
+License: GPL v2 or v3
+Group: Applications/Networking
+Source0: https://github.com/downloads/Lowercases/tcprstat/%{name}-%{version}.tar.gz
+# Source0-md5: 392ffc7a4bd676567728aee0b479c552
+URL: http://www.percona.com/docs/wiki/tcprstat:start
+BuildRequires: libpcap-devel >= 1.0.0
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+tcprtime is a protocol-agnostic libpcap-based tool for measuring TCP
+requests' response time in a server
+
+%prep
+%setup -q
+
+# the libpcap detect is broken (wants static pcap)
+%{__sed} -i -e 's/buildpcap == xyes/buildpcap = xno/' configure.ac
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --bindir=%{_sbindir}
+%{__make} -C src \
+ bin_PROGRAMS=tcprstat
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ bin_PROGRAMS=tcprstat \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_sbindir}/tcprstat
+
+%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 2010/12/15 23:01:56 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list