## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %bcond check 1 Name: hyfetch Version: 2.0.5 Release: %autorelease Summary: Customizable Linux System Information Script License: %{shrink: 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 ISC AND LGPL-3.0-or-later AND MIT AND MIT OR Apache-2.0 AND MIT OR Apache-2.0 OR CC0-1.0 AND MPL-2.0 AND Unlicense OR MIT } URL: https://github.com/hykilpikonna/hyfetch Source0: https://github.com/hykilpikonna/hyfetch/archive/%{version}/hyfetch-%{version}.tar.gz Source1: hyfetch-vendor-%{version}.tar.gz Source2: hyfetch-vendor-config-%{version}.toml Patch0: hyfetch-fix-metadata-auto.patch BuildRequires: cargo-rpm-macros %description HyFetch is a command line tool to display information about your Linux system, such as amount of installed packages, OS and kernel version, active GTK theme, CPU info, and used/available memory. It is a fork of neofetch, and adds pride flag coloration to the OS logo. %prep %autosetup -n %{name}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install install -pDm755 target/release/hyfetch %{buildroot}%{_bindir}/hyfetch install -pDm644 docs/hyfetch.1 %{buildroot}%{_mandir}/man1/hyfetch.1 install -pDm644 hyfetch/scripts/autocomplete.bash %{buildroot}%{bash_completions_dir}/hyfetch install -pDm644 hyfetch/scripts/autocomplete.zsh %{buildroot}%{zsh_completions_dir}/_hyfetch %if %{with check} %check %cargo_test %endif %files %license LICENSE.md %license LICENSE.dependencies %{_bindir}/hyfetch %{_mandir}/man1/hyfetch.1* %{bash_completions_dir}/hyfetch %{zsh_completions_dir}/_hyfetch %changelog ## START: Generated by rpmautospec * Sun Nov 23 2025 topazus - 2.0.5-1 - 2.0.5 * Fri Sep 19 2025 Python Maint - 1.99.0-6 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 1.99.0-5 - Rebuilt for Python 3.14.0rc2 bytecode * Thu Jul 24 2025 Fedora Release Engineering - 1.99.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 1.99.0-3 - Rebuilt for Python 3.14 * Fri Jan 17 2025 Fedora Release Engineering - 1.99.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Oct 23 2024 Packit - 1.99.0-1 - Update to 1.99.0 upstream release - Resolves: rhbz#2321361 * Thu Jul 18 2024 Fedora Release Engineering - 1.4.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.4.11-2 - Rebuilt for Python 3.13 * Fri May 10 2024 topazus - 1.4.11-1 - initial import; rhbz#2279732 ## END: Generated by rpmautospec