|
David Dick |
94676ac |
%global use_x11_tests 1
|
|
David Dick |
94676ac |
Name: perl-X11-GUITest
|
|
David Dick |
94676ac |
Version: 0.28
|
|
|
091ad9c |
Release: 18%{?dist}
|
|
David Dick |
94676ac |
Summary: Provides GUI testing/interaction routines
|
|
David Dick |
94676ac |
License: GPLv2+
|
|
|
c529a2e |
URL: https://metacpan.org/release/X11-GUITest
|
|
|
c529a2e |
Source0: https://cpan.metacpan.org/modules/by-module/X11/X11-GUITest-%{version}.tar.gz
|
|
|
845721a |
BuildRequires: gcc
|
|
David Dick |
94676ac |
BuildRequires: libX11-devel
|
|
David Dick |
94676ac |
BuildRequires: libXext-devel
|
|
David Dick |
94676ac |
BuildRequires: libXt-devel
|
|
David Dick |
94676ac |
# libXi-devel is required because it contains X11/extensions/XInput.h in EL6
|
|
David Dick |
94676ac |
BuildRequires: libXi-devel
|
|
David Dick |
94676ac |
BuildRequires: libXtst-devel
|
|
|
1b812a1 |
BuildRequires: perl-interpreter
|
|
|
61d5ad6 |
BuildRequires: perl-devel
|
|
|
61d5ad6 |
BuildRequires: perl-generators
|
|
David Dick |
94676ac |
BuildRequires: perl(Config)
|
|
David Dick |
94676ac |
BuildRequires: perl(DynaLoader)
|
|
David Dick |
94676ac |
BuildRequires: perl(Exporter)
|
|
David Dick |
94676ac |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
David Dick |
94676ac |
BuildRequires: perl(POSIX)
|
|
David Dick |
94676ac |
BuildRequires: perl(strict)
|
|
David Dick |
94676ac |
BuildRequires: perl(warnings)
|
|
David Dick |
94676ac |
BuildRequires: perl(vars)
|
|
David Dick |
94676ac |
%if %{use_x11_tests}
|
|
David Dick |
94676ac |
# X11 tests:
|
|
David Dick |
94676ac |
BuildRequires: xorg-x11-server-Xvfb
|
|
David Dick |
94676ac |
BuildRequires: xorg-x11-xinit
|
|
David Dick |
94676ac |
BuildRequires: font(:lang=en)
|
|
David Dick |
94676ac |
%endif
|
|
David Dick |
94676ac |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%description
|
|
David Dick |
94676ac |
This Perl package is intended to facilitate the testing of GUI applications
|
|
David Dick |
94676ac |
by means of user emulation. It can be used to test/interact with GUI
|
|
David Dick |
94676ac |
applications; which have been built upon the X library or toolkits (i.e.,
|
|
David Dick |
94676ac |
GTK+, Xt, Qt, Motif, etc.) that "wrap" the X library's functionality.
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%prep
|
|
David Dick |
94676ac |
%setup -q -n X11-GUITest-%{version}
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%build
|
|
David Dick |
94676ac |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
David Dick |
94676ac |
make %{?_smp_mflags}
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%install
|
|
David Dick |
94676ac |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
David Dick |
94676ac |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%check
|
|
David Dick |
94676ac |
%if %{use_x11_tests}
|
|
David Dick |
94676ac |
xvfb-run -a make test
|
|
David Dick |
94676ac |
%else
|
|
David Dick |
94676ac |
make test
|
|
David Dick |
94676ac |
%endif
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%files
|
|
David Dick |
94676ac |
%doc Changes docs README eg ToDo
|
|
David Dick |
94676ac |
%{perl_vendorarch}/auto/*
|
|
David Dick |
94676ac |
%{perl_vendorarch}/X11*
|
|
David Dick |
94676ac |
%{_mandir}/man3/*
|
|
David Dick |
94676ac |
|
|
David Dick |
94676ac |
%changelog
|
|
|
091ad9c |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-18
|
|
|
091ad9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
091ad9c |
|
|
|
3945f7e |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-17
|
|
|
3945f7e |
- Perl 5.30 rebuild
|
|
|
3945f7e |
|
|
|
047f44a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-16
|
|
|
047f44a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
047f44a |
|
|
|
b8b95b5 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-15
|
|
|
b8b95b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b8b95b5 |
|
|
|
c3fa919 |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-14
|
|
|
c3fa919 |
- Perl 5.28 rebuild
|
|
|
c3fa919 |
|
|
|
391fcc8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-13
|
|
|
391fcc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
391fcc8 |
|
|
|
0be104e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-12
|
|
|
0be104e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
0be104e |
|
|
|
a7d346e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-11
|
|
|
a7d346e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a7d346e |
|
|
|
ca47ad2 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-10
|
|
|
ca47ad2 |
- Perl 5.26 rebuild
|
|
|
ca47ad2 |
|
|
|
1a2a90a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-9
|
|
|
1a2a90a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1a2a90a |
|
|
|
3e4d436 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-8
|
|
|
3e4d436 |
- Perl 5.24 rebuild
|
|
|
3e4d436 |
|
|
|
0590951 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-7
|
|
|
0590951 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0590951 |
|
|
|
0bf7e85 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-6
|
|
|
0bf7e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0bf7e85 |
|
|
|
1b4d81e |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-5
|
|
|
1b4d81e |
- Perl 5.22 rebuild
|
|
|
1b4d81e |
|
|
|
d120d51 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-4
|
|
|
d120d51 |
- Perl 5.20 rebuild
|
|
|
d120d51 |
|
|
|
374c0be |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-3
|
|
|
374c0be |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
374c0be |
|
|
|
57599c6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-2
|
|
|
57599c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
57599c6 |
|
|
David Dick |
94676ac |
* Tue Mar 18 2014 David Dick <ddick@cpan.org> - 0.28-1
|
|
David Dick |
94676ac |
- Initial release
|