bottom/bottom.spec
Michael Vetter 045405857d Accepting request 851544 from home:mnhauke
- Update to version 0.5.3
  * Fixes custom battery colour levels being inverted.
- Update to version 0.5.2
  * Fixes hide_avg_cpu being inverted in config files.
- Update to version 0.5.1
  * Patch for some bugs that were spotted in the 0.5.0 release.
- Update to version 0.5.0
  Features
  * Adaptive network graphs: the network widget's y-axis will now
    adjust based on your current usage.
  * Mouse support for tables and moving to widgets.
  * The ability to hide specific temperature and disk entries
    via config.
  * Added a tree mode, you can access this with the t key.
  * A simple indicator for when data updating is frozen.
  * Built-in colour themes.
  Changes
  * Updated help descriptions, added auto-complete generation.
  * Changed how we do battery theming. We now only set high,
    medium, and low colours and we deal with the ratios.
  Bug Fixes
  * Fixes a bug where you could move down in the process widget
    even if the process widget search was closed.
  * Add labels to Linux temperature values.
  * Implements sorting by count. It previously did absolutely
    nothing.
  * Fix being able to cause an index out-of-bounds by resizing to
    a smaller terminal just after the program got the terminal
    size, but right before the terminal started drawing.
  * Fixed not clearing screen before drawing, which caused issues

OBS-URL: https://build.opensuse.org/request/show/851544
OBS-URL: https://build.opensuse.org/package/show/utilities/bottom?expand=0&rev=9
2020-12-02 09:14:32 +00:00

60 lines
1.7 KiB
RPMSpec

#
# spec file for package bottom
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# 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: bottom
Version: 0.5.3
Release: 0
Summary: Yet another graphical process/system monitor
License: MIT
Group: System/Monitoring
URL: https://github.com/ClementTsang/bottom
Source: https://github.com/ClementTsang/bottom/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
BuildRequires: cargo
BuildRequires: rust
%description
A cross-platform graphical process/system monitor with a
customizable interface and a multitude of features.
%prep
%setup -qa1
mkdir -p .cargo
cat >.cargo/config <<EOF
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources'
[source.vendored-sources]
directory = './vendor'
EOF
%build
cargo build --release --locked %{?_smp_mflags}
%install
cargo install --no-track --root=%{buildroot}%{_prefix} --path .
%files
%license LICENSE
%doc CHANGELOG.md README.md
%doc sample_configs/*
%{_bindir}/btm
%changelog