## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} Name: stats-collect Version: 1.0.16 Release: %autorelease Summary: A tool for collecting and visualising system statistics and telemetry License: BSD-3-Clause Url: https://github.com/intel/stats-collect Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{ix86} x86_64 noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: web-assets-devel Provides: bundled(lit) = 2.2.8 Requires: web-assets-filesystem %description The Statistics Collection Tool project provides the 'stats-collect' command-line tool. This tool collects system statistics and telemetry, and visualizes them. It’s for debugging and tracing purposes only. %prep %autosetup %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files statscollectlibs statscollecttools install -pDm644 docs/man1/stats-collect.1 %{buildroot}/%{_mandir}/man1/stats-collect.1 %check STATS_COLLECT_WEB_ASSETS_PATH=%{buildroot}%{_jsdir}/%{name} STATS_COLLECT_DATA_PATH=%{buildroot}%{_datadir}/%{name} %pytest -v %files -n %{name} -f %{pyproject_files} %license js/dist/main.js.LICENSE.txt %doc CHANGELOG.md CODE_OF_CONDUCT.md README.md security.md %{_bindir}/ipmi-helper %{_bindir}/stats-collect %{_bindir}/stc-agent %{_datadir}/%{name} %{_jsdir}/%{name} %{_mandir}/man1/stats-collect.1* %changelog * Thu Aug 24 2023 Ali Erdinc Koroglu - 1.0.16-1 - update to 1.0.16 * Sat Jul 22 2023 Fedora Release Engineering - 1.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Python Maint - 1.0.7-2 - Rebuilt for Python 3.12 * Wed Jun 28 2023 Ali Erdinc Koroglu - 1.0.7-1 - update to 1.0.7 * Tue Jun 13 2023 Ali Erdinc Koroglu - 1.0.6-3 - circular dep fix * Tue Jun 13 2023 Ali Erdinc Koroglu - 1.0.6-2 - add missing code_of_conduct.md * Mon Jun 12 2023 Ali Erdinc Koroglu - 1.0.6-1 - 1st release