perl-X11-GUITest/perl-X11-GUITest.spec

Name: perl-X11-GUITest
Summary: Perl module providing GUI testing/interaction facilities
Version: 0.22
Release: 1
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/X11-GUITest/
Description: X11-GUITest is a perl module providing GUI testing/interaction facilities.

CentOS 7 x86_64

The build could not start because the following file is missing: X11-GUITest-0.22.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: X11-GUITest-0.22.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name X11-GUITest

Summary: Perl module providing GUI testing/interaction facilities
Name: perl-X11-GUITest
Version: 0.22
Release: 1%{?dist}
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/X11-GUITest/

Source: http://search.cpan.org/CPAN/authors/id/C/CT/CTRONDLP/X11-GUITest-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: perl >= 0:5.00503
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: libX11
Requires: libXext
Requires: libXt
Requires: perl >= 0:5.00503

%description
X11-GUITest is a perl module providing GUI testing/interaction facilities.

%prep
%setup -n X11-GUITest-%{version} 

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc docs/X11-GUITest.txt docs/X11-GUITest.html docs/ToDo docs/Copying
%doc docs/CodingStyle docs/Changes
%doc eg/FindWindowLike.pl eg/TextEditor_1.pl eg/WebBrowser_1.pl
%doc eg/templates/ScriptTemplate.pl
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/X11/
%{perl_vendorarch}/X11/GUITest.pm
%dir %{perl_vendorarch}/auto/X11/
%{perl_vendorarch}/auto/X11/GUITest/

%changelog
* Mon Feb  7 2011 Christoph Maser <cmaser@gmx.de> - 0.22-1
- Updated to version 0.22.

* Thu Feb 22 2007 Dag Wieers <dag@wieers.com> - 0.20-1
- Initial package. (using DAR)