Name: wezterm Version: 20241103_175137_c57b3ee2 Release: 0 Packager: Wez Furlong License: MIT URL: https://wezfurlong.org/wezterm/ Summary: Wez's Terminal Emulator. %if 0%{?suse_version} Requires: dbus-1, fontconfig, openssl, libxcb1, libxkbcommon0, libxkbcommon-x11-0, libwayland-client0, libwayland-egl1, libwayland-cursor0, Mesa-libEGL1, libxcb-keysyms1, libxcb-ewmh2, libxcb-icccm4 %else Requires: dbus, fontconfig, openssl, libxcb, libxkbcommon, libxkbcommon-x11, libwayland-client, libwayland-egl, libwayland-cursor, mesa-libEGL, xcb-util-keysyms, xcb-util-wm %endif BuildRequires: gcc, gcc-c++, make, curl, fontconfig-devel, openssl-devel, libxcb-devel, libxkbcommon-devel, libxkbcommon-x11-devel, wayland-devel, xcb-util-devel, xcb-util-keysyms-devel, xcb-util-image-devel, xcb-util-wm-devel, git %if 0%{?suse_version} BuildRequires: Mesa-libEGL-devel %else BuildRequires: mesa-libEGL-devel %endif %if 0%{?fedora} >= 41 BuildRequires: openssl-devel-engine %endif Source0: wezterm-20241103_175137_c57b3ee2.tar.gz %global debug_package %{nil} %changelog * Mon Oct 2 2023 Wez Furlong - See git for full changelog %description wezterm is a terminal emulator with support for modern features such as fonts with ligatures, hyperlinks, tabs and multiple windows. %prep %autosetup %build echo Here I am curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source ~/.cargo/env cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes %install set -x cd . mkdir -p %{buildroot}/usr/bin %{buildroot}/etc/profile.d install -Dm755 assets/open-wezterm-here -t %{buildroot}/usr/bin install -Dsm755 target/release/wezterm -t %{buildroot}/usr/bin install -Dsm755 target/release/wezterm-mux-server -t %{buildroot}/usr/bin install -Dsm755 target/release/wezterm-gui -t %{buildroot}/usr/bin install -Dsm755 target/release/strip-ansi-escapes -t %{buildroot}/usr/bin install -Dm644 assets/shell-integration/* -t %{buildroot}/etc/profile.d install -Dm644 assets/shell-completion/zsh %{buildroot}/usr/share/zsh/site-functions/_wezterm install -Dm644 assets/shell-completion/bash %{buildroot}/etc/bash_completion.d/wezterm install -Dm644 assets/icon/terminal.png %{buildroot}/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png install -Dm644 assets/wezterm.desktop %{buildroot}/usr/share/applications/org.wezfurlong.wezterm.desktop install -Dm644 assets/wezterm.appdata.xml %{buildroot}/usr/share/metainfo/org.wezfurlong.wezterm.appdata.xml install -Dm644 assets/wezterm-nautilus.py %{buildroot}/usr/share/nautilus-python/extensions/wezterm-nautilus.py %files /usr/bin/open-wezterm-here /usr/bin/wezterm /usr/bin/wezterm-gui /usr/bin/wezterm-mux-server /usr/bin/strip-ansi-escapes /usr/share/zsh/site-functions/_wezterm /etc/bash_completion.d/wezterm /usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png /usr/share/applications/org.wezfurlong.wezterm.desktop /usr/share/metainfo/org.wezfurlong.wezterm.appdata.xml /usr/share/nautilus-python/extensions/wezterm-nautilus.py* /etc/profile.d/*