.gear/glances.spec | 125 +++++++++++++++++++++ .gear/rules | 3 + .../tags/5eaedfe42379df757e72021c3a53705ff70aeb73 | 6 + .gear/tags/list | 1 + .gear/upstream/remotes | 3 + setup.py | 2 + 6 files changed, 140 insertions(+) diff --git a/.gear/glances.spec b/.gear/glances.spec new file mode 100644 index 00000000..71909acf --- /dev/null +++ b/.gear/glances.spec @@ -0,0 +1,125 @@ +%define _unpackaged_files_terminate_build 1 + +Name: glances +Version: 3.4.0.3 +Release: alt1 + +Summary: CLI curses based monitoring tool +License: GPLv3 +Group: Monitoring +Url: https://github.com/nicolargo/glances +BuildArch: noarch + +Source: %name-%version.tar +Patch0: %name-%version-alt.patch + +Requires: python3-module-%name = %EVR + +#skip findreq for optional dependencies from exports +%add_findreq_skiplist %python3_sitelibdir/%name/exports/*.py + +BuildRequires(pre): rpm-build-python3 +BuildRequires: python3-module-setuptools +BuildRequires: python3-module-wheel +BuildRequires: python3-module-defusedxml +BuildRequires: python3-module-dateutil +BuildRequires: python3-module-ujson +BuildRequires: python3-module-psutil +BuildRequires: /proc + + +%description +Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD. + +Glances uses the PsUtil library to get information from your system. + +%package -n python3-module-%name +Summary: CLI curses based monitoring tool +Group: Development/Python3 +Requires: python3(defusedxml.xmlrpc) + +%description -n python3-module-%name +Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD. + +Glances uses the PsUtil library to get information from your system. + +%prep +%setup + +%patch0 -p1 + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%__python3 setup.py test + +%files +%doc AUTHORS COPYING README.rst NEWS.rst +%_bindir/glances +%_man1dir/glances.1* +%_docdir/glances/ + +%files -n python3-module-%name +%python3_sitelibdir/glances +%python3_sitelibdir/Glances-%version.dist-info + +%changelog +* Wed May 24 2023 Egor Ignatov 3.4.0.3-alt1 +- new version 3.4.0.3 + +* Fri Mar 03 2023 Egor Ignatov 3.3.1.1-alt1 +- new version 3.3.1.1 + +* Sun Nov 06 2022 Egor Ignatov 3.3.0.4-alt1 +- new version 3.3.0.4 + +* Sun Oct 30 2022 Egor Ignatov 3.3.0.2-alt1 +- new version 3.3.0.2 + +* Tue Oct 18 2022 Egor Ignatov 3.3.0.1-alt1 +- new version 3.3.0.1 + +* Fri Jul 29 2022 Egor Ignatov 3.2.7-alt1 +- new version 3.2.7 + +* Mon Jun 20 2022 Egor Ignatov 3.2.6.4-alt2 +- remove 'future' and 'packaging' dependencies (9b9a7862) + + future is python2 only dependency + + packaging is optional and used to check for updates + +* Tue May 31 2022 Egor Ignatov 3.2.6.4-alt1 +- new version 3.2.6.4 + +* Wed May 25 2022 Egor Ignatov 3.2.6.1-alt1 +- new version 3.2.6.1 + +* Mon Apr 11 2022 Egor Ignatov 3.2.5-alt1 +- new version 3.2.5 + +* Wed Dec 01 2021 Egor Ignatov 3.2.4.2-alt1 +- new version + +* Wed Aug 25 2021 Egor Ignatov 3.2.3.1-alt1 +- new version + +* Tue Aug 17 2021 Egor Ignatov 3.2.3-alt1 +- new version + +* Fri Jul 09 2021 Egor Ignatov 3.2.0-alt1 +- new version + +* Fri May 14 2021 Egor Ignatov 3.1.7-alt1 +- new version + +* Mon Apr 26 2021 Egor Ignatov 3.1.6-alt1 +- new version + +* Fri Dec 20 2019 Andrey Bychkov 2.11.1-alt2 +- build for python2 disabled + +* Wed Oct 11 2017 Gleb F-Malinovskiy 2.11.1-alt1 +- Initial build. diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 00000000..168047ea --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +spec: .gear/glances.spec +tar: v@version@:. +diff: v@version@:. . name=@name@-@version@-alt.patch diff --git a/.gear/tags/5eaedfe42379df757e72021c3a53705ff70aeb73 b/.gear/tags/5eaedfe42379df757e72021c3a53705ff70aeb73 new file mode 100644 index 00000000..e922bfe2 --- /dev/null +++ b/.gear/tags/5eaedfe42379df757e72021c3a53705ff70aeb73 @@ -0,0 +1,6 @@ +object 1470cd9f6365cbaa95a7475eee226bdb09800b02 +type commit +tag v3.4.0.3 +tagger nicolargo 1684594104 +0200 + +version 3.4.0.3 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 00000000..e81f5058 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +5eaedfe42379df757e72021c3a53705ff70aeb73 v3.4.0.3 diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes new file mode 100644 index 00000000..f18e1be0 --- /dev/null +++ b/.gear/upstream/remotes @@ -0,0 +1,3 @@ +[remote "upstream"] + url = https://github.com/nicolargo/glances + fetch = +refs/heads/*:refs/remotes/upstream/* diff --git a/setup.py b/setup.py index 1c951a00..f80b90e6 100755 --- a/setup.py +++ b/setup.py @@ -54,6 +54,8 @@ def get_install_requires(): if sys.platform.startswith('win'): requires.append('bottle') requires.append('requests') + if PY2: + requires.append('future') return requires