## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 Name: shybrid Version: 0.4.3 Release: %autorelease Summary: GUI for generating hybrid ground-truth spiking data License: GPLv3+ URL: https://github.com/jwouters91/shybrid Source0: %{pypi_source shybrid} Source1: %{name}.desktop BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-matplotlib-qt5 BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: python3-matplotlib-qt5 %description SHYBRID is a graphical user interface that allows for the easy creation of hybrid ground truth extracellular recordings %prep %autosetup -n shybrid-%{version} sed -i 's/PyQt5==5.13/PyQt5>=5.13/' setup.py find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';' %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l hybridizer desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} %check %pyproject_check_import %files -f %{pyproject_files} %doc README.* %{_bindir}/shybrid %{_datadir}/applications/%{name}.desktop %changelog * Thu Jan 04 2024 Benjamin A. Beasley - 0.4.3-9 - Assert a license file is automatically handled; don’t package a duplicate * Sat Jul 22 2023 Fedora Release Engineering - 0.4.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 27 2023 Python Maint - 0.4.3-6 - Rebuilt for Python 3.12 * Sat Jan 21 2023 Fedora Release Engineering - 0.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 0.4.3-3 - Rebuilt for Python 3.11 * Sat Jan 22 2022 Fedora Release Engineering - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 27 2021 Vanessa_kris - 0.4.3-1 - Initial import (#2031721).