Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3:Update
python-glances
python-glances.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-glances.spec of Package python-glances
# # spec file for package python-glances # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, 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 http://bugs.opensuse.org/ # %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-glances Version: 3.1.0 Release: 0 Summary: A curses-based monitoring tool License: LGPL-3.0-only Group: Development/Languages/Python URL: https://nicolargo.github.io/glances/ Source: https://files.pythonhosted.org/packages/source/G/Glances/Glances-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes Requires: python-curses Requires: python-psutil >= 2.0.0 Suggests: hddtemp Suggests: python-batinfo Suggests: python-bottle Suggests: python-matplotlib Suggests: python-netifaces Suggests: python-py3sensors Suggests: python-pysnmp Suggests: python-zeroconf >= 0.16 Suggests: sensors Provides: glances BuildArch: noarch %python_subpackages %description Glances is a curses-based monitoring tool. Glances uses the PsUtil library to get information from your system. It monitors CPU, load, memory, network bandwidth, disk I/O, disk use, process. %prep %setup -q -n Glances-%{version} #drop shebang sed -i -e '/^#!\//, 1d' glances/__main__.py %build %python_build %install %python_install install -d %{buildroot}%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/doc/glances %{buildroot}%{_docdir}/%{name} install -Dm0644 conf/glances.conf %{buildroot}%{_sysconfdir}/glances/glances.conf rm %{buildroot}/%{_docdir}/%{name}/glances -Rf %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license COPYING %doc AUTHORS NEWS README.rst %python3_only %{_bindir}/glances %{_mandir}/man1/glances.1%{?ext_man} %dir %{_sysconfdir}/glances %config %{_sysconfdir}/glances/glances.conf %{python_sitelib}/glances %{python_sitelib}/Glances-*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor