Name: chr Version: 0.1.77 Release: %autorelease Summary: Terminal editor is inspired by the Turbo Pascal editor %global forgeurl https://github.com/istoph/editor %forgemeta License: Boost URL: %{forgeurl} Source0: %{forgeurl}/releases/download/%{version}/editor-%{version}.tar.gz Patch0: catch.patch BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: qt5-qtbase-devel BuildRequires: pkgconfig(TuiWidgets) BuildRequires: pkgconfig(PosixSignalManager) BuildRequires: cmake(KF5SyntaxHighlighting) 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/catch.hpp %build %meson -Dsystem-catch2=enabled -Dsyntax_highlighting=true %meson_build %install %meson_install install -D -m0644 manpages/%{name}.1 -t %{buildroot}%{_mandir}/man1/ install -D -m0644 manpages/%{name}.de.1 -t %{buildroot}%{_mandir}/de/man1/ # TODO #check #meson_test %files %doc README.md %license COPYING AUTHORS %{_bindir}/%{name} %{_mandir}/man1/%{name}.* %{_mandir}/de/man1/%{name}.* %changelog %autochangelog