]> git.pld-linux.org Git - packages/xdotool.git/blame - xdotool.spec
- up to 20091231
[packages/xdotool.git] / xdotool.spec
CommitLineData
50213d88 1%define rel 20091231
4d701919 2Summary: fake keyboard/mouse input
3Name: xdotool
4Version: 0
5Release: 0.%{rel}.1
6License: BSD-like
7Group: X11/Window Managers/Tools
50213d88 8Source0: http://semicomplete.googlecode.com/files/%{name}-%{rel}.02.tar.gz
9# Source0-md5: faa6f616d33bdd9ec7fbc0d9542a6cc0
4d701919 10URL: http://www.semicomplete.com/projects/xdotool/
b6a1c078 11BuildRequires: perl-tools-pod
4d701919 12BuildRequires: xorg-lib-libX11-devel
b6a1c078 13BuildRequires: xorg-lib-libXtst-devel
4d701919 14BuildRequires: xorg-proto-xextproto-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18xdotool lets you programatically (or manually) simulate keyboard input
19and mouse activity, move and resize windows, etc. It does this using
20X11's XTEST extension and other Xlib functions.
21
22%prep
50213d88 23%setup -q -n %{name}-%{rel}.02
4d701919 24
25%build
50213d88 26%{__make} \
27 CC="%{__cc}"
4d701919 28
29%install
30rm -rf $RPM_BUILD_ROOT
50213d88 31install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}}
4d701919 32
33%{__make} install \
34 INSTALLBIN=$RPM_BUILD_ROOT%{_bindir} \
50213d88 35 INSTALLINCLUDE=$RPM_BUILD_ROOT%{_includedir} \
36 INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} \
4d701919 37 INSTALLMAN=$RPM_BUILD_ROOT%{_mandir}
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc COPYRIGHT CHANGELIST README examples
45%attr(755,root,root) %{_bindir}/xdotool
50213d88 46%attr(755,root,root) %{_libdir}/libxdo*
4d701919 47%{_mandir}/man1/xdotool.1*
50213d88 48%{_includedir}/xdo.h
This page took 0.054423 seconds and 4 git commands to generate.