Name: libstroke Version: 0.5.6 Release: 2%{?dist} Summary: A stroke interface library License: GPL-2.0-or-later AND X11 AND FSFUL AND HPND URL: https://github.com/s-kro/%{name} Source: https://github.com/s-kro/%{name}/archive/refs/tags/%{version}.tar.gz BuildRequires: gcc BuildRequires: libtool automake autoconf BuildRequires: libX11-devel %description LibStroke is a stroke interface library. Strokes are motions of the mouse that can be interpreted by a program as a command. %package devel Summary: Development files for the %{name} library Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for the %{name} library. %package -n javastroke Summary: Optional java files Requires: %{name}%{?_isa} = %{version}-%{release} Buildarch: noarch %description -n javastroke Java interface for stroke and example application %prep %autosetup -p1 autoreconf -if sed -i -e 's|\(#include \)|\1\n#include |g' %{name}/stroke.c %build %configure \ --disable-static \ --with-x=yes %make_build %install %make_install mkdir -p %{buildroot}%{_datadir}/stroke/java cp -p javastroke/*.java %{buildroot}%{_datadir}/stroke/java rm %{buildroot}%{_libdir}/*.la %check #export DISPLAY=:0 #./tests/stroke_test %files %doc README README.libgstroke %license COPYING COPYRIGHT %{_libdir}/%{name}.so.* %doc doc/standard_strokes* %doc ChangeLog NEWS AUTHORS TODO CREDITS %files devel %{_datadir}/aclocal/%{name}.m4 %{_libdir}/%{name}.so %{_includedir}/stroke.h %files -n javastroke %doc README.javastroke %{_datadir}/stroke/ %changelog * Mon Mar 16 2026 Pappy - 0.5.6-2 - Fedora re-inclusion * Mon Oct 6 2025 Pappy - 0.5.6-1 - Latest upstream * Sun Oct 5 2025 Pappy - 0.5.2-2 - Merged doc package into main package * Sat Oct 4 2025 Pappy - 0.5.2-1 - New upstream - Patches incorporated into source * Tue Mar 25 2025 Pappy - 0.5.1-49 - Fedora re-inclusion