## 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-gtk %global srcname_ openpaperwork_gtk Name: python-%{srcname} Version: 2.2.5 Release: %autorelease Summary: OpenPaperwork GTK plugins License: GPL-3.0-or-later URL: https://gitlab.gnome.org/World/OpenPaperwork/paperwork/tree/master/openpaperwork-gtk Source: %pypi_source %{srcname_} BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel %description Paperwork is a GUI to make papers searchable. A bunch of plugins for Paperwork related to GLib and GTK. %package -n python3-%{srcname} Summary: %{summary} Requires: gdk-pixbuf2 Requires: gtk3 Requires: libhandy1 Requires: libnotify Requires: pango %description -n python3-%{srcname} Paperwork is a GUI to make papers searchable. A bunch of plugins for Paperwork related to GLib and GTK. %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 (#2239266) * Fri Jul 19 2024 Fedora Release Engineering - 2.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * 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 * Thu Jun 15 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 (#2159152) * 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 (#2029138) * 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 (#2029138) * Thu Dec 30 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 (#1964134) * Sat Feb 06 2021 Elliott Sales de Andrade - 2.0.2-1 - Initial package. ## END: Generated by rpmautospec