fastfetch/fastfetch.spec

84 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fastfetch
#
- Update to version 1.8.2. Changes since then to this version: * 1.8.2: - Fix memleaks Users module (Windows) - Fix shell detection when installed with scoop (Windows) - Don't use libcJSON as wlanapi's dll name (Windows) - Align artifact names to other platforms (Windows) * 1.8.1: - Bios / Board / Chassis modules are splitted against Host module for performance reasons - Caching is removed. Option --nocache is removed accordingly - Windows (7 and newer) is officially and fully supported - FreeBSD support is improved greatly (Bios, Cpu Temp, Cpu Usage, Disk, Host, Processes, Swap, Terminal / Shell, Uptime) - Adds a new flag --stat, which prints time usage for individual modules - Adds Wifi module which supports Windows and macOS - Adds data source option for logo printing - Detects Homebrew Cellar and Cask seperately - Detects WSL version - Detects disk based on mount point - Exposes more chafa configs - Improves performance for Cpu Usage, Public IP, Weather modules - Improves performance for Kitty image protocol when both image width / height specified - Improves performance for large file loading - Improves performance for macOS WM and Host detection - Improves shell and terminal detection on macOS - Supports Deepin Terminal terminal font - Supports GPU detection on Android - Supports Kitty Terminal terminal font - Supports bar output for percentage values - Supports Bios module on macOS - Supports eopkg package manager detection - Supports iTerm image logo protocol - Supports image logo printing on macOS - Supports tcsh version detection - Vulkan module on macOS no longer requires vulkan-loader to work - Fixes disk size detection on 32bit Linux (#337) - Fixes cpu freq detection in WSL - Fixes internal bug of FFstrbuf - Fixes some memory leaks - Fixes segfault if 0 is given as argument index - Lots of code refactors - Added new logos: * Alpine * CRUX * EndeavourOS * Enso * Garuda small * Nobara * OpenMandriva * Parabola GNU/Linux-libre * Rocky * Rosa * Solus * Univalent * Vanilla OS OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=3
2023-01-18 03:51:03 +01:00
# 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
- Update to version 2.1.2. Changes listed after 2.0.5: # 2.1.2 Bugfixes: * Fix icon detection on Windows. It shows enabled system icons in desktop (`This PC`, `Recycle Bin`, etc) (Icon, Windows) * Fix compatibility with ddcutil 2.0 (Brightness, Linux) * Fix a compile warning (CPUUsage, FreeBSD) # 2.1.1 Features: * Support opkg (Packages, Linux) * Support GNOME Console terminal version and font detection (Terminal, Linux) * Add `--cpu-freq-ndigits` to set number of digits for CPU frequency (CPU) * New module to detect physical disk I/O usage (DiskIO) * Add `--cpuusage-separate` to display CPU usage per CPU logical core * Add `--brightness-ddcci-sleep` to set the sleep times (in ms) when sending DDC/CI requests (Brightness, #580) Bugfixes: * Fix possible crashes on Windows 7 (Disk, Windows) * Fix possible crashes caused by uninitialized strings (Users, Windows) * Improve support of `--help *-format` and several bugs are found and fixed * Don't incorrectly print `No active sound devices found` when using a non-controllable sound device (Sound, macOS) * Fix implementation processes counting (Processes, Linux) * Work around a issue that SSID cannot be detected on macOS Sonoma (Wifi, macOS) Logo: * Add Chimera Linux * Add EndeavourSmall * Add Xenia # 2.1.0 This release introduces a new output format: JSON result Changes: * Users module detects and prints user login time by default. Specifying `--users-compact` to disable it * Fastfetch now requires yyjson 0.8.0 or later, which is embeded in fastfetch source tree. If you build fastfetch with `-DENABLE_SYSTEM_YYJSON` cmake option, you must upgrade your yyjson package OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=24
2023-10-30 08:40:21 +01:00
Version: 2.1.2
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: 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