]> git.pld-linux.org Git - SPECS.git/blob - webinject.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / webinject.spec
1 # TODO
2 # - needs fixes as the program attempts to write tmp files as dirname($0)/tmp.$$.tmp !!!
3 Summary:        Tool for automating tests of web applications and services
4 Summary(pl.UTF-8):      Narzędzie do automatyzowania testów aplikacji i usług WWW
5 Name:           webinject
6 Version:        1.41
7 Release:        0.1
8 License:        GPL v2
9 Group:          Applications/Networking
10 Source0:        http://downloads.sourceforge.net/webinject/%{name}-%{version}.src.tar.gz
11 # Source0-md5:  5c90ddd69719d897afd8ccb2f8528163
12 Patch0:         %{name}-fixes.patch
13 URL:            http://www.webinject.org/
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sysconfdir     /etc/%{name}
19
20 %description
21 WebInject is a free tool for automated testing of web applications and
22 services. It can be used to test individual system components that
23 have HTTP interfaces (JSP, ASP, CGI, PHP, Servlets, HTML Forms, etc),
24 and can be used as a test harness to create a suite of [HTTP level]
25 automated functional, acceptance, and regression tests. A test
26 harness, also referred to as a test driver or a test framework, allows
27 you to run many test cases and collect/report your results. WebInject
28 offers real-time results display and may also be used for monitoring
29 system response times.
30
31 WebInject can be used as a complete test framework that is controlled
32 by the WebInject User Interface (GUI). Optionally, it can be used as a
33 standalone test runner (text/console application) which can be
34 integrated and called from other test frameworks or applications.
35
36 %description -l pl.UTF-8
37 WebInject to wolnodostępne narzędzie do zautomatyzowanego testowania
38 aplikacji i usług WWW. Może być używane do testowania poszczególnych
39 komponentów systemu mających interfejsy HTTP (JSP, ASP, CGI, PHP,
40 Servlety, formularze HTML itp.), a także jako środowisko do tworzenia
41 zestawu zautomatyzowanych testów funkcjonalnych, akceptowalności i
42 regresji (na poziomie HTTP). Środowisko testowe umożliwia uruchamianie
43 wielu przypadków testowych i zbieranie/raportowanie wyników. WebInject
44 oferuje wyświetlanie wyników w czasie rzeczywistym i może być używany
45 do monitorowania czasów odpowiedzi systemu.
46
47 WebInject może być używany jako kompletne środowisko testowe sterowane
48 z poziomu graficznego interfejsu użytkownika. Opcjonalnie może być
49 używane także jako samodzielne narzędzie do uruchamiania testów
50 (aplikacja tekstowa/konsolowa), która może być zintegrowana i
51 wywoływana z innych środowisk lub aplikacji testowych.
52
53 %package gui
54 Summary:        WebInject GUI
55 Summary(pl.UTF-8):      Graficzny interfejs użytkownika do WebInjecta
56 Group:          Applications/WWW
57 # not autodetected
58 Requires:       perl-Tk-ProgressBar-Mac
59
60 %description gui
61 GUI Tool for WebInject.
62
63 %description gui -l pl.UTF-8
64 Graficzny interfejs użytkownika do WebInjecta.
65
66 %prep
67 %setup -q -n %{name}
68 %patch0 -p1
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
73
74 install -p %{name}.pl $RPM_BUILD_ROOT%{_bindir}
75 install -p %{name}gui.pl $RPM_BUILD_ROOT%{_bindir}
76 cp -p config.xml $RPM_BUILD_ROOT%{_sysconfdir}
77 cp -p testcases.xml $RPM_BUILD_ROOT%{_sysconfdir}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc README
85 %dir %{_sysconfdir}
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
87 %attr(755,root,root) %{_bindir}/webinject.pl
88
89 %files gui
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/webinjectgui.pl
This page took 0.296736 seconds and 3 git commands to generate.