1
0
forked from pool/btop
btop/btop.spec
Scott Bradnick 1600a3c323 Accepting request 980161 from home:sbradnick
- Update to version 1.2.7+git20220528.c3eb02f:
  * v1.2.7 Bug fixes & new features
  * Fixed: Net sync scale bug
  * Added tokyo-night & tokyo-storm theme

- Update to version 1.2.6+git20220516.c257938:
  * Fix makefile to install to /usr/local instead of /usr
  * Update makefile to install/remove icons and desktop entry
  * Add desktop icon svg and png
  * Add btop.desktop
  * Added: Case insensitive process filtering

OBS-URL: https://build.opensuse.org/request/show/980161
OBS-URL: https://build.opensuse.org/package/show/Base:System/btop?expand=0&rev=28
2022-05-31 19:52:12 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package btop
#
# Copyright (c) 2022 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: btop
Version: 1.2.7+git20220528.c3eb02f
Release: 0
Summary: Usage and stats for processor, memory, disks, network and processes
License: Apache-2.0
Group: System/Monitoring
URL: https://github.com/aristocratos/btop
Source: %{name}-%{version}.tar.gz
BuildRequires: coreutils
%if 0%{?suse_version} < 1550
%define cxxopt CXX=g++-10
BuildRequires: gcc10-c++
%else
%define cxxopt %{nil}
BuildRequires: gcc-c++ >= 11
%endif
BuildRequires: sed
%description
Resource monitor that shows usage and stats for processor, memory, disks, network and processes. C++ version and continuation of bashtop and bpytop.
%prep
%setup -q
%build
%make_build %{cxxopt}
%install
%make_install PREFIX=/usr
%files
/usr/bin/btop
%dir %{_datarootdir}/%{name}
%dir %{_datarootdir}/%{name}/themes
%dir %{_datarootdir}/icons/hicolor
%dir %{_datarootdir}/icons/hicolor/48x48
%dir %{_datarootdir}/icons/hicolor/48x48/apps
%dir %{_datarootdir}/icons/hicolor/scalable
%dir %{_datarootdir}/icons/hicolor/scalable/apps
%{_datarootdir}/%{name}/README.md
%{_datarootdir}/%{name}/themes/*.theme
%{_datarootdir}/applications/%{name}.desktop
%{_datarootdir}/icons/hicolor/48x48/apps/%{name}.png
%{_datarootdir}/icons/hicolor/scalable/apps/%{name}.svg
%license LICENSE
%doc CHANGELOG.md
%changelog