1 Summary: Fake keyboard/mouse input
2 Summary(pl.UTF-8): Sztuczne źródło klawiatury/myszy
7 Group: X11/Window Managers/Tools
8 Source0: https://github.com/jordansissel/xdotool/releases/download/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 9fd993a251a7c38b32381503544b0dd7
10 URL: http://www.semicomplete.com/projects/xdotool/
11 BuildRequires: perl-tools-pod
12 BuildRequires: sed >= 4.0
13 BuildRequires: xorg-lib-libX11-devel
14 BuildRequires: xorg-lib-libXi-devel
15 BuildRequires: xorg-lib-libXinerama-devel
16 BuildRequires: xorg-lib-libXtst-devel
17 BuildRequires: xorg-lib-libxkbcommon-devel
18 Requires: %{name}-libs = %{version}-%{release}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 xdotool lets you programatically (or manually) simulate keyboard input
23 and mouse activity, move and resize windows, etc. It does this using
24 X11's XTEST extension and other Xlib functions.
26 %description -l pl.UTF-8
27 xdotool pozwala programowo (lub ręcznie) symulować aktywność wejściową
28 klawiatury i myszy, przesuwać okienka, zmieniać ich rozmiary itp.
29 Dzieje się to przy użyciu rozszerzenia X11 XTEST orz innych funkcji
33 Summary: Shared libxdo library
34 Summary(pl.UTF-8): Biblioteka współdzielona libxdo
38 Shared libxdo library.
40 %description libs -l pl.UTF-8
41 Biblioteka współdzielona libxdo.
44 Summary: Header files for libxdo library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxdo
46 Group: Development/Libraries
47 Requires: %{name}-libs = %{version}-%{release}
50 Header files for libxdo library.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki libxdo.
58 %{__sed} -i -e 's#^libdir=.*#libdir=%{_libdir}#' \
59 -e 's#^includedir=.*#includedir=%{_includedir}#' \
63 CFLAGS="%{rpmcflags}" \
64 LDFLAGS="%{rpmldflags}" \
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}}
74 INSTALLLIB=%{_libdir} \
75 INSTALLMAN=%{_mandir} \
77 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
82 %post libs -p /sbin/ldconfig
83 %postun libs -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc COPYRIGHT CHANGELIST README.md examples
88 %attr(755,root,root) %{_bindir}/xdotool
89 %{_mandir}/man1/xdotool.1*
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libxdo.so.3
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libxdo.so
99 %{_pkgconfigdir}/libxdo.pc