altlinux-specs/statapp/statapp.spec

72 lines
2.2 KiB
RPMSpec
Raw Normal View History

2023-10-08 13:51:18 +03:00
%define pypi_name statapp
%def_without check
Name: statapp
2023-10-21 11:57:14 +03:00
Version: 0.6.0
Release: alt1
2023-10-08 15:33:02 +03:00
Vendor: Shizand
2023-10-08 13:51:18 +03:00
Summary: Automated software for statistical analysis and regression modeling
Summary(ru_RU.UTF-8): Автоматизированное программное средство по статистическому анализу и регрессионному моделированию.
License: GPL-3.0
2023-10-08 15:33:02 +03:00
Group: Sciences/Mathematics
2023-10-08 13:51:18 +03:00
Url: https://github.com/shizand/statapp
2023-10-08 15:33:02 +03:00
# Source-url: https://github.com/shizand/statapp/archive/refs/tags/v%version.tar.gz
2023-10-08 13:51:18 +03:00
Source: %pypi_name-%version.tar
2023-10-08 15:33:02 +03:00
Source1: statapp
2023-10-08 13:51:18 +03:00
BuildArch: noarch
Packager: Maxim Slipenko <maxim@slipenko.com>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
BuildRequires: python3-module-poetry
%description
Automated software tool for statistical analysis
and regression modeling. He is the ideological successor of the program
STAT.exe (Produced by Reutov V.N., Donetsk University, 1990)
Developed by two students of the DonNTU for their university.
%description -l ru_RU.UTF8
Автоматизированное программное средство по статистическому анализу
и регрессионному моделированию. Является идейным продолжателем программы
STAT.exe (Produced by Reutov V.N., Donetsk University, 1990)
Разработано двумя студентами ФГБОУ ВО «ДонНТУ» для своего университета.
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
2023-10-08 15:33:02 +03:00
install -m755 -D %SOURCE1 %buildroot%_bindir/statapp
2023-10-08 13:51:18 +03:00
%check
#%%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md
2023-10-08 15:33:02 +03:00
%_bindir/statapp
2023-10-08 13:51:18 +03:00
%python3_sitelibdir_noarch/%pypi_name/
%python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name}
%exclude %python3_sitelibdir_noarch/%pypi_name/**/*.ui
%changelog
2023-10-21 11:57:14 +03:00
* Sat Oct 21 2023 Maxim Slipenko <maxim@slipenko.com> 0.6.0-alt1
- new version
2023-10-08 15:33:02 +03:00
* Sun Oct 08 2023 Maxim Slipenko <maxim@slipenko.com> 0.5.0-alt2
- Add /usr/bin/statapp
2023-10-08 13:51:18 +03:00
* Sat Oct 08 2023 Maxim Slipenko <maxim@slipenko.com> 0.5.0-alt1
- Initial build