Accepting request 802513 from home:mnhauke

Initial package for bottom

OBS-URL: https://build.opensuse.org/request/show/802513
OBS-URL: https://build.opensuse.org/package/show/utilities/bottom?expand=0&rev=1
This commit is contained in:
Michael Vetter 2020-05-11 07:00:19 +00:00 committed by Git OBS Bridge
commit d492f46ca4
6 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
bottom-0.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b935f36ef21472b2b2cce4fc9fd3fc7ca83f21f6985063f54e155b7743bae5a1
size 2846657

4
bottom.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat May 9 19:17:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.4.1

58
bottom.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package bottom
#
# 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.4.1
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 .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

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf6815076e87a134be7bcaa51f8d45b3a04f9d8328830a44279fd784864c53db
size 9100660