3 %bcond_with tests # do perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: X11::GUITest - GUI testing/interaction facilities
9 Summary(pl): X11::GUITest - u³atwienia do testowania/interakcji z GUI
10 Name: perl-X11-GUITest
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: d175896c876b932e11f5a3ffa313f189
18 BuildRequires: XFree86-devel
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This Perl package is intended to facilitate the testing of GUI
25 applications by means of user emulation. It can be used to
26 test/interact with GUI applications which have been built upon the X
27 library or toolkits (i.e., GTK+, Xt, Qt, Motif, etc.) that "wrap" the
28 X library's functionality.
31 Ten pakiet Perla ma u³atwiæ testowanie aplikacji z graficznym
32 interfejsem u¿ytkownika drog± emulacji u¿ytkownika. Mo¿e byæ u¿ywany
33 do testowania lub interakcji z aplikacjami GUI opartymi o bibliotekê X
34 lub toolkity (takie jak GTK+, Xt, Qt, Motif itp.) obudowuj±ce
35 funkcjonalno¶æ biblioteki X.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc README docs/{Changes,ToDo}
59 %dir %{perl_vendorarch}/X11
60 %{perl_vendorarch}/X11/GUITest.pm
61 %dir %{perl_vendorarch}/auto/X11
62 %dir %{perl_vendorarch}/auto/X11/GUITest
63 %attr(755,root,root) %{perl_vendorarch}/auto/X11/GUITest/GUITest.so
64 %{perl_vendorarch}/auto/X11/GUITest/GUITest.bs