2022-12-08 08:51:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package fastfetch
|
|
|
|
#
|
2024-01-28 11:17:36 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2022-12-08 08:51:53 +01: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
|
- update to 2.17.1
Bugfixes:
* Don't generate and install libffwinrt.dll.a on MinGW (Windows)
* Fix building on Windows when imagemagick support is enabled (Logo, Windows)
* Don't print GPU frequency with --gpu-temp for Nvidia cards (#1052, GPU)
- --gpu-driver-specific needs to be specified
* Print formatted size when --gpu-format is used (#1052, GPU)
* Ignore QVariant format; fix unreadable Qt font (#1053, Theme, Linux)
* Fix segfaults with --show-errors and an invalid module (#1055)
- update to 2.17.0
Changes:
* CMake option ENABLE_PROPRIETARY_GPU_DRIVER_API is removed. The GPU driver APIs
are now enabled by default.
- The option was introduced to reduce the license concerns. Since all non MIT
proprietary code has been rewritten manually from scratch, it is no longer necessary.
- See #533 (comment) for detail
* Option --logo-separate true is changed to --logo-position top for better readability
- Builtin ascii logos can be positioned on the right side now with --logo-position right
Features:
* Add support for --gpu-detection-method opencl which uses OpenCL to detect GPUs.
* Support detecting CPU cache size by using SMBIOS as fallback (CPUCache)
* Support GPU detection (SunOS)
* Support GPU type detection with AMD GPU driver (GPU, Windows)
* Add fast path of version and font detection for kitty (Terminal / TerminalFont)
* Make sure stdin and stdout are TTYs when querying terminal
- So modules like TerminalSize should work when stdin or stdout is redirected
* Support argument truncation in --<module>-format (#1043)
- See fastfetch --help format for detail
* Improve Qt theme detection (#1047, Theme, Linux)
* Add new JSON config option general.preRun, which is executed before fastfetch prints output.
- It can be used to generate a temp logo file. For example
Bugfixes:
* Fix invalid path (#1031, LM, Linux)
* Fix VMEM detection for Nvidia GPU (requires --gpu-driver-specific) (GPU)
* Fix AMD --gpu-driver-specific for AMD cards (#1032, GPU, Windows)
* Use Coordinated Universal Time rather than timezone-varying local date (#1046)
Logo:
* Fix colors of Asahi Linux
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=82
2024-06-29 06:15:37 +02:00
|
|
|
Version: 2.17.1
|
2022-12-08 08:51:53 +01:00
|
|
|
Release: 0
|
2024-02-12 18:24:10 +01:00
|
|
|
Summary: Neofetch-like tool written mostly in C
|
2022-12-08 08:51:53 +01:00
|
|
|
License: MIT
|
2024-02-12 18:24:10 +01: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 08:51:53 +01:00
|
|
|
BuildRequires: Mesa-devel
|
|
|
|
BuildRequires: cmake
|
2023-10-30 08:43:53 +01:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2023-01-23 16:36:04 +01:00
|
|
|
BuildRequires: opencl-headers
|
2022-12-08 08:51:53 +01:00
|
|
|
BuildRequires: vulkan-headers
|
2024-06-19 16:39:54 +02:00
|
|
|
# For some reason these don't build on Leap
|
2024-06-07 22:31:12 +02:00
|
|
|
%if 0%{?suse_version} > 1600
|
2024-06-07 22:34:21 +02:00
|
|
|
%ifarch %{ix86} x86_64
|
2024-06-07 21:40:53 +02:00
|
|
|
BuildRequires: pkgconfig(DirectX-Headers)
|
2024-06-07 22:31:12 +02:00
|
|
|
%endif
|
|
|
|
%endif
|
2022-12-08 08:51:53 +01:00
|
|
|
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
|
2023-11-22 06:12:16 +01:00
|
|
|
Fastfetch is a neofetch-like tool for fetching system information and
|
2024-02-12 18:24:10 +01:00
|
|
|
displaying them in a pretty way. It is written mainly in C, with performance and
|
2023-11-22 06:12:16 +01:00
|
|
|
customizability in mind. Currently Linux, Android, FreeBSD,
|
2022-12-08 08:51:53 +01:00
|
|
|
MacOS and Windows 7+ are supported.
|
|
|
|
|
2023-12-23 09:24:18 +01:00
|
|
|
%package fish-completion
|
|
|
|
Summary: Fish Completion for %{name}
|
|
|
|
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}
|
|
|
|
Supplements: (%{name} and bash-completion)
|
|
|
|
Requires: bash-completion
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
Bash command-line completion support for %{name}.
|
|
|
|
|
2022-12-08 08:51:53 +01:00
|
|
|
%prep
|
2024-06-19 16:39:54 +02:00
|
|
|
%autosetup
|
2022-12-08 08:51:53 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%{_bindir}/flashfetch
|
|
|
|
%{_bindir}/%{name}
|
2023-12-23 09:27:21 +01:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2022-12-08 08:51:53 +01:00
|
|
|
%{_datadir}/%{name}/
|
2023-12-23 09:24:18 +01: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 08:51:53 +01:00
|
|
|
|
|
|
|
%changelog
|