2022-12-08 07:51:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package fastfetch
|
|
|
|
#
|
Accepting request 1236675 from home:RN:branches:utilities
- update to 2.34.0
Changes:
* We now print distro pretty name if available (OS)
- This is a long requested feature. However, it may break some distros. File a bug with the content of `/etc/os-release` if it breaks your distro
Bugfixes:
* Fix thunderbolt version of new MBPs (gh#fastfetch-cli/fastfetch#1465, Host, macOS)
* Fix backlight name detection on FreeBSD (Brightness, FreeBSD)
* Fix Terminal detection when running fastfetch in `pk-command-not-found` (gh#fastfetch-cli/fastfetch#1467, Terminal, Linux)
* Relax detection of terminals in NixOS (gh#fastfetch-cli/fastfetch#1479, Terminal, Linux)
- Should fix konsole, ghostty and maybe others
* Fix core count output in multi-package platforms (CPU)
* Don't suppress the output of preRun (gh#fastfetch-cli/fastfetch#1489)
* Fix battery percentage detection (Battery, NetBSD)
Features:
* Support ghostty terminal font detection (TerminalFont, Linux / macOS)
* Support `kitty-icat` image protocol, which uses `kitten icat` to generate image data
- Pros: support tmux; support gif animations; good performance
- Cons: due to the limitation of `kitten icat`, we need to clear the screen before displaying the image logo
* Support WM version detection (WM)
- In Linux, Hyprland & sway are supported currently
* Improve performance when stdout is redirected (TerminalSize)
* Report thermal zone temp if CPU temp is not available (CPU, Linux)
* Report sound server (Pipewire or PulseAudio) if available (gh#fastfetch-cli/fastfetch#1454, Sound, Linux)
* Enable OpenGL & OpenCL detection on Android (OpenGL / OpenCL, Android)
* Detect & report MediaTek Dimensity 9000+ SOC name (CPU, Android)
* Support appman (am-user) package manager detection (Packages, Linux)
Logo:
* Add Lubuntu
* Update Xray_os
* Add SnigdhaOS
* Add Rhino Linux
OBS-URL: https://build.opensuse.org/request/show/1236675
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=127
2025-01-09 18:37:49 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2022-12-08 07:51:53 +00:00
|
|
|
#
|
|
|
|
# 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
|
2025-03-03 16:10:33 +00:00
|
|
|
Version: 2.38.0
|
2022-12-08 07:51:53 +00:00
|
|
|
Release: 0
|
2024-02-12 17:24:10 +00:00
|
|
|
Summary: Neofetch-like tool written mostly in C
|
2022-12-08 07:51:53 +00:00
|
|
|
License: MIT
|
2024-02-12 17:24:10 +00:00
|
|
|
URL: https://github.com/fastfetch-cli/fastfetch
|
|
|
|
Source: https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2022-12-08 07:51:53 +00:00
|
|
|
BuildRequires: Mesa-devel
|
|
|
|
BuildRequires: cmake
|
2023-10-30 07:43:53 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2023-01-23 15:36:04 +00:00
|
|
|
BuildRequires: opencl-headers
|
2022-12-08 07:51:53 +00:00
|
|
|
BuildRequires: vulkan-headers
|
2024-06-19 14:39:54 +00:00
|
|
|
# For some reason these don't build on Leap
|
2024-06-07 20:31:12 +00:00
|
|
|
%if 0%{?suse_version} > 1600
|
2024-06-07 20:34:21 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2024-06-07 19:40:53 +00:00
|
|
|
BuildRequires: pkgconfig(DirectX-Headers)
|
2024-06-07 20:31:12 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2022-12-08 07:51:53 +00:00
|
|
|
BuildRequires: pkgconfig(ImageMagick)
|
|
|
|
BuildRequires: pkgconfig(chafa)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2024-08-15 12:03:38 +00:00
|
|
|
BuildRequires: pkgconfig(dconf)
|
|
|
|
BuildRequires: pkgconfig(ddcutil)
|
- update to 2.21.1
Changes:
* On Linux, FreeBSD and SunOS, a new recommended dependency
libelf` is introduced to extract strings in ELF binary, used for
- st term font detection when the term font is compiled directly into the binary
- fast path of systemd version detection
Features:
* Improve performance of
- kitty version detection (Terminal, Linux)
- st term font detection (TerminalFont, Linux)
- systemd version detection (InitSystem, Linux)
Bugfixes:
- Fix building error without `linux/wireless.h` (Wifi, Linux)
- Fix wrong GPU max frequency on Asahi Linux (GPU, Linux)
- Don't rely `$XDG_SESSION_TYPE` for detecting wm protocol (WM, Linux)
- Fix light color doesn't work on Linux console (Colors, Linux)
- `LC_ALL`, if set, overrides every other locale-related environment variable (Locale)
- Increase timeout of DBus calls (Linux)
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=95
2024-08-09 03:26:34 +00:00
|
|
|
BuildRequires: pkgconfig(libelf)
|
2024-08-15 12:03:38 +00:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2022-12-08 07:51:53 +00:00
|
|
|
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
|
2023-11-22 05:12:16 +00:00
|
|
|
Fastfetch is a neofetch-like tool for fetching system information and
|
2024-02-12 17:24:10 +00:00
|
|
|
displaying them in a pretty way. It is written mainly in C, with performance and
|
2023-11-22 05:12:16 +00:00
|
|
|
customizability in mind. Currently Linux, Android, FreeBSD,
|
2022-12-08 07:51:53 +00:00
|
|
|
MacOS and Windows 7+ are supported.
|
|
|
|
|
2023-12-23 08:24:18 +00:00
|
|
|
%package fish-completion
|
|
|
|
Summary: Fish Completion for %{name}
|
|
|
|
Supplements: (%{name} and fish)
|
2024-09-03 15:16:57 +00:00
|
|
|
Requires: fastfetch
|
2023-12-23 08:24:18 +00:00
|
|
|
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
|
2024-09-03 15:16:57 +00:00
|
|
|
Requires: fastfetch
|
2023-12-23 08:24:18 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
Bash command-line completion support for %{name}.
|
|
|
|
|
2024-08-26 07:18:26 +00:00
|
|
|
%package zsh-completion
|
|
|
|
Summary: Zsh Completion for %{name}
|
|
|
|
Supplements: (%{name} and zsh)
|
2024-09-03 15:16:57 +00:00
|
|
|
Requires: fastfetch
|
2024-08-26 07:18:26 +00:00
|
|
|
Requires: zsh
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description zsh-completion
|
|
|
|
Zsh command-line completion support for %{name}.
|
|
|
|
|
2022-12-08 07:51:53 +00:00
|
|
|
%prep
|
2024-06-19 14:39:54 +00:00
|
|
|
%autosetup
|
2022-12-08 07:51:53 +00:00
|
|
|
|
|
|
|
%build
|
2024-12-26 14:07:38 +00:00
|
|
|
%cmake -DBUILD_FLASHFETCH:BOOL=FALSE
|
2022-12-08 07:51:53 +00:00
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%{_bindir}/%{name}
|
2023-12-23 08:27:21 +00:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2022-12-08 07:51:53 +00:00
|
|
|
%{_datadir}/%{name}/
|
2023-12-23 08:24:18 +00:00
|
|
|
|
|
|
|
%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
|
2022-12-08 07:51:53 +00:00
|
|
|
|
2024-08-26 07:18:26 +00:00
|
|
|
%files zsh-completion
|
|
|
|
%dir %{_datadir}/zsh
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_fastfetch
|
|
|
|
|
2022-12-08 07:51:53 +00:00
|
|
|
%changelog
|