mirror of
https://abf.rosa.ru/djam/fastfetch.git
synced 2025-02-23 10:32:57 +00:00
2.17.0
This commit is contained in:
parent
3fd07915e7
commit
2dcd55868b
2 changed files with 21 additions and 3 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
fastfetch-2.16.0.tar.gz: 88fc0b0daf5db5e32d01d061d7e25ddb17d9afbf
|
||||
fastfetch-2.17.0.tar.gz: bbbefb51525ee031e41f15f5f32abd760b51bdba
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
%define secscan 1
|
||||
|
||||
Name: fastfetch
|
||||
Version: 2.16.0
|
||||
Version: 2.17.0
|
||||
Release: 1
|
||||
Summary: Like neofetch, but much faster because written in c
|
||||
Group: Development/Other
|
||||
|
@ -46,6 +48,11 @@ Recommends: lib64opencl1
|
|||
Recommends: chafa
|
||||
Recommends: ddcutil
|
||||
|
||||
%if %{secscan}
|
||||
BuildRequires: clamav
|
||||
BuildRequires: trivy
|
||||
%endif
|
||||
|
||||
%description
|
||||
fastfetch is a neofetch-like tool for fetching system information and
|
||||
displaying them in a pretty way. It is written in c to achieve much better
|
||||
|
@ -74,6 +81,11 @@ BuildArch: noarch
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir .
|
||||
trivy fs --scanners vuln --format cosign-vuln .
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
%if %{mdvver} <= 201610
|
||||
|
@ -102,3 +114,9 @@ rm -rf %{buildroot}%{_datadir}/licenses/fastfetch/LICENSE
|
|||
|
||||
%files fish-completion
|
||||
%{_datadir}/fish/vendor_completions.d/fastfetch.fish
|
||||
|
||||
|
||||
%check
|
||||
%if %{secscan}
|
||||
clamscan -ir %{buildroot}
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue