SPECS: perl-X11-GUITest.spec (NEW) - new

charles charles at pld-linux.org
Thu Jan 12 05:09:48 CET 2006


Author: charles                      Date: Thu Jan 12 04:09:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-X11-GUITest.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-X11-GUITest.spec
diff -u /dev/null SPECS/perl-X11-GUITest.spec:1.1
--- /dev/null	Thu Jan 12 05:09:48 2006
+++ SPECS/perl-X11-GUITest.spec	Thu Jan 12 05:09:42 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests	# do perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	X11
+%define		pnam	GUITest
+Summary:	X11::GUITest - GUI testing/interaction facilities
+Name:		perl-X11-GUITest
+Version:	0.20
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	d175896c876b932e11f5a3ffa313f189
+BuildRequires:	XFree86-devel
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This Perl package is intended to facilitate the testing of GUI
+applications by means of user emulation. It can be used to test/interact
+with GUI applications; which have been built upon the X library or
+toolkits (i.e., GTK+, Xt, Qt, Motif, etc.) that "wrap" the X library's
+functionality.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README docs/{Changes,ToDo}
+%dir %{perl_vendorarch}/X11
+%dir %{perl_vendorarch}/auto/X11
+%dir %{perl_vendorarch}/auto/X11/GUITest
+%{perl_vendorarch}/X11/GUITest.pm
+%attr(755,root,root) %{perl_vendorarch}/auto/X11/GUITest/GUITest.so
+%{perl_vendorarch}/auto/X11/GUITest/GUITest.bs
+%{_mandir}/man3/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/01/12 04:09:42  charles
+- new
+
================================================================


More information about the pld-cvs-commit mailing list