8679399
Name:           mailnag
Thorsten Leemhuis df790ce
Version:        2.2.0
26a9649
Release:        15%{?dist}
6631f3d
Summary:        Mail notification daemon
8679399
8679399
License:        GPLv2
Thorsten Leemhuis ab779c4
URL:            https://github.com/pulb/%{name}
Thorsten Leemhuis 31303ef
Source0:        https://github.com/pulb/%{name}/archive/v%{version}.tar.gz
Thorsten Leemhuis 1ec23b1
Thorsten Leemhuis cd59b32
# reason for this patch filed in https://github.com/pulb/mailnag/issues/225
Thorsten Leemhuis cd59b32
Patch0:         mailnag-pingtest_w_fedora.patch
Thorsten Leemhuis 76beee2
# following patch was provided by Lalufu in #fedora-devel; many thx! backstory
Thorsten Leemhuis 76beee2
# can be found in https://github.com/pulb/mailnag/issues/245
Thorsten Leemhuis 76beee2
Patch1:         mailnag-deprecated_ssl_wrap.patch
Thorsten Leemhuis cd59b32
Thorsten Leemhuis 1ec23b1
Requires:       python3
Thorsten Leemhuis 1ec23b1
Requires:       python3-dbus
Thorsten Leemhuis 1ec23b1
Requires:       python3-gobject
Thorsten Leemhuis 1ec23b1
Requires:       python3-gstreamer1
Thorsten Leemhuis 1ec23b1
Requires:       python3-pyxdg
1e6b059
Requires:       gnome-keyring
Thorsten Leemhuis e888c56
# due to imp removal from python 3.12/https://github.com/pulb/mailnag/issues/244:
Thorsten Leemhuis e888c56
Requires:       python3-zombie-imp
8679399
8679399
BuildArch:      noarch
Thorsten Leemhuis 1ec23b1
BuildRequires:  python3-devel
Thorsten Leemhuis cceb02c
BuildRequires:  (python3-setuptools if python3-devel >= 3.12)
8679399
BuildRequires:  gettext
8679399
BuildRequires:  desktop-file-utils
ec7d183
BuildRequires:  libappstream-glib
8679399
8679399
%description
6d702f3
Mailnag checks POP3 and IMAP servers for new mail and when it finds one
8679399
creates a proper GNOME 3 notification that mentions sender and subject.
8679399
8679399
8679399
%prep
Thorsten Leemhuis 31303ef
%setup -q -n mailnag-%{version}
Thorsten Leemhuis cd59b32
%patch0 -b .patch0 -p1
Thorsten Leemhuis 76beee2
%patch1 -b .patch1 -p1
8679399
8679399
%build
Thorsten Leemhuis 1ec23b1
%py3_build
8679399
8679399
%install
8679399
rm -rf %{buildroot}
Thorsten Leemhuis 1ec23b1
%py3_install
ef01937
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mailnag.desktop
6631f3d
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mailnag-config.desktop
Thorsten Leemhuis 1ec23b1
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.appdata.xml
8679399
8679399
%find_lang %{name}
8679399
8679399
%files -f %{name}.lang
6d702f3
%doc AUTHORS LICENSE NEWS README.md
8679399
%{_bindir}/%{name}*
8679399
%{_datadir}/%{name}
Thorsten Leemhuis 1ec23b1
%{_datadir}/metainfo/
Thorsten Leemhuis 1ec23b1
%{python3_sitelib}/Mailnag
Thorsten Leemhuis 1ec23b1
%{python3_sitelib}/%{name}-*-*.egg-info
8679399
%{_datadir}/applications/*
6631f3d
%{_datadir}/icons/hicolor/*/apps/%{name}*png
8679399
8679399
%changelog
26a9649
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-15
26a9649
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
26a9649
f02db7d
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-14
f02db7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f02db7d
Thorsten Leemhuis 76beee2
* Mon Oct 9 2023 Thorsten Leemhuis <fedora@leemhuis.info> - 2.2.0-13
Thorsten Leemhuis 76beee2
- Add patch to make ssl work with python 3.12
Thorsten Leemhuis 76beee2
Thorsten Leemhuis e888c56
* Mon Sep 25 2023 Thorsten Leemhuis <fedora@leemhuis.info> - 2.2.0-12
Thorsten Leemhuis e888c56
- Require python3-zombie-imp
Thorsten Leemhuis e888c56
ceb3f93
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-11
ceb3f93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
ceb3f93
c6b9bf7
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.2.0-10
c6b9bf7
- Rebuilt for Python 3.12
c6b9bf7
8f13f3e
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-9
8f13f3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
8f13f3e
Thorsten Leemhuis cceb02c
* Tue Dec 20 2022 Thorsten Leemhuis <fedora@leemhuis.info> - 2.2.0-8
Thorsten Leemhuis cceb02c
- add BR python3-setuptools per #BZ 2155041 due to deprecated distutils package
Thorsten Leemhuis cceb02c
2f7167e
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-7
2f7167e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2f7167e
26f57ab
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.0-6
26f57ab
- Rebuilt for Python 3.11
26f57ab
a42c479
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
a42c479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a42c479
Thorsten Leemhuis cd59b32
* Fri Sep 17 2021 Thorsten Leemhuis <fedora@leemhuis.info> - 2.2.0-4
Thorsten Leemhuis cd59b32
- ping fedoraproject.org and not google in connectivity test fallback path
Thorsten Leemhuis cd59b32
cdfc099
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
cdfc099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
cdfc099
a3840f5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.2.0-2
a3840f5
- Rebuilt for Python 3.10
a3840f5
Thorsten Leemhuis df790ce
* Mon Feb 15 2021 Thorsten Leemhuis <fedora@leemhuis.info> - 2.2.0-1
Thorsten Leemhuis df790ce
- update to version 2.2.0
Thorsten Leemhuis df790ce
52b8a8c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
52b8a8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
52b8a8c
Thorsten Leemhuis abfed1d
* Thu Dec 31 2020 Thorsten Leemhuis <fedora@leemhuis.info> - 2.1.0-1
Thorsten Leemhuis abfed1d
- update to version 2.1.0
Thorsten Leemhuis abfed1d
f8923fd
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
f8923fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f8923fd
43d7510
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-5
43d7510
- Rebuilt for Python 3.9
43d7510
Thorsten Leemhuis 31303ef
* Wed Apr 01 2020 Thorsten Leemhuis <fedora@leemhuis.info> - 2.0.0-4
Thorsten Leemhuis 31303ef
- update to version 2.0
Thorsten Leemhuis 31303ef
Thorsten Leemhuis ab779c4
* Tue Mar 31 2020 Thorsten Leemhuis <fedora@leemhuis.info> - 2.0.0-2.20200331.2
Thorsten Leemhuis ab779c4
- update to newest snapshot
Thorsten Leemhuis ab779c4
Thorsten Leemhuis ab779c4
* Sat Mar 21 2020 Thorsten Leemhuis <fedora@leemhuis.info> - 2.0.0-2.20200321.1
Thorsten Leemhuis ab779c4
- update to newest snapshot
Thorsten Leemhuis ab779c4
f77628f
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-1.py3migration.20191103.1
f77628f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f77628f
Thorsten Leemhuis 694105a
* Sun Nov 03 2019 Thorsten Leemhuis <fedora@leemhuis.info> - 2.0.0-0.py3migration.20191029.1
Thorsten Leemhuis 694105a
- update to newest snapshot, which fixes a few issues we had to work around in
Thorsten Leemhuis 694105a
  the spec file
