Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 82 lines (66 sloc) 2.479 kb
5345a3b @nniclausse rename idx-tsunami to tsung step 3
nniclausse authored
1 %define name tsung
13dfdfd @nniclausse update configure & Makefile
nniclausse authored
2 %define version @PACKAGE_VERSION@
4706423 @nniclausse version 1.0
nniclausse authored
3 %define release 1
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
4
5 Name: %{name}
6 Version: %{version}
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
7 Release: %{release}%{?dist}
8 Summary: A distributed multi-protocol load testing tool
9
10 Group: Development/Tools
11 License: GPLv2
12 URL: http://tsung.erlang-projects.org/
0e29fdd @nniclausse fix urls
nniclausse authored
13 Source0: http://tsung.erlang-projects.org/dist/%{name}-%{version}.tar.gz
00b53ae @nniclausse fix URL & vendor
nniclausse authored
14 Vendor: Process-one
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
15 Packager: Nicolas Niclausse <nicolas@niclux.org>
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
16
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
6845590 @nniclausse fix makefile & spec for new doc
nniclausse authored
19 BuildRequires: erlang doxygen-latex python-sphinx texlive-titlesec texlive-framed texlive-threeparttable texlive-wrapfig
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
20
ac3e5e7 @nniclausse changelog + update requirement in rpm
nniclausse authored
21 Requires: erlang
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
22 Requires: perl(Template)
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
23
24 %description
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
25 tsung is a distributed load testing tool.
26 It is protocol-independent and can currently be used to stress and
27 benchmark HTTP, Jabber/XMPP, PostgreSQL, MySQL and LDAP servers.
28 It simulates user behaviour using an XML description file, reports
29 many measurements in real time (statistics can be customized with
30 transactions, and graphics generated using gnuplot).
31 For HTTP, it supports 1.0 and 1.1, has a proxy mode to record
32 sessions, supports GET and POST methods, Cookies, and Basic
33 WWW-authentication. It also has support for SSL.
34
35 More information is available at http://tsung.erlang-projects.org/ .
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
36
37 %prep
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
38 %setup -q
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
39
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
40 %build
4482037 @nniclausse use docdir macro; install docs in tsung-%version% for rpm
nniclausse authored
41 %configure --docdir=%{_docdir}/%{name}-%{version}
b4b7b20 @nniclausse add smp flags in spec + fix makefile
nniclausse authored
42 make %{?_smp_mflags}
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
c9ff2c1 @nniclausse fix DESTDIR
nniclausse authored
46 make install DESTDIR=$RPM_BUILD_ROOT
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
47
9a373b4 @nniclausse rename README to README.md
nniclausse authored
48 install -p -m 644 CHANGES CONTRIBUTORS COPYING README.md TODO \
22aa67e use %docdir instead of %datadir/doc
Jose Pedro Oliveira authored
49 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
55 %defattr(-,root,root,-)
22aa67e use %docdir instead of %datadir/doc
Jose Pedro Oliveira authored
56 %doc %{_docdir}/%{name}-%{version}/*
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
57 %{_bindir}/tsung
58 %{_bindir}/tsung-recorder
59 %{_bindir}/tsplot
0c95475 @nniclausse fix tsplot + use libdir macro
nniclausse authored
60 %{_libdir}/erlang/lib
61 %{_libdir}/tsung
f5e6c90 * The resulting RPM can't be noarch as _libdir is used. The _libdir macr...
Jose Pedro Oliveira authored
62 %{_datadir}/tsung
5f7a222 make specfile compliant with Fedora packaging guidelines
Jose Pedro Oliveira authored
63 %{_mandir}/man1/tsung.1*
64 %{_mandir}/man1/tsplot.1*
65 %{_mandir}/man1/tsung-recorder.1*
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
66
67 %changelog
ac3e5e7 @nniclausse changelog + update requirement in rpm
nniclausse authored
68 * Wed Sep 20 2006 Nicolas Niclausse <Nicolas.Niclausse@sophia.inria.fr> 1.2.1-1
69 - update 'requires': erlang (as in fedora extra) instead of erlang-otp
13dfdfd @nniclausse update configure & Makefile
nniclausse authored
70 * Wed Apr 27 2005 Nicolas Niclausse <nicolas.niclausse@niclux.org> 1.0.2-1
71 - new release
72 * Thu Nov 18 2004 Nicolas Niclausse <nicolas.niclausse@niclux.org> 1.0.1-1
b0c11fe @nniclausse v1.0.1
nniclausse authored
73 - new release
4706423 @nniclausse version 1.0
nniclausse authored
74 * Mon Aug 9 2004 Nicolas Niclausse <nicolas.niclausse@IDEALX.com> 1.0-1
b0c11fe @nniclausse v1.0.1
nniclausse authored
75 - new release
a791ce4 @nniclausse fix doc packaging
nniclausse authored
76 * Mon Aug 9 2004 Nicolas Niclausse <nicolas.niclausse@IDEALX.com> 1.0.beta7-2
77 - fix doc
397a424 @nniclausse add spec file for building rpm package.
nniclausse authored
78 * Mon Aug 9 2004 Nicolas Niclausse <nicolas.niclausse@IDEALX.com> 1.0.beta7-1
79 - initial rpm
80
81 # end of file
Something went wrong with that request. Please try again.