fastfetch/fastfetch.spec

138 lines
3.8 KiB
RPMSpec
Raw Normal View History

- update to 2.26.1 Changes: * To be consistent to other platforms, CPU frequency detection on Linux no longer checks `bios_limit` Features: * Detect GPU index (gh#fastfetch-cli/fastfetch#1267, GPU) * Count Flatpak runtime packages (gh#fastfetch-cli/fastfetch#1085, Packages, Linux) * Support `pacstall` package manager (Packages, Linux) - CMake `-DPACKAGES_DISABLE_PACSTALL=ON` can be used to disable * Support CU core count, max frequency, VMEM usage detection for AMD cards on Linux (GPU, Linux) - Requires `--gpu-driver-specific` * Support EU core count, VMEM size detection Intel cards on Linux (GPU, Linux) - Requires --gpu-driver-specific. VMEM usage detection requires root permissions * Add new module TPM to print TPM (Trusted Platform Module) version if available (TPM) * Support GPU driver version detection (GPU, macOS) * Add new CMake option `-DENABLE_EMBEDDED_PCIIDS=<BOOL>` - If enabled, fastfetch will download the newest `pci.ids` file, transform it into C code and compile it into fastfetch binaries Bugfixes: * Fix font size detecton of foot terminal (gh#fastfetch-cli/fastfetch#1276, TerminalFont, Linux) * Ignore `su` and `sudo` when detecting terminal (gh#fastfetch-cli/fastfetch#1283, Terminal, Linux) * Always print inches in integer (Display) * Fix Wifi connection protocol detection on macOS Sequoia (Wifi, macOS) * Fix hanging when font name is long when detecting kitty term font (gh#fastfetch-cli/fastfetch#1289, TerminalFont) * Detect all enabled or connected connectors (gh#fastfetch-cli/fastfetch#1301, Display, Linux) OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=111
2024-09-29 18:41:30 +02:00
#
# spec file for package fastfetch
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fastfetch
- update to 2.27.1 Changes: * We now print " instead of ″ when displaying diagonal length in inches, so that the character can be correctly displayed in Linux console (Display) * All detection code of `monitor` module is merged into `display` module. Now `monitor` just prints the same information as ` display` with different format. Notably: - The resolution reported by monitor module is now current resolution instead of native / maximum resolution. PPI is calcuated based on current resolution too - The refresh rate reported by `monitor` module is the current refresh rate Features: * Add initial support of OpenBSD (OpenBSD) * Improve support for Raspberry pi (CPU / GPU, Linux) * Detect SOC name, instead of displaying components used in the SOC, if available (CPU, Linux) * Add option `--brightness-compact` to display multiple brightness values in one line (Brightness) * Add `day-pretty` (gh#fastfetch-cli/fastfetch#1305, DateTime) * Support network interface adapter flag detection (gh#fastfetch-cli/fastfetch#1315, LocalIP) - Enable it with `--localip-show-flags` Bugfixes: * Remove trailing newline in GPU name for Raspberry pi (gh#fastfetch-cli/fastfetch#1303, GPU, Linux) * Fix a possible buffer overflow (GPU, Linux) * Fix CPU temp incorrectly reported as 0 celsius (gh#fastfetch-cli/fastfetch#1308, CPU, Linux) * Corrently report TPM device is not found error (gh#fastfetch-cli/fastfetch#1314, TPM, Windows) * Fix errors when triggering shell completion with python3 uninstalled (gh#fastfetch-cli/fastfetch#1310) - To package managers: as shell completion scripts of fastfetch use python3, it should be added as an optional dependency of fastfetch * Fix possible crashes when detecting term font of kitty (gh#fastfetch-cli/fastfetch#1321, TerminalFont, Linux) Logos: * Add XeroArch * Add ValhallaOS OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=113
2024-10-10 15:29:16 +02:00
Version: 2.27.1
- update to 2.26.1 Changes: * To be consistent to other platforms, CPU frequency detection on Linux no longer checks `bios_limit` Features: * Detect GPU index (gh#fastfetch-cli/fastfetch#1267, GPU) * Count Flatpak runtime packages (gh#fastfetch-cli/fastfetch#1085, Packages, Linux) * Support `pacstall` package manager (Packages, Linux) - CMake `-DPACKAGES_DISABLE_PACSTALL=ON` can be used to disable * Support CU core count, max frequency, VMEM usage detection for AMD cards on Linux (GPU, Linux) - Requires `--gpu-driver-specific` * Support EU core count, VMEM size detection Intel cards on Linux (GPU, Linux) - Requires --gpu-driver-specific. VMEM usage detection requires root permissions * Add new module TPM to print TPM (Trusted Platform Module) version if available (TPM) * Support GPU driver version detection (GPU, macOS) * Add new CMake option `-DENABLE_EMBEDDED_PCIIDS=<BOOL>` - If enabled, fastfetch will download the newest `pci.ids` file, transform it into C code and compile it into fastfetch binaries Bugfixes: * Fix font size detecton of foot terminal (gh#fastfetch-cli/fastfetch#1276, TerminalFont, Linux) * Ignore `su` and `sudo` when detecting terminal (gh#fastfetch-cli/fastfetch#1283, Terminal, Linux) * Always print inches in integer (Display) * Fix Wifi connection protocol detection on macOS Sequoia (Wifi, macOS) * Fix hanging when font name is long when detecting kitty term font (gh#fastfetch-cli/fastfetch#1289, TerminalFont) * Detect all enabled or connected connectors (gh#fastfetch-cli/fastfetch#1301, Display, Linux) OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=111
2024-09-29 18:41:30 +02:00
Release: 0
Summary: Neofetch-like tool written mostly in C
License: MIT
URL: https://github.com/fastfetch-cli/fastfetch
Source: https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: opencl-headers
BuildRequires: vulkan-headers
# For some reason these don't build on Leap
%if 0%{?suse_version} > 1600
%ifarch %{ix86} x86_64
BuildRequires: pkgconfig(DirectX-Headers)
%endif
%endif
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(chafa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(ddcutil)
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(ocl-icd)
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(zlib)
Recommends: ImageMagick
Recommends: Mesa
Recommends: chafa
Recommends: dbus-1
Recommends: dconf
Recommends: glib2-tools
Recommends: pciutils
Recommends: rpm
Recommends: sqlite3
Recommends: vulkan-tools
Recommends: xfconf
Recommends: xrandr
Recommends: zlib
%description
Fastfetch is a neofetch-like tool for fetching system information and
displaying them in a pretty way. It is written mainly in C, with performance and
customizability in mind. Currently Linux, Android, FreeBSD,
MacOS and Windows 7+ are supported.
%package fish-completion
Summary: Fish Completion for %{name}
Supplements: (%{name} and fish)
Requires: fastfetch
Requires: fish
BuildArch: noarch
%description fish-completion
Fish command-line completion support for %{name}.
%package bash-completion
Summary: Bash Completion for %{name}
Supplements: (%{name} and bash-completion)
Requires: bash-completion
Requires: fastfetch
BuildArch: noarch
%description bash-completion
Bash command-line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Supplements: (%{name} and zsh)
Requires: fastfetch
Requires: zsh
BuildArch: noarch
%description zsh-completion
Zsh command-line completion support for %{name}.
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/flashfetch
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/%{name}/
%files bash-completion
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/fastfetch
%files fish-completion
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/fastfetch.fish
%files zsh-completion
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_fastfetch
%changelog