Name: chr Version: 0.1.81 Release: %autorelease Summary: Terminal editor inspired by the Turbo Pascal editor %global forgeurl https://github.com/chr-editor/chr %forgemeta License: Boost URL: %{forgeurl} Source0: %{forgeurl}/releases/download/%{version}/chr-%{version}.tar.gz Patch0: 0001-tests-readWrite-Fix-memory-leak.patch BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt6Core) pkgconfig(Qt6Concurrent) BuildRequires: pkgconfig(TuiWidgetsQt6) BuildRequires: pkgconfig(PosixSignalManagerQt6) BuildRequires: cmake(KF6SyntaxHighlighting) BuildRequires: pkgconfig(catch2) %description The chr terminal editor is inspired by the turbo pascal editor using Turbo Vision from the year 1997. For the keyboard shortcut he should be similar gedit, to facilitate the transition from desktop to console editor. %prep %forgeautosetup -p1 rm -rf third-party/catch2 %build %meson -Dsystem-catch2=enabled -Dsyntax_highlighting=true -Dqt=qt6 %meson_build %install %meson_install %check %meson_test %files %doc README.md %license COPYING AUTHORS %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %{_mandir}/de/man1/%{name}.1* %changelog %autochangelog