rpms/xdotool/F-9 xdotool-20071230-prefix.patch, NONE, 1.1 xdotool.spec, NONE, 1.1 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Fri May 30 21:04:24 UTC 2008


Author: sindrepb

Update of /cvs/pkgs/rpms/xdotool/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8068

Modified Files:
	sources 
Added Files:
	xdotool-20071230-prefix.patch xdotool.spec 
Log Message:
add files to branch

xdotool-20071230-prefix.patch:

--- NEW FILE xdotool-20071230-prefix.patch ---
diff -up xdotool-20071230/Makefile.orig xdotool-20071230/Makefile
--- xdotool-20071230/Makefile.orig	2008-05-28 12:47:26.000000000 +0200
+++ xdotool-20071230/Makefile	2008-05-28 12:48:12.000000000 +0200
@@ -1,7 +1,7 @@
 CFLAGS+=-Wall
 
-DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
-DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include
+DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/lib -lX11 -lXtst
+DEFAULT_INC=-I/usr/X11R6/include -I/usr/include
 
 LIBS=`pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)"`
 INC=`pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)"`


--- NEW FILE xdotool.spec ---
Name:           xdotool
Version:        20071230
Release:        2%{?dist}
Summary:        Fake keyboard/mouse input

Group:          User Interface/X
License:        BSD
URL:            http://www.semicomplete.com/projects/xdotool/
Source0:        http://www.semicomplete.com/files/xdotool/%{name}-%{version}.tar.gz
Patch0:         %{name}-%{version}-prefix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libXtst-devel       

%description
This tool lets you programatically (or manually) simulate keyboard input
and mouse activity, move and resize windows, etc.

%prep
%setup -q
%patch0 -p1

%build
export CFLAGS=$RPM_OPT_FLAGS
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
#manual install
install -D -m 0755 xdotool $RPM_BUILD_ROOT%{_bindir}/xdotool

#fix permissions
chmod 0644 examples/ffsp.sh

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGELIST COPYRIGHT README
%doc examples
%{_bindir}/*


%changelog
* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 20071230-2
- Add patch to fix prefix
- Add CFLAGS to %%build

* Tue May 06 2008 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 20071230-1
- Initial build



Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xdotool/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 19:54:01 -0000	1.1
+++ sources	30 May 2008 21:02:59 -0000	1.2
@@ -0,0 +1 @@
+a4db4b81840db2ff806b26d36a5b6458  xdotool-20071230.tar.gz




More information about the fedora-extras-commits mailing list