]> git.pld-linux.org Git - packages/perl-X11-GUITest.git/blob - perl-X11-GUITest.spec
487ca190a07f12543abfee8920244f6df87cfe37
[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):    X11::GUITest - u³atwienia do testowania/interakcji z GUI
10 Name:           perl-X11-GUITest
11 Version:        0.20
12 Release:        0.1
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:  d175896c876b932e11f5a3ffa313f189
18 BuildRequires:  XFree86-devel
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
29
30 %description -l pl
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.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
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
65 %{_mandir}/man3/*
This page took 0.285938 seconds and 3 git commands to generate.