Name: baler Version: 1.4.0 Release: 1%{?dist} Summary: Machine learning based data compression tool License: Apache-2.0 URL: https://github.com/baler-collaboration/baler Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Backported from upstream: Patch0: 0001-removed-all-profiling-364.patch Patch1: 0001-Updated-python-version-limits.patch # https://github.com/baler-collaboration/baler/pull/371 Patch2: 0001-Drop-maximum-Python-version-constraint.patch BuildArch: noarch # torch and scikit-learn not available for ix86 ExcludeArch: %{ix86} BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3dist(poetry-core) BuildRequires: python3dist(pytest) BuildRequires: python3dist(torch) BuildRequires: python3dist(tqdm) BuildRequires: python3dist(matplotlib) BuildRequires: python3dist(scikit-learn) BuildRequires: python3dist(numpy) %description Baler is a tool used to test the feasibility of compressing different types of scientific data using machine learning-based auto-encoders. Baler provides you with an easy way to: 1. Train a machine learning model on your data 2. Compress your data with that model. This will also save the compressed file and model 3. Decompress the file using the model at a later time 4. Plot the performance of the compression/decompression %package -n python%{python3_pkgversion}-%{name} %py_provides python%{python3_pkgversion}-%{name} Summary: Machine learning based data compression tool %description -n python%{python3_pkgversion}-%{name} Baler is a tool used to test the feasibility of compressing different types of scientific data using machine learning-based auto-encoders. Baler provides you with an easy way to: 1. Train a machine learning model on your data 2. Compress your data with that model. This will also save the compressed file and model 3. Decompress the file using the model at a later time 4. Plot the performance of the compression/decompression %prep %autosetup -p1 %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} %check %pytest %files -n python%{python3_pkgversion}-%{name} -f %{pyproject_files} %{_bindir}/%{name} %license LICENSE NOTICE %doc README.md %changelog * Wed Mar 27 2024 Mattias Ellert - 1.4.0-1 - First build for Fedora