mirror of
https://github.com/shizand/altlinux-specs.git
synced 2024-12-24 02:02:58 +03:00
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
%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
|