Thorsten Leemhuis 694105a
Thorsten Leemhuis 1ec23b1
* Tue Oct 29 2019 Thorsten Leemhuis <fedora@leemhuis.info> - 1.3.0-0.py3migration.20191029.1
Thorsten Leemhuis 1ec23b1
- switch to python3-migration snapshot, as python2 nears EOL in rawhide
Thorsten Leemhuis 1ec23b1
edad3e2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
edad3e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
edad3e2
Thorsten Leemhuis 1e6a5d4
* Mon Mar 25 2019 Thorsten Leemhuis <fedora@leemhuis.info> - 1.3.0-1
Thorsten Leemhuis 1e6a5d4
- update to 1.3.0
Thorsten Leemhuis 1e6a5d4
f682914
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-10
f682914
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f682914
6d702f3
* Tue Aug 21 2018 Kamil Páral <kparal@redhat.com> - 1.2.1-9
6d702f3
- Remove python2-notify dependency. It has been retired since F29.
6d702f3
63aa63b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
63aa63b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
63aa63b
360cb27
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
360cb27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
360cb27
d65d390
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-6
d65d390
- Remove obsolete scriptlets
d65d390
4c10ca5
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-5
4c10ca5
- Update Python 2 dependency declarations to new packaging standards
4c10ca5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4c10ca5
6fca9f3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
6fca9f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6fca9f3
df9314c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
df9314c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
df9314c
1f83fad
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
1f83fad
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1f83fad
ec7d183
* Sun Jun 12 2016 Thorsten Leemhuis <fedora@leemhuis.info> - 1.2.1-1
ec7d183
- update to 1.2.1
ec7d183
- add appdata stuff (use appstream-util, BR libappstream-glib)
ec7d183
ef01937
* Sun Mar 27 2016 Thorsten Leemhuis <fedora@leemhuis.info> - 1.2.0-1
ef01937
- update to 1.2.0
ef01937
d8be45f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
d8be45f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d8be45f
ce68c57
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
ce68c57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ce68c57
66f0a9e
* Fri Apr 17 2015 Thorsten Leemhuis <fedora@leemhuis.info> - 1.1.0-3
52a1ac7
- update to 1.1.0
52a1ac7
- adjust BR: s/gstreamer-python/gstreamer1-python/
52a1ac7
- drop require on httplib2, not needed anymore
52a1ac7
- drop require on gnome-keyring, it's optional now
52a1ac7
- add dbus-python as requires, as mentioned in docs
52a1ac7
6631f3d
* Sun Jun 29 2014 Thorsten Leemhuis <fedora@leemhuis.info> - 1.0.0-1
6631f3d
- update to 1.0.0
6631f3d
- drop patches
6631f3d
8e84c7b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-5
8e84c7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8e84c7b
07c42a9
* Wed Nov 06 2013 Thorsten Leemhuis <fedora@leemhuis.info> - 0.5.2-4
07c42a9
- add patch to fix sound problem (rhbz #1015900 comment 4)
07c42a9
fbbff09
* Sun Nov 03 2013 Thorsten Leemhuis <fedora@leemhuis.info> - 0.5.2-3
fbbff09
- add patch to work around a API change in NotifyNotification (rhbz #1015900)
fbbff09
95545a6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
95545a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
95545a6
1e6b059
* Sun Nov 25 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.5.2-1
1e6b059
- update to 0.5.2
1e6b059
6c02711
* Sun Nov 25 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.4.4-1
6c02711
- update to 0.4.4
6c02711
72573ee
* Sun Oct 07 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.4.3-1
72573ee
- update to 0.4.3
6d702f3
- use the newly added setup.py for install, which simplifies the spec file
72573ee
  a lot
72573ee
8679399
* Mon Aug 13 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.4.2-2
8679399
- apply patch that fixes a issue found during review #847512
8679399
8679399
* Sat Aug 11 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.4.2-1
8679399
- initial build