]>
Commit | Line | Data |
---|---|---|
4d701919 | 1 | Summary: fake keyboard/mouse input |
2 | Name: xdotool | |
270ece33 | 3 | Version: 2.20101012.3049 |
66dc2854 | 4 | Release: 1 |
4d701919 | 5 | License: BSD-like |
6 | Group: X11/Window Managers/Tools | |
73ebbac1 | 7 | Source0: http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz |
270ece33 | 8 | # Source0-md5: 6983e8932412578b98852d235e7fd073 |
4d701919 | 9 | URL: http://www.semicomplete.com/projects/xdotool/ |
b6a1c078 | 10 | BuildRequires: perl-tools-pod |
4d701919 | 11 | BuildRequires: xorg-lib-libX11-devel |
b6a1c078 | 12 | BuildRequires: xorg-lib-libXtst-devel |
4d701919 | 13 | BuildRequires: xorg-proto-xextproto-devel |
76278943 | 14 | Requires: %{name}-libs = %{version}-%{release} |
4d701919 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | xdotool lets you programatically (or manually) simulate keyboard input | |
19 | and mouse activity, move and resize windows, etc. It does this using | |
20 | X11's XTEST extension and other Xlib functions. | |
21 | ||
76278943 | 22 | %package libs |
23 | Summary: xdotool library | |
24 | Summary(pl.UTF-8): - | |
25 | Group: Libraries | |
26 | ||
27 | %description libs | |
28 | xdotool shared library. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for xdotool library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xdotool | |
33 | Group: Development/Libraries | |
34 | Requires: %{name}-libs = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | Header files for xdotool library. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe biblioteki xdotool. | |
41 | ||
4d701919 | 42 | %prep |
73ebbac1 | 43 | %setup -q |
4d701919 | 44 | |
45 | %build | |
76278943 | 46 | CFLAGS="%{rpmcflags}" \ |
47 | LDFLAGS="%{rpmldflags}" \ | |
50213d88 | 48 | %{__make} \ |
49 | CC="%{__cc}" | |
4d701919 | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
50213d88 | 53 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}} |
4d701919 | 54 | |
55 | %{__make} install \ | |
56 | INSTALLBIN=$RPM_BUILD_ROOT%{_bindir} \ | |
50213d88 | 57 | INSTALLINCLUDE=$RPM_BUILD_ROOT%{_includedir} \ |
58 | INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} \ | |
4d701919 | 59 | INSTALLMAN=$RPM_BUILD_ROOT%{_mandir} |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
76278943 | 64 | %post libs -p /sbin/ldconfig |
65 | %postun libs -p /sbin/ldconfig | |
66 | ||
4d701919 | 67 | %files |
68 | %defattr(644,root,root,755) | |
69 | %doc COPYRIGHT CHANGELIST README examples | |
70 | %attr(755,root,root) %{_bindir}/xdotool | |
71 | %{_mandir}/man1/xdotool.1* | |
76278943 | 72 | |
73 | %files libs | |
270ece33 | 74 | %defattr(644,root,root,755) |
76278943 | 75 | %attr(755,root,root) %{_libdir}/libxdo.so.2 |
76 | ||
77 | %files devel | |
270ece33 | 78 | %defattr(644,root,root,755) |
76278943 | 79 | %attr(755,root,root) %{_libdir}/libxdo.so |
50213d88 | 80 | %{_includedir}/xdo.h |