%global versuf rc4 %global uuid org.%{name}.Alacritty %global forgeurl https://github.com/alacritty/alacritty Name: alacritty Version: 0.14.0 Release: 1%{?dist} Summary: A cross-platform, OpenGL terminal emulator %if !0%{?el7} %forgemeta %endif License: Apache-2.0 URL: %{forgeurl} # the given path has multiple possibilities: #, # # Source0: %%{forgesource} Source0: %{forgeurl}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cargo >= 1.74 BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: expat-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: libxcb-devel BuildRequires: ncurses BuildRequires: python3-devel BuildRequires: rust >= 1.70 %description Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows. The software is considered to be at a beta level of readiness; there are a few missing features and bugs to be fixed, but it is already used by many as a daily driver. %package terminfo Summary: Terminfo files for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} %description terminfo Terminfo files for %{name}. %prep %if !0%{?el7} %forgesetup %else %autosetup %endif %build export CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_OPT_LEVEL=3 cargo build --release %install install -p -D -m 0755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %dnl install -p -D -m 0644 extra/%{name}.man %{buildroot}%{_mandir}/man1/%{name}.1 install -p -D -m 0644 extra/completions/_%{name} %{buildroot}%{_datadir}/zsh/site-functions/_%{name} install -p -D -m 0644 extra/completions/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -p -D -m 0644 extra/completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -p -D -m 0644 extra/linux/%{uuid}.appdata.xml %{buildroot}%{_metainfodir}/%{uuid}.appdata.xml install -p -D -m 0644 extra/linux/Alacritty.desktop %{buildroot}%{_datadir}/applications/Alacritty.desktop install -p -D -m 0644 extra/logo/%{name}-term.svg %{buildroot}%{_datadir}/pixmaps/Alacritty.svg tic -xe %{name},%{name}-direct extra/%{name}.info -o %{buildroot}%{_datadir}/terminfo %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files %license LICENSE-* %doc README.md CHANGELOG.md CONTRIBUTING.md docs/ %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/bash-completion/completions/%{name} %{_datadir}/fish/vendor_completions.d/%{name}.fish %{_datadir}/pixmaps/*.svg %{_datadir}/zsh/site-functions/_%{name} %dnl %{_mandir}/man1/*.1* %{_metainfodir}/*.xml %files terminfo %{_datadir}/terminfo/a/%{name}* %changelog * Wed Oct 23 2024 Artem Polishchuk - 0.14.0-1 - chore: Update to latest release * Wed Apr 24 2024 Artem Polishchuk - 0.13.2-1 - chore: Update to latest release * Thu Dec 28 2023 Artem Polishchuk - 0.13.0-1 - chore: Update to latest release * Sat Mar 25 2023 Artem Polishchuk - 0.12.0-1 - chore(update): 0.12.0 * Thu Oct 13 2022 Artem Polishchuk - 0.11.0-1 - chore(update): 0.11.0 * Mon Feb 21 2022 Artem Polishchuk - 0.10.1-1 - chore(update): 0.10.1 * Mon Jan 24 2022 Artem Polishchuk - 0.10.0-1 - chore(update): 0.10.0 * Wed May 19 2021 Artem Polishchuk - 0.8.0-1 - build(update): 0.8.0 * Sat Feb 20 2021 Artem Polishchuk - 0.7.2-1 - build(update): 0.7.2 * Sat Jan 9 2021 Artem Polishchuk - 0.7.1-1 - build(update): 0.7.1 * Fri Jan 8 2021 Artem Polishchuk - 0.7.0-1 - build(update): 0.7.0 * Wed Nov 25 2020 Artem Polishchuk - 0.6.0-1 - build(update): 0.6.0 * Sat Aug 01 2020 Artem Polishchuk - 0.5.0-1 - Update to 0.5.0 * Mon Jun 01 2020 Artem Polishchuk - 0.4.3-1 - Update to 0.4.3 * Mon Mar 30 2020 Artem Polishchuk - 0.4.2-1 - Update to 0.4.2 * Tue Mar 24 2020 Artem Polishchuk - 0.4.2-0.1.rc4 - Update to 0.4.2-rc4 * Mon Mar 23 2020 Artem Polishchuk - 0.4.2-0.1.rc3 - Update to 0.4.2-rc3 * Thu Jan 09 2020 Artem Polishchuk - 0.4.1-1 - Update to 0.4.1 * Thu Jan 09 2020 Artem Polishchuk - 0.4.1-0.1.rc3 - Update to 0.4.1-rc3 * Thu Dec 05 2019 Artem Polishchuk - 0.4.0-2 - Move configuration file into docs dir as it recommended by upstream now * Mon Nov 25 2019 Artem Polishchuk - 0.4.0-1 - Update to 0.4.0 * Fri Nov 22 2019 Artem Polishchuk - 0.4.0-0.3rc4 - Update to 0.4.0-rc4 * Fri Nov 22 2019 Artem Polishchuk - 0.4.0-0.2rc3 - Update to 0.4.0-rc3 * Tue Nov 19 2019 Artem Polishchuk - 0.4.0-0.1rc2 - Update to 0.4.0-rc2 * Wed Oct 30 2019 Artem Polishchuk - 0.3.3-3 - Minor spec file changes