Compare commits

..

1 commit

Author SHA1 Message Date
Tomas Tomecek
249edbe491 initial package 2014-08-12 13:38:26 +02:00
7 changed files with 43 additions and 248 deletions

10
.gitignore vendored
View file

@ -1,11 +1 @@
/alot-9abcc757db854cfe3024dc81d89dac66b960eade.tar.gz
/alot-a7075ea6226f2dfed0142529f73989961ee7b65d.tar.gz
/alot-0.6.tar.gz
/alot-0.6.tar.gz.asc
/alot-0.10
/alot-0.11
/0.7.tar.gz
/0.8.1.tar.gz
/0.10.tar.gz
/0.11.tar.gz
/v0.12.tar.gz

View file

@ -1,18 +0,0 @@
---
specfile_path: alot.spec
downstream_package_name: alot
upstream_project_url: https://github.com/pazz/alot
actions:
get-current-version: "python3 setup.py --version"
changelog-entry: bash -c "echo '- New upstream release' ${PACKIT_PROJECT_VERSION}"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-rawhide

View file

@ -1,25 +0,0 @@
From 893538d39f60003489200cf166f806a4c335097d Mon Sep 17 00:00:00 2001
From: Dick Marinus <dick@mrns.nl>
Date: Sat, 6 Dec 2025 20:59:33 +0100
Subject: [PATCH] replace python-magic with file-magic
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 4a0acac6..b2ea86fa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,7 +30,7 @@ dependencies = [
"urwid>=1.3.0",
"urwidtrees>=1.0.3",
"twisted>=18.4.0",
- "python-magic",
+ "file-magic",
"configobj>=4.7.0",
"gpg>1.10.0",
"standard-mailcap; python_version>'3.12'"
--
2.52.0

View file

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.100.2.post1.dev4+g31a74ebd.

233
alot.spec
View file

@ -1,213 +1,64 @@
Name: alot
Version: 0.12
Release: 2%{?dist}
Summary: Experimental terminal MUA based on notmuch mail
%global owner pazz
%global commit 9abcc757db854cfe3024dc81d89dac66b960eade
# Automatically converted from old format: GPLv3+ - review is highly recommended.
License: GPL-3.0-or-later
URL: https://github.com/pazz/alot
Source: %{url}/archive/refs/tags/v%{version}.tar.gz
Patch: 0001-replace-python-magic-with-file-magic.patch
Name: alot
Version: 0.3.6
Release: 1%{?dist}
Summary: An experimental terminal MUA based on notmuch mail
Group: Applications/Internet
License: GPLv3
URL: https://github.com/%{owner}/%{name}
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
# needed to generate manpages
BuildRequires: python3-sphinx
BuildRequires: python3-standard-mailcap
BuildRequires: make
BuildRequires: procps-ng
Requires: python3-standard-mailcap
BuildRequires: python2-devel
BuildRequires: python-sphinx
Requires: python-notmuch
Requires: python-urwid
Requires: python-twisted
Requires: gpgme
Requires: python-configobj
Requires: python-magic
%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
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_buildrequires
%prep
%setup -qn %{name}-%{commit}
%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
%{__python2} setup.py build
pushd docs
make %{?_smp_mflags} man
popd
%install
%pyproject_install
%pyproject_save_files -l alot
install -Dpm0644 docs/build/man/alot.1* -t %{buildroot}%{_mandir}/man1/
install -Dpm0644 alot/defaults/* -t %{buildroot}/%{python3_sitelib}/alot/defaults/
%{__python2} setup.py install --skip-build --root %{buildroot}
pushd docs
mkdir -p %{buildroot}%{_mandir}/man1/
install -p -m 0644 build/man/alot.1* %{buildroot}%{_mandir}/man1/
popd
# remove examples of using urwidtrees
rm %{buildroot}%{python2_sitelib}/alot/foreign/urwidtrees/example*
%check
%pyproject_check_import
%{py3_test_envvars} %{python3} -m unittest
%files -f %{pyproject_files}
%license COPYING
%doc NEWS README.md
%files
%{python2_sitelib}/alot/*
%{python2_sitelib}/alot-%{version}-*.egg-info
%doc NEWS
%doc COPYING
%doc README.md
%{_bindir}/alot
%{_mandir}/man1/alot.1*
%{python3_sitelib}/alot/defaults
%{_mandir}/man1/alot*
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sat Dec 6 2025 Dick Marinus <dick@mrns.nl> - 0.12-1
- New upstream release 0.12
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.11-12
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.11-11
- Rebuilt for Python 3.14.0rc2 bytecode
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.11-9
- Rebuilt for Python 3.14
* Thu May 29 2025 Dick Marinus <dick@mrns.nl> - 0.11-8
- Python 3.14 fixes
* Tue Apr 29 2025 Dick Marinus <dick@mrns.nl> - 0.11-7
- Replace python-magic with file-magic
* Mon Apr 28 2025 Dick Marinus <dick@mrns.nl> - 0.11-6
- Add unittest
* Tue Apr 15 2025 Tomas Tomecek <ttomecek@redhat.com> - 0.11-5
- Depend on python-standard-mailcap
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Nov 18 2024 Miro Hrončok <mhroncok@redhat.com> - 0.11-3
- Run import check during the build
* Thu Nov 14 2024 Tomas Tomecek <ttomecek@redhat.com> - 0.11-2
- Install defaults
* Mon Aug 26 2024 Packit <hello@packit.dev> - 0.11-1
- New upstream release 0.11
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 0.10-6
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.10-4
- Rebuilt for Python 3.13
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Sep 14 2023 Packit <hello@packit.dev> - 0.10-1
- New upstream release 0.10
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.8.1-16
- Rebuilt for Python 3.12
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.8.1-13
- Rebuilt for Python 3.11
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.1-10
- Rebuilt for Python 3.10
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-7
- Rebuilt for Python 3.9
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-5
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-4
- Rebuilt for Python 3.8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-3
- Rebuilt for Python 3.8
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 27 2019 Tomas Tomecek <ttomecek@redhat.com> - 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 <releng@fedoraproject.org> - 0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 28 2018 Tomas Tomecek <ttomecek@redhat.com> - 0.7-1
- Update to 0.7
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 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 <releng@fedoraproject.org> - 0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Oct 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6-1
- Update to 0.6
- Cleanup spec
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Tomas Tomecek <ttomecek@redhat.com> - 0.4-1
- update to 0.4
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.6-5
- Rebuild for gpgme 1.18
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Aug 12 2014 Tomas Tomecek <ttomecek@redhat.com> - 0.3.6-1
- initial package

View file

@ -1 +1 @@
SHA512 (v0.12.tar.gz) = 927dafd3a6f36ecd09be407384f676d9f89840c2a436e9f762627bf0073aba6a27363061257f32911f6e60a065e00b022e97799525e63568896ea07d3c2832f1
b6297c907e58864ca09525ff591b1968 alot-9abcc757db854cfe3024dc81d89dac66b960eade.tar.gz