Name: alot Version: 0.11 Release: 3%{?dist} Summary: Experimental terminal MUA based on notmuch mail # Automatically converted from old format: GPLv3+ - review is highly recommended. License: GPL-3.0-or-later URL: https://github.com/pazz/alot Source0: %{url}/archive/%{version}/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-sphinx BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-setuptools_scm+toml # needed to generate manpages BuildRequires: python3-notmuch BuildRequires: make Requires: python3-notmuch >= 0.27 Requires: python3-urwid >= 1.3.0 Requires: python3-urwidtrees >= 1.0 Requires: python3-twisted >= 10.2.0 Requires: python3-file-magic Requires: python3-configobj >= 4.7.0 Requires: python3-gpg %description alot makes use of existing solutions where possible: It does not fetch, send or edit mails; it lets notmuch handle your mailindex and uses a toolkit to render its display. You are responsible for automatic initial tagging. %prep %autosetup -p1 sed -i -e 's/python-magic/file-magic/' pyproject.toml sed -i -e 's/import mailcap/import standard_mailcap/' alot/commands/thread.py alot/db/utils.py alot/settings/manager.py %generate_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %make_build man PYTHONPATH=${PYTHONPATH}:$RPM_BUILD_DIR/alot-%{version} SPHINX_BUILD=sphinx-build-3 PYTHON=python3 -C docs %install %pyproject_install %pyproject_save_files -l alot install -Dpm0644 docs/build/man/alot.1* -t %{buildroot}%{_mandir}/man1/ cp -r alot/defaults %{buildroot}/%{python3_sitelib}/alot/ %files -f %{pyproject_files} %license COPYING %doc NEWS README.md %{_bindir}/alot %{_mandir}/man1/alot.1* %{python3_sitelib}/alot/defaults/* %changelog * Sun Oct 27 2024 Dick Marinus - 0.11-3 Use standard_mailcap for Python 3.13 * Wed Sep 25 2024 Dick Marinus - 0.11-2 Add defaults * Mon Aug 26 2024 Packit - 0.11-1 - New upstream release 0.11 * Thu Jul 25 2024 Miroslav Suchý - 0.10-6 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 0.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.10-4 - Rebuilt for Python 3.13 * Mon Jan 22 2024 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Sep 14 2023 Packit - 0.10-1 - New upstream release 0.10 * Wed Jul 19 2023 Fedora Release Engineering - 0.8.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.8.1-16 - Rebuilt for Python 3.12 * Wed Jan 18 2023 Fedora Release Engineering - 0.8.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 0.8.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.8.1-13 - Rebuilt for Python 3.11 * Wed Jan 19 2022 Fedora Release Engineering - 0.8.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.8.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.8.1-10 - Rebuilt for Python 3.10 * Mon Jan 25 2021 Fedora Release Engineering - 0.8.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.8.1-7 - Rebuilt for Python 3.9 * Tue Jan 28 2020 Fedora Release Engineering - 0.8.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.8.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.8.1-4 - Rebuilt for Python 3.8 * Mon Aug 19 2019 Miro Hrončok - 0.8.1-3 - Rebuilt for Python 3.8 * Wed Jul 24 2019 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 27 2019 Tomas Tomecek - 0.8.1-1 - Update to 0.8.1 - s/python 2/python 3/ - Clean spec a bit. * Thu Jan 31 2019 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 28 2018 Tomas Tomecek - 0.7-1 - Update to 0.7 * Wed Feb 07 2018 Iryna Shcherbina - 0.6-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Feb 07 2018 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Oct 02 2017 Igor Gnatenko - 0.6-1 - Update to 0.6 - Cleanup spec * Wed Jul 26 2017 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 12 2017 Tomas Tomecek - 0.4-1 - update to 0.4 * Sat Dec 10 2016 Igor Gnatenko - 0.3.6-5 - Rebuild for gpgme 1.18 * Tue Jul 19 2016 Fedora Release Engineering - 0.3.6-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 0.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jun 16 2015 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Aug 12 2014 Tomas Tomecek - 0.3.6-1 - initial package