## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 %global pypi_name pyqt-feedback-flow %bcond tests 1 Name: python-%{pypi_name} Version: 0.3.5 Release: %autorelease Summary: Show feedback in toast-like notifications %global forgeurl https://github.com/firefly-cpp/pyqt-feedback-flow %global tag %{version} %forgemeta License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist toml-adapt} %if %{with tests} BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest-qt} %endif # The python3dist(pyqt6) dependency generated from PyQt6 in # pyproject.toml is satisfied by python3-pyqt6-base, but this project # uses PyQt6.QtSvg, which is packaged along with other “non-core” modules # in python3-pyqt6. Since this is not represented (and currently cannot # be represented) in the Python metadata, we need explicit BuildRequires # *and* Requires on the full python3-pyqt6. BuildRequires: python3-pyqt6 %global _description %{expand: This software allows us to show flowing notifications in the realm of a text or a picture. Both text and pictures (raster and vector) can be customized according to users' wishes, which offers a wide variety of possibilities for providing flowing feedback.} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} # See the comment on the corresponding BuildRequires. Requires: python3-pyqt6 %description -n python3-%{pypi_name} %_description %prep %forgeautosetup -p1 rm -rf %{pypi_name}.egg-info toml-adapt -path pyproject.toml -a change -dep python -ver X toml-adapt -path pyproject.toml -a change -dep emoji -ver X toml-adapt -path pyproject.toml -a change -dep PyQt6 -ver X %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyqt_feedback_flow %check %if %{with tests} %pytest -v %else %pyproject_check_import %endif %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md %doc CITATION.cff %changelog ## START: Generated by rpmautospec * Tue Dec 17 2024 Iztok Fister Jr. - 0.3.5-1 - Update to the latest release * Fri Jul 19 2024 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 3 2024 Iztok Fister Jr. - 0.3.4-1 - Update to the latest release * Sat Jun 08 2024 Python Maint - 0.3.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 1 2024 Iztok Fister Jr. - 0.3.3-1 - Update to the latest release * Mon Nov 27 2023 Iztok Fister Jr. - 0.3.1-1 - Update to the latest release * Fri Jul 21 2023 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 0.3.0-2 - Rebuilt for Python 3.12 * Sun Jul 2 2023 Iztok Fister Jr. - 0.3.0-1 - Update to the latest release * Fri Jun 16 2023 Python Maint - 0.2.0-2 - Rebuilt for Python 3.12 * Mon Mar 27 2023 Iztok Fister Jr. - 0.2.0-1 - Update to the latest release * Fri Jan 20 2023 Fedora Release Engineering - 0.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.1.6-2 - Rebuilt for Python 3.11 * Sat May 14 2022 Iztok Fister Jr. - 0.1.6-1 - Update to the latest release * Thu Mar 10 2022 Benjamin A. Beasley - 0.1.5-3 - Add explicit python3-qt5 dependency for QtSvg * Thu Mar 10 2022 Iztok Fister Jr. - 0.1.5-2 - Re-enable tests * Wed Mar 9 2022 Iztok Fister Jr. - 0.1.5-1 - Update to the latest release * Wed Feb 16 2022 Iztok Fister Jr. - 0.1.4-1 - Update to the latest release * Wed Feb 9 2022 Iztok Fister Jr. - 0.1.3-1 - Update to the latest release * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-3 - Do not check imports * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-2 - Fix dependency * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-1 - Update to the latest release * Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 11 2022 Iztok Fister Jr. - 0.1.1-1 - Initial package ## END: Generated by rpmautospec