]> git.pld-linux.org Git - packages/perl-X11-GUITest.git/blob - perl-X11-GUITest.spec
ab0626f3cca8600480ac774a119c8de7f35709e9
[packages/perl-X11-GUITest.git] / perl-X11-GUITest.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # do perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    X11
7 %define         pnam    GUITest
8 Summary:        X11::GUITest - GUI testing/interaction facilities
9 Summary(pl.UTF-8):      X11::GUITest - ułatwienia do testowania/interakcji z GUI
10 Name:           perl-X11-GUITest
11 Version:        0.21
12 Release:        2
13 # same as perl
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:  2c7bf7e1079094bda698404961c28ac2
18 BuildRequires:  xorg-lib-libX11-devel
19 BuildRequires:  xorg-lib-libXext-devel
20 BuildRequires:  xorg-lib-libXtst-devel
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This Perl package is intended to facilitate the testing of GUI
26 applications by means of user emulation. It can be used to
27 test/interact with GUI applications which have been built upon the X
28 library or toolkits (i.e., GTK+, Xt, Qt, Motif, etc.) that "wrap" the
29 X library's functionality.
30
31 %description -l pl.UTF-8
32 Ten pakiet Perla ma ułatwić testowanie aplikacji z graficznym
33 interfejsem użytkownika drogą emulacji użytkownika. Może być używany
34 do testowania lub interakcji z aplikacjami GUI opartymi o bibliotekę X
35 lub toolkity (takie jak GTK+, Xt, Qt, Motif itp.) obudowujące
36 funkcjonalność biblioteki X.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README docs/{Changes,ToDo}
60 %dir %{perl_vendorarch}/X11
61 %{perl_vendorarch}/X11/GUITest.pm
62 %dir %{perl_vendorarch}/auto/X11
63 %dir %{perl_vendorarch}/auto/X11/GUITest
64 %attr(755,root,root) %{perl_vendorarch}/auto/X11/GUITest/GUITest.so
65 %{perl_vendorarch}/auto/X11/GUITest/GUITest.bs
66 %{_mandir}/man3/*
This page took 0.517409 seconds and 2 git commands to generate.