## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 # workaround for OOM issues on i686 %ifarch %{ix86} %global rustflags_debuginfo 1 %endif %global crate gitui Name: rust-gitui Version: 0.27.0 Release: %autorelease Summary: Blazing fast terminal-ui for git License: MIT URL: https://crates.io/crates/gitui Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove feature for building / statically linking vendored OpenSSL sources # * relax parking_lot_core dependency # * allow which 7 and 8: https://github.com/extrawurst/gitui/pull/2418, # https://github.com/gitui-org/gitui/pull/2671 # * update ron from 0.8 to 0.10 # (https://github.com/gitui-org/gitui/commit/5755c096b42553de98490cf788dff1a4925bc574, # https://github.com/gitui-org/gitui/commit/aa513b40e191da181174836aac27545bd952a613) # * update struct-patch from 0.8 to 0.9 # https://github.com/gitui-org/gitui/commit/369ea6a140438fdbaf29ff31f3fea8195603b5e8 # * allow dirs 6: # https://github.com/gitui-org/gitui/commit/9781608584151ae4932515b8d356f77110e24a0a Patch: gitui-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: /usr/bin/git %global _description %{expand: Blazing fast terminal-ui for git.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND MIT AND Unlicense AND WTFPL # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # (MIT OR Apache-2.0) AND Unicode-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # CC0-1.0 # ISC # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR GPL-3.0-or-later # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT # Zlib # Zlib OR Apache-2.0 OR MIT License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only WITH GCC-exception-2.0 AND ISC AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Unlicense AND WTFPL AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR GPL-3.0-or-later) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.md %license LICENSE.dependencies %doc CHANGELOG.md %doc CONTRIBUTING.md %doc FAQ.md %doc KEY_CONFIG.md %doc NIGHTLIES.md %doc README.md %doc THEMES.md %{_bindir}/gitui %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep # Prove that nothing from wix/ is installed or used in the build. rm -rv wix %generate_buildrequires %cargo_generate_buildrequires %build export GITUI_RELEASE=1 %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install export GITUI_RELEASE=1 %cargo_install %if %{with check} %check export GITUI_RELEASE=1 %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sun Nov 23 2025 Benjamin A. Beasley - 0.27.0-3 - Allow dirs 6 * Fri Jul 25 2025 Fedora Release Engineering - 0.27.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jul 21 2025 blinxen - 0.27.0-1 - Update to version 0.27.0 (rhbz#2338027) * Wed Jun 25 2025 Benjamin A. Beasley - 0.26.3-11 - Update License expression * Wed Jun 25 2025 Benjamin A. Beasley - 0.26.3-10 - Exclude the license file for wix without hand-editing * Wed Jun 25 2025 Benjamin A. Beasley - 0.26.3-9 - Allow which 8 * Tue Apr 22 2025 Benjamin A. Beasley - 0.26.3-8 - Update ron to 0.10 * Tue Apr 15 2025 Cristian Le - 0.26.3-7 - Rebuild with ratatui0.26 dependency only * Sun Apr 06 2025 Benjamin A. Beasley - 0.26.3-6 - Update ron to 0.9.0 * Sun Jan 19 2025 Fedora Release Engineering - 0.26.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Dec 19 2024 Benjamin A. Beasley - 0.26.3-4 - Update License * Thu Dec 19 2024 Benjamin A. Beasley - 0.26.3-3 - Allow which 7.0.0 * Fri Jul 19 2024 Fedora Release Engineering - 0.26.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 02 2024 Fabio Valentini - 0.26.3-1 - Update to version 0.26.3; Fixes RHBZ#2265325 * Thu May 23 2024 Fabio Valentini - 0.24.3-5 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Tue Feb 13 2024 Fabio Valentini - 0.24.3-4 - Attempt to work around OOM problems on i686 * Tue Feb 13 2024 Fabio Valentini - 0.24.3-3 - Rebuild for CVE-2024-24575 and CVE-2024-24577 in libgit2 * Fri Jan 26 2024 Fedora Release Engineering - 0.24.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 25 2023 Fabio Valentini - 0.24.3-1 - Update to version 0.24.3; Fixes RHBZ#2235207 * Sun Jul 30 2023 Fabio Valentini - 0.23.0-1 - Update to version 0.23.0; Fixes RHBZ#21192439 * Fri Jul 21 2023 Fedora Release Engineering - 0.20.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 28 2023 Fabio Valentini - 0.20.1-6 - Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2 * Fri Jan 20 2023 Fedora Release Engineering - 0.20.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 09 2022 Pete Walter - 0.20.1-4 - Rebuild for libgit2 1.4 * Sat Jul 23 2022 Fedora Release Engineering - 0.20.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 21 2022 Fabio Valentini - 0.20.1-2 - Bump bugreport from 0.4 to 0.5 * Sun Feb 20 2022 Igor Raits - 0.20.1-1 - Update to 0.20.1 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.16.2-7 - Rebuild with package notes * Sun Feb 13 2022 Fabio Valentini - 0.16.2-6 - Bump crossterm from 0.19 to 0.22, bump tui from 0.15 to 0.17 * Fri Jan 21 2022 Fedora Release Engineering - 0.16.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 28 2021 Igor Raits - 0.16.2-4 - Rebuild for libgit2 1.3.x * Tue Sep 14 2021 Sahana Prasad - 0.16.2-3 - Rebuilt with OpenSSL 3.0.0 * Sat Aug 07 2021 Fabio Valentini - 0.16.2-2 - Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810 * Sat Jul 24 2021 Igor Raits - 0.16.2-1 - Update to 0.16.2 * Tue Jul 06 2021 Davide Cavalca - 0.13.0-2 - Bump simplelog to 0.10 * Sun Mar 21 2021 Igor Raits - 0.13.0-1 - Update to 0.13.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 2021 Igor Raits - 0.11.0-3 - Update to 0.11.0 * Tue Dec 29 2020 Igor Raits - 0.11.0-2 - Rebuild against libgit2 1.1.x * Mon Dec 28 2020 Igor Raits - 0.11.0-1 - Update to 0.11.0 * Sat Aug 29 2020 Igor Raits - 0.10.0-1 - Update to 0.10.0 * Sat Aug 29 2020 Igor Raits - 0.9.1-1 - Update to 0.9.1 * Tue Aug 18 2020 Igor Raits - 0.9.0-1 - Update to 0.9.0 * Sun Aug 16 2020 Igor Raits - 0.8.1-4 - Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.8.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.8.1-1 - Update to 0.8.1 * Mon Jul 06 2020 Igor Raits - 0.8.0-1 - Update to 0.8.0 * Mon Jun 15 2020 Igor Raits - 0.7.0-1 - Update to 0.7.0 * Thu Jun 11 2020 Igor Raits - 0.6.0-2 - Update license list * Wed Jun 10 2020 Josh Stone - 0.6.0-1 - Update to 0.6.0 * Mon Jun 01 2020 Josh Stone - 0.5.0-1 - Update to 0.5.0 * Thu May 28 2020 Igor Raits - 0.4.0-1 - Initial import ## END: Generated by rpmautospec