File zenith.spec of Package zenith
#
# spec file for package zenith
#
# 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: zenith
Version: 0.14.2+git.ac3565d
Release: 0
Summary: Sort of like top or htop but with zoom-able charts
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: MIT
URL: https://github.com/bvaisvil/zenith
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: clang
%description
In terminal graphical metrics for your *nix system written in Rust.
%prep
%autosetup -a1
rm .cargo/config
%build
%{make_build}
%install
%{make_install} PREFIX=%{_prefix}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/zenith.desktop
%{_datadir}/pixmaps/zenith.png
%changelog