Files
xdotool/xdotool.spec
Stefan Dirsch 258e7a7530 - update to 4.20251130.1
* Fix bug in typing/keyboard causing xdotool to send extra
    modifier keys in certain cases. When xkeyboard-config 2.46 is
    installed, xdotool would send incorrect key sequences for
    function keys, for example incorrectly sending "Alt + F3" when
    F3 was requested. (#491, PR #493)
  * Add 'windowlower' command (#426)
  * Fix some crashes in xdo_get_desktop_for_window (#434)
  * Fix mouse movement under Xwayland when multiple screens are
    present (#435)
  * mousemove --sync no only waits if the cursor is expected to
    actually move (#463, #464)
  * Remove dependency on libXi that was leftover from Wayland
    detection code no longer used in xdotool
  * Bump SONAME to 4 hopefully to resolve ABI issues with
    previous versions of libxdo.
  * Code improvements intended to reduce compiler warnings (#364)
  * Add support for Cygwin when building
  * Test suite works again! :)
- fixes regression since xkeyboard-config 2.46 (boo#1254993)

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xdotool?expand=0&rev=18
2025-12-17 09:58:23 +00:00

88 lines
2.5 KiB
RPMSpec

#
# spec file for package xdotool
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xdotool
Version: 4.20251130.1
Release: 0
Summary: Fake keyboard/mouse input
License: BSD-3-Clause
Group: System/X11/Utilities
URL: https://www.semicomplete.com/projects/xdotool/
Source: https://github.com/jordansissel/xdotool/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xtst)
%description
This tool lets you programatically (or manually) simulate keyboard input and
mouse activity, move and resize windows, etc. It does this using X11's XTEST
extension and other Xlib functions.
%package devel
Summary: Development and Library files
Group: Development/Libraries/X11
Requires: %{name} = %{version}
Requires: pkgconfig(x11)
%description devel
This tool lets you programatically (or manually) simulate keyboard input and
mouse activity, move and resize windows, etc. It does this using X11's XTEST
extension and other Xlib functions.
Library and Header files for %{name}
%prep
%setup -q
%build
# Fix file permissions
chmod 0644 examples/ffsp.sh
export WARNFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
%make_install \
PREFIX=%{_prefix} \
INSTALLLIB=%{_libdir} \
INSTALLMAN=%{_mandir} \
chmod 0644 examples/*
%post -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
%{_bindir}/%{name}
%doc CHANGELIST COPYRIGHT README.md
%doc examples
%{_mandir}/man1/%{name}.1%{ext_man}
%{_libdir}/libxdo.so.*
%files devel
%attr(0644,root,root) %{_includedir}/*.h
%{_libdir}/libxdo.so
%{_libdir}/pkgconfig/libxdo.pc
%changelog