diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2024-04-04 00:10:44 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2024-04-04 00:10:44 +0200 |
| commit | 5dc8aba0cdf7dea89bf43eeb2fe72371b04aaea4 (patch) | |
| tree | 22ecab9e97d132a486ec5a57eb0ad9e1a536a483 /chr.spec | |
Initial packaging
Diffstat (limited to 'chr.spec')
| -rw-r--r-- | chr.spec | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/chr.spec b/chr.spec new file mode 100644 index 0000000..1efbcf4 --- /dev/null +++ b/chr.spec @@ -0,0 +1,60 @@ +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 |
