Name: moriartty Version: 0.4.4 Release: 1%{?dist} Summary: PuTTY-style terminal emulator for Linux License: MIT Source0: %{name}-%{version}.tar.gz # Vendored crates, produced by build-rpm.sh (`cargo vendor`), so the build # needs no network access. Source1: %{name}-%{version}-vendor.tar.gz BuildRequires: rust >= 1.80 BuildRequires: cargo BuildRequires: gcc BuildRequires: pkgconfig(gtk4) >= 4.12 BuildRequires: pkgconfig(vte-2.91-gtk4) BuildRequires: desktop-file-utils BuildRequires: appstream # Scales packaging/moriartty-logo.png to the hicolor icon sizes. BuildRequires: ImageMagick %if %{undefined build_rustflags} %global debug_package %{nil} %endif %description Moriartty is a terminal emulator modelled on PuTTY's pterm: the same configuration tree (Session, Logging, Terminal, Keyboard, Bell, Features, Window, Appearance, Behaviour, Selection, Colours), saved setting profiles, copy-on-select and right-click paste, with safe paste filtering. %prep %autosetup -n %{name}-%{version} tar -xzf %{SOURCE1} mkdir -p .cargo cat > .cargo/config.toml <<'EOF' [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build export RUSTFLAGS="%{?build_rustflags}" cargo build --release --frozen --offline %install install -Dpm0755 target/release/moriartty %{buildroot}%{_bindir}/moriartty install -Dpm0644 packaging/io.github.moriartty.Moriartty.desktop \ %{buildroot}%{_datadir}/applications/io.github.moriartty.Moriartty.desktop install -Dpm0644 packaging/io.github.moriartty.Moriartty.metainfo.xml \ %{buildroot}%{_metainfodir}/io.github.moriartty.Moriartty.metainfo.xml for size in 16 24 32 48 64 128 256 512; do install -d %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps magick packaging/moriartty-logo.png -resize ${size}x${size} \ %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/io.github.moriartty.Moriartty.png done %check desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.moriartty.Moriartty.desktop appstreamcli validate --no-net %{buildroot}%{_metainfodir}/io.github.moriartty.Moriartty.metainfo.xml export RUSTFLAGS="%{?build_rustflags}" cargo test --release --frozen --offline %files %license LICENSE %doc README.md %{_bindir}/moriartty %{_datadir}/applications/io.github.moriartty.Moriartty.desktop %{_datadir}/icons/hicolor/*/apps/io.github.moriartty.Moriartty.png %{_metainfodir}/io.github.moriartty.Moriartty.metainfo.xml %changelog * Mon Oct 19 2026 Moriartty Developers - 0.4.4-1 - The × on a tab closes it again * Mon Oct 19 2026 Moriartty Developers - 0.4.3-1 - Title bar about 22px high: smaller icons, window controls and tabs - Empty title bar space no longer opens a tab (clashed with double-click); the + button next to the tabs does * Mon Oct 19 2026 Moriartty Developers - 0.4.2-1 - One slim title bar with the tabs in it, always shown - Click next to the tabs or on + for a new tab; middle-click closes a tab - Tabs are named after the program's title, else "program: directory" - Tab shortcuts work wherever the keyboard focus is; Ctrl+Tab switches tabs * Mon Oct 19 2026 Moriartty Developers - 0.4.1-1 - Tabs: Ctrl+Shift+T / Ctrl+Shift+W, Ctrl+PgUp/PgDn, Ctrl+Shift+PgUp/PgDn, Alt+1..9 - A bad saved shell, terminal type or log file no longer stops Moriartty starting - Paste confirmation defaults to Cancel and shows hidden characters - Pastes are dropped if the shell was restarted in the meantime - Links with a user name before the host are refused - Link tooltips show the real (xn--) host of international domain names - The Event Log window updates live; VTE_VERSION is set for the shell - Log files: no blocking on FIFOs, emptied only after the safety checks - Pty created close-on-exec; launcher variables not passed to the shell * Sun Oct 18 2026 Moriartty Developers - 0.3.0-1 - Usable as the desktop's default terminal (xdg-terminal-exec keys, -dir, -hold) - AppStream metadata, so it appears in GNOME Software / KDE Discover - Font zoom is remembered and can be saved as default - Option to hide the title bar buttons - Warn before closing a window running an -e program - Resize the pty on layout changes instead of polling * Sun Oct 18 2026 Moriartty Developers - 0.2.0-1 - Settings dialog can save changes as Default Settings - Font zoom (Ctrl+= / Ctrl+- / Ctrl+0) - Find in scrollback (Ctrl+Shift+F) - Ctrl+click opens http(s) links - Colour scheme presets * Sun Oct 18 2026 Moriartty Developers - 0.1.0-1 - Initial package