btop/btop.spec
Scott Bradnick 5d7bf04b97 - Update to version 1.2.13+git20221106.0f8498f:
* v1.2.13 Bug fixes
  * osx: replace getnameinfo with inet_ntop
  * a comment about AF_LINK being ignored on purpose
  * FreeBSD: replace getnameinfo with inet_ntop
  * Fixed: Process nice value underflowing, issue #461
  * Add git config safe-directory inside freebsd vm
  * OSX: use the first IP of the interface
  * Added "Continuous Build FreeBSD" badge
  * Removed bad line and gcc12 install since gcc12 i preinstalled
  * Possible fix for broken xcode command line tools
  * Use gcc12 for macos12
  * FreeBSD: use the first IP of the interface
  * Use sh instead of csh
  * Update continuous-build-freebsd.yml
  * Update continuous-build-macos.yml
  * Create continuous-build-freebsd.yml
  *  Add actions run for pull requests (macos) [skip actions]
  * Add actions run for pull requests (linux) [skip actions]
  * Fixed: Not picking up last username from /etc/passwd
  * make IPBUFFER_MAXSIZE an enum constant
  * use inet_ntop instead of getnameinfo
  * Show the first IP of the interface in NET box
  * Address comment
  * Fix bug in proc_tree view when showing full cmd
  * proc tree: fix width threshold to match commit message and use and/or instead of &&, ||
  * proc tree view: if there's more than 40 width left, try to print full cmd
  *  macOS Ventura compile instructions
  * macOS Ventura compile instructions
  * Added autodetection for gcc12 to make compiling on macos Ventura easier.

OBS-URL: https://build.opensuse.org/package/show/Base:System/btop?expand=0&rev=40
2022-11-22 18:52:12 +00:00

67 lines
1.9 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.13+git20221106.0f8498f
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
%{_bindir}/btop
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/themes
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/48x48/apps
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/%{name}/README.md
%{_datadir}/%{name}/themes/*.theme
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%license LICENSE
%doc CHANGELOG.md
%changelog