d56d65f518
Changes: * The long deprecated flag based config files are removed. - They can still be used with xargs fastfetch < /path/to/config.conf - --gen-config can be used to migrate them to json based config files * The long deprecated options --set and --set-keyless are removed. * Kernel module now prints kernel name by default Features: * Support st terminal font detection for font configuration compiled in st binary (TerminalFont, Linux) * Add option --color-output to change output color of all modules except Title, Separator display.color.output in JSONC config file * Add option --<module>-output-color to change output color of one specified module, which overrides the global option --color-output * Add option --publicip-ipv6 to print IPv6 address (PublicIP) * Add new module Loadavg to print load averages (Loadavg) * Add new module PhysicalMemory to print information of physical memory devices (PhysicalMemory) Requires root permission to work on Linux and FreeBSD * Support specifying --logo-width only for --kitty-direct and --iterm (Logo) * Add option --localip-show-all-ips to show all IPs assigned to the same interface (LocalIP) Default to false * Add --cpu-show-pe-core-count to detect and display core count for performance / efficiency cores (CPU) * Add new module Bootmgr which prints information of stage 2 bootloader (grub, system-boot, etc) - Requires booting in UEFI mode * Detect core count for performance / efficiency cores (CPU) - Test it with fastfetch --cpu-show-pe-core-count * Detect DRM driver version if DRM detection method is used (GPU, Linux) Bugfixes: * Rename option --temperature-unit to --temp-unit as documented in help messages * Fix alternate logo doesn't work with { "type": "builtin" } (Logo) * Don't detect clifm and valgrind as a terminal (Terminal, Linux) OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=69
117 lines
3.3 KiB
RPMSpec
117 lines
3.3 KiB
RPMSpec
#
|
|
# 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
|
|
Version: 2.13.1
|
|
Release: 0
|
|
Summary: Neofetch-like tool written mostly in C
|
|
License: MIT
|
|
Group: Productivity/Text/Utilities
|
|
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
|
|
BuildRequires: pkgconfig(ImageMagick)
|
|
BuildRequires: pkgconfig(chafa)
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
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}
|
|
Group: System/Shells
|
|
Supplements: (%{name} and fish)
|
|
Requires: fish
|
|
BuildArch: noarch
|
|
|
|
%description fish-completion
|
|
Fish command-line completion support for %{name}.
|
|
|
|
%package bash-completion
|
|
Summary: Bash Completion for %{name}
|
|
Group: System/Shells
|
|
Supplements: (%{name} and bash-completion)
|
|
Requires: bash-completion
|
|
BuildArch: noarch
|
|
|
|
%description bash-completion
|
|
Bash command-line completion support for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash
|
|
sed -i "s|\#\!\/usr\/bin\/env fish||g" completions/fish
|
|
|
|
%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
|
|
|
|
%changelog
|