[tsung/el6] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Wed Aug 7 03:42:08 UTC 2013


commit e053c7136d7ddc1ff38dbc5f22e8cf3156786767
Author: Christopher Meng <rpm at cicku.me>
Date:   Wed Aug 7 11:41:08 2013 +0800

    Initial SETUP.

 .gitignore |    1 +
 sources    |    1 +
 tsung.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bddc9e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tsung-1.5.0.tar.gz
diff --git a/sources b/sources
index e69de29..11e4645 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6ce9801a6fbd4f42ebf21a038d490d12  tsung-1.5.0.tar.gz
diff --git a/tsung.spec b/tsung.spec
new file mode 100644
index 0000000..ed926f4
--- /dev/null
+++ b/tsung.spec
@@ -0,0 +1,56 @@
+#Avoid installing arch-independent data into arch-dependent directory
+%global debug_package %{nil}
+
+Name:           tsung
+Version:        1.5.0
+Release:        2%{?dist}
+Summary:        A distributed multi-protocol load testing tool
+License:        GPLv2
+URL:            http://tsung.erlang-projects.org/
+Source0:        http://tsung.erlang-projects.org/dist/%{name}-%{version}.tar.gz
+BuildRequires:  erlang
+Requires:       erlang
+Requires:       perl(Template)
+
+%description
+tsung is a distributed load testing tool. It is protocol-independent and can 
+currently be used to stress and benchmark HTTP, Jabber/XMPP, PostgreSQL, 
+MySQL and LDAP servers.
+It simulates user behaviour using an XML description file, reports many 
+measurements in real time (statistics can be customized with transactions, 
+and graphics generated using gnuplot).
+For HTTP, it supports 1.0 and 1.1, has a proxy mode to record sessions, 
+supports GET and POST methods, Cookies, and Basic WWW-authentication. 
+It also has support for SSL.
+
+%prep
+%setup -q
+iconv -f ISO-8859-1 -t UTF-8 CONTRIBUTORS > CONTRIBUTORS.new && \
+touch -r CONTRIBUTORS CONTRIBUTORS.new && \
+mv CONTRIBUTORS.new CONTRIBUTORS
+sed -i 's/\r$//' examples/*
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+%files
+%doc CHANGES CONTRIBUTORS COPYING README TODO
+%{_bindir}/%{name}*
+%{_bindir}/tsplot
+%{_libdir}/erlang/lib/*
+%{_libdir}/%{name}/
+%{_datadir}/%{name}/
+%{_mandir}/man1/%{name}*.1*
+%{_mandir}/man1/tsplot.1*
+#%{_defaultdocdir}/%{name}/
+
+%changelog
+* Fri Aug 02 2013 Christopher Meng <rpm at cicku.me> - 1.5.0-2
+- Fix wrong syntaxs of files.
+
+* Sat May 25 2013 Christopher Meng <rpm at cicku.me> - 1.5.0-1
+- Initial Package.


More information about the scm-commits mailing list