]> git.pld-linux.org Git - SPECS.git/blob - siege.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / siege.spec
1 Summary:        An HTTP regression testing/benchmarking utility
2 Summary(pl.UTF-8):      Narzędzie do testowania serwerów HTTP
3 Name:           siege
4 Version:        3.0.1
5 Release:        2
6 License:        GPL v2
7 Group:          Networking/Utilities
8 Source0:        http://www.joedog.org/pub/siege/%{name}-%{version}.tar.gz
9 # Source0-md5:  3401d9c8a02f227b63a0d10e2718ab37
10 Patch0:         %{name}-config.patch
11 URL:            http://www.joedog.org/index/siege-home
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  openssl-devel >= 0.9.7d
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Siege is a regression test and benchmark utility. It can stress test a
19 single URL with a user defined number of simulated users, or it can
20 read many URLs into memory and stress them simultaneously. The program
21 reports the total number of hits recorded, bytes transferred, response
22 time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1
23 protocols, GET and POST directives, cookies, transaction logging, and
24 basic authentication. Its features are configurable on a per user
25 basis.
26
27 %description -l pl.UTF-8
28 Siege to narzędzie do testowania działania i wydajności serwerów HTTP.
29 Może testować odporność dla pojedynczego URL-a ze zdefiniowaną liczbą
30 symulowanych użytkowników, lub ściągać wiele URL-i do pamięci,
31 obciążając je równocześnie. Program raportuje całkowitą liczbę
32 ściągniętych dokumentów, liczbę przesłanych bajtów, czas reakcji,
33 liczbę jednoczesnych połączeń i status operacji. Siege obsługuje
34 protokoły HTTP/1.0 i 1.1, metody GET i POST, cookie, logowanie
35 transakcji oraz zwykłą autentykację. Opcje są konfigurowalne dla
36 użytkownika.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 %build
43 rm -f missing
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure \
48         --localstatedir=%{_localstatedir}/log \
49         --with-ssl
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_sysconfdir}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README README.https AUTHORS KNOWNBUGS NEWS ChangeLog
65 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/siegerc
66 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/urls.txt
67 %attr(755,root,root) %{_bindir}/bombardment
68 %attr(755,root,root) %{_bindir}/siege
69 %attr(755,root,root) %{_bindir}/siege.config
70 %attr(755,root,root) %{_bindir}/siege2csv.pl
71 %{_mandir}/man1/bombardment.1*
72 %{_mandir}/man1/siege.1*
73 %{_mandir}/man1/siege.config.1*
74 %{_mandir}/man1/siege2csv.1*
75 %{_mandir}/man5/urls_txt.5*
76 %{_mandir}/man7/layingsiege.7*
This page took 0.179726 seconds and 3 git commands to generate.