altlinux-specs/statapp/statapp.spec

69 lines
2.1 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%define pypi_name statapp
%def_without check
Name: statapp
Version: 0.5.0
Release: alt2
Vendor: Shizand
Summary: Automated software for statistical analysis and regression modeling
Summary(ru_RU.UTF-8): Автоматизированное программное средство по статистическому анализу и регрессионному моделированию.
License: GPL-3.0
Group: Sciences/Mathematics
Url: https://github.com/shizand/statapp
# Source-url: https://github.com/shizand/statapp/archive/refs/tags/v%version.tar.gz
Source: %pypi_name-%version.tar
Source1: statapp
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
install -m755 -D %SOURCE1 %buildroot%_bindir/statapp
%check
#%%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md
%_bindir/statapp
%python3_sitelibdir_noarch/%pypi_name/
%python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name}
%exclude %python3_sitelibdir_noarch/%pypi_name/**/*.ui
%changelog
* Sun Oct 08 2023 Maxim Slipenko <maxim@slipenko.com> 0.5.0-alt2
- Add /usr/bin/statapp
* Sat Oct 08 2023 Maxim Slipenko <maxim@slipenko.com> 0.5.0-alt1
- Initial build