5983198361
- update to 2.2.3: * Update the latest mac models (Host, macOS) * Fix terminal detection on NixOS (Terminal) * `--percent-type` now defaults to 9 (colored percentage numbers) * `fastfetch` now prints LocalIp module by default * Features: * LocalIP module now prints netmask in CIDR format for IPv4 * Bios module now detects system firmware type (Bios) * Improve detection of `Battery` * Detect cycle count on supported platforms * Detect temperature on Linux when supported * Status detection on macOS has been adjusted to be consistant with other platforms * Linux binaries are built with imagemagick7 support * Update NixOS_small * Hotfix release for #606 * Fix broken presets due to the breaking changes introduced in * Features: * Pretty print `fastfetch --help` * This release introduces a new option `--migrate-config`, which migrates old flag based config file to new JSONC format * Changes: * `--pipe` and `--stat` are moved from `general` options to `display` options. This affects cjson configuration. * Display keys `percent*` and `size*` in JSON config are restructured. e.g. `{ "sizeNdigits": 1 }` is now `{ "size": { "ndigits": 1 } }` * With the introduction of `--migrate-config`, the old flag based config file is deprecated, and will be removed in 3.0.0 OBS-URL: https://build.opensuse.org/request/show/1127946 OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=27
87 lines
2.5 KiB
RPMSpec
87 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package fastfetch
|
|
#
|
|
# Copyright (c) 2023 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.2.3
|
|
Release: 0
|
|
Summary: Neofetch-like tool written in C
|
|
License: MIT
|
|
Group: Productivity/Text/Utilities
|
|
URL: https://github.com/LinusDierheimer/fastfetch
|
|
Source: https://github.com/LinusDierheimer/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(libpci)
|
|
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 in pure c, with performance and
|
|
customizability in mind. Currently Linux, Android, FreeBSD,
|
|
MacOS and Windows 7+ are supported.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md CHANGELOG.md
|
|
%{_bindir}/flashfetch
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/bash-completion/
|
|
|
|
%changelog
|