## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 26 %bcond_without check %global crate gitui Name: rust-gitui Version: 0.26.3 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 from =0.9.9 to ^0.9.9 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-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 # Unlicense OR MIT # 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-DFS-2016 AND Unlicense AND WTFPL 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 %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 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