forked from processone/tsung
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsung.spec.in
80 lines (65 loc) · 2.4 KB
/
tsung.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
%define name tsung
%define version @PACKAGE_VERSION@
%define release 1
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Summary: A distributed multi-protocol load testing tool
Group: Development/Tools
License: GPLv2
URL: http://tsung.erlang-projects.org/
Source0: http://tsung.erlang-projects.org/dist/%{name}-%{version}.tar.gz
Vendor: Process-one
Packager: Nicolas Niclausse <[email protected]>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: erlang doxygen-latex python-sphinx texlive-titlesec texlive-framed texlive-threeparttable texlive-wrapfig
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.
More information is available at http://tsung.erlang-projects.org/ .
%prep
%setup -q
%build
%configure --docdir=%{_docdir}/%{name}-%{version}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -p -m 644 CHANGELOG.md CONTRIBUTORS COPYING README.md TODO \
$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}/*
%{_bindir}/tsung
%{_bindir}/tsung-recorder
%{_bindir}/tsplot
%{_libdir}/tsung
%{_datadir}/tsung
%{_mandir}/man1/tsung.1*
%{_mandir}/man1/tsplot.1*
%{_mandir}/man1/tsung-recorder.1*
%changelog
* Wed Sep 20 2006 Nicolas Niclausse <[email protected]> 1.2.1-1
- update 'requires': erlang (as in fedora extra) instead of erlang-otp
* Wed Apr 27 2005 Nicolas Niclausse <[email protected]> 1.0.2-1
- new release
* Thu Nov 18 2004 Nicolas Niclausse <[email protected]> 1.0.1-1
- new release
* Mon Aug 9 2004 Nicolas Niclausse <[email protected]> 1.0-1
- new release
* Mon Aug 9 2004 Nicolas Niclausse <[email protected]> 1.0.beta7-2
- fix doc
* Mon Aug 9 2004 Nicolas Niclausse <[email protected]> 1.0.beta7-1
- initial rpm
# end of file