## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 srcname openpaperwork-core %global srcname_ openpaperwork_core Name: python-%{srcname} Version: 2.2.5 Release: %autorelease Summary: OpenPaperwork's core License: GPL-3.0-or-later URL: https://gitlab.gnome.org/World/OpenPaperwork/paperwork/tree/master/openpaperwork-core Source0: %pypi_source %{srcname_} BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel BuildRequires: python3-psutil %description Paperwork is a GUI to make papers searchable. This is the core part of Paperwork. It manages plugins. %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} Paperwork is a GUI to make papers searchable. This is the core part of Paperwork. It manages plugins. %prep %autosetup -n %{srcname_}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname_} %check %{py3_test_envvars} %{python3} -m unittest discover --verbose -s tests %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md ChangeLog %changelog ## START: Generated by rpmautospec * Sat Aug 31 2024 Elliott Sales de Andrade - 2.2.5-1 - Update to latest version (#2239265) * Fri Jul 19 2024 Fedora Release Engineering - 2.1.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.1.2-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 2.1.2-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 09 2023 Elliott Sales de Andrade - 2.1.2-1 - Update to latest version (#2159151) * Mon Dec 19 2022 Elliott Sales de Andrade - 2.1.1-4 - Drop support for i686 * Fri Jul 22 2022 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.1.1-2 - Rebuilt for Python 3.11 * Mon Feb 21 2022 Elliott Sales de Andrade - 2.1.1-1 - Update to latest version (#2029139) * Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 30 2021 Elliott Sales de Andrade - 2.1.0-1 - Update to latest version (#2029139) * Mon Dec 27 2021 Elliott Sales de Andrade - 2.0.3-5 - Switch to latest Python macros * Fri Jul 23 2021 Fedora Release Engineering - 2.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.3-2 - Rebuilt for Python 3.10 * Fri Jun 04 2021 Elliott Sales de Andrade - 2.0.3-1 - Update to latest version (#1964133) * Sat Feb 06 2021 Elliott Sales de Andrade - 2.0.2-1 - Initial package. ## END: Generated by rpmautospec