rpms/xautomation/devel xautomation-1.03-DSO.patch, NONE, 1.1 xautomation.spec, NONE, 1.1 import.log, 1.1, 1.2

melmorabity melmorabity at fedoraproject.org
Mon Jul 5 22:08:45 UTC 2010


Author: melmorabity

Update of /cvs/pkgs/rpms/xautomation/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17604/devel

Modified Files:
	import.log 
Added Files:
	xautomation-1.03-DSO.patch xautomation.spec 
Log Message:
First import


xautomation-1.03-DSO.patch:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE xautomation-1.03-DSO.patch ---
diff -up xautomation-1.03/Makefile.in.orig xautomation-1.03/Makefile.in
--- xautomation-1.03/Makefile.in.orig	2009-04-14 18:07:49.000000000 +0200
+++ xautomation-1.03/Makefile.in	2010-06-13 14:31:45.547527930 +0200
@@ -79,7 +79,7 @@ am__depfiles_maybe = depfiles
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -lX11 -o $@
 SOURCES = $(pat2ppm_SOURCES) $(patextract_SOURCES) $(png2pat_SOURCES) \
 	$(rgb2pat_SOURCES) $(visgrep_SOURCES) $(xmousepos_SOURCES) \
 	$(xte_SOURCES)


--- NEW FILE xautomation.spec ---
Name:           xautomation
Version:        1.03
Release:        2%{?dist}
Summary:        Tools to automate tasks in X, even detecting on screen images

Group:          User Interface/X
License:        GPLv2+
URL:            http://hoopajoo.net/projects/xautomation.html
Source0:        http://hoopajoo.net/static/projects/%{name}-%{version}.tar.gz
# Fix DSO linking
Patch0:         xautomation-1.03-DSO.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libpng-devel
BuildRequires:  libXtst-devel

%description
Control X from the command line for scripts, and do "visual
scraping" to find things on the screen. The control interface allows
mouse movement, clicking, button up/down, key up/down, etc, and uses
the XTest extension so you don't have the annoying problems that xse
has when apps ignore sent events. The visgrep program find images
inside of images and reports the coordinates, allowing programs to
find buttons, etc, on the screen to click on.


%prep
%setup -q
%patch0 -p1 -b .DSO


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/pat2ppm
%{_bindir}/patextract
%{_bindir}/png2pat
%{_bindir}/rgb2pat
%{_bindir}/visgrep
%{_bindir}/xmousepos
%{_bindir}/xte
%{_mandir}/man1/*.1.*
%{_mandir}/man7/*.7.*


%changelog
* Wed Jun 23 2010 EL MORABITY Mohamed <melmorabity at fedoraproject.org> 1.03-2
- Fix mispelling in %%description

* Sun Jun 13 2010 EL MORABITY Mohamed <melmorabity at fedoraproject.org> 1.03-1
- Initial RPM release


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/xautomation/devel/import.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- import.log	5 Jul 2010 22:00:55 -0000	1.1
+++ import.log	5 Jul 2010 22:08:45 -0000	1.2
@@ -1 +1,2 @@
 xautomation-1_03-2_fc13:HEAD:xautomation-1.03-2.fc13.src.rpm:1278367225
+xautomation-1_03-2_fc13:HEAD:xautomation-1.03-2.fc13.src.rpm:1278367549



More information about the scm-commits mailing list