3 Commits

View File

@@ -5,14 +5,14 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: fetchmail
Version: 6.4.17
Version: 6.4.21
Release: 1mamba
Summary: A mail-retrieval and forwarding utility
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://fetchmail.berlios.de/
URL: https://www.fetchmail.info/
Source: https://sourceforge.net/projects/fetchmail/files/branch_%{majver}/fetchmail-%{version}.tar.xz
Source1: fetchmail.service
Source2: %{name}-fetchmailrc
@@ -20,9 +20,7 @@ Source3: fetchmail-tmpfiles.conf
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libopenssl-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: maildrop >= 1.6.3
Requires: python-tk >= 2.4.3
@@ -32,12 +30,15 @@ Requires: maildrop >= 1.6.3
Fetchmail is a mail-retrieval and forwarding utility; it fetches mail from remote mailservers and forwards it to your local (client) machines delivery system. You can then handle the retrieved mail using normal mail user agents such as mutt(1), elm(1) or Mail(1). The fetchmail utility can be run in a daemon mode to repeatedly poll one or more systems at a specified interval.
The fetchmail program can gather mail from servers supporting any of the common mail-retrieval protocols: POP2 (legacy, to be removed from future release), POP3, IMAP2bis, IMAP4, and IMAP4rev1. It can also use the ESMTP ETRN extension and ODMR. (The RFCs describing all these protocols are listed at the end of this manual page.)
%debug_package
%prep
%setup -q
%build
%configure \
--with-ssl
--with-ssl \
PYTHON=%{__python3}
%make
#sed -i "s|/lib/python.*/site-packages|/lib/site-python|" fetchmailconf
@@ -45,13 +46,14 @@ The fetchmail program can gather mail from servers supporting any of the common
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
pythondir=%{python_sitearch} \
pyexecdir=%{python_sitelib}
pythondir=%{python3_sitearch} \
pyexecdir=%{python3_sitelib}
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/fetchmail.service
install -D -m0640 %{SOURCE2} %{buildroot}%{_sysconfdir}/fetchmailrc
install -D -m0640 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/fetchmail.conf
install -d %{buildroot}/var/log/fetchmail/
install -d %{buildroot}/var/lock/fetchmail/
%find_lang %{name}
@@ -90,7 +92,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_tmpfilesdir}/fetchmail.conf
%{_bindir}/fetchmail
%{_bindir}/fetchmailconf
%{python_sitearch}/fetchmailconf.py*
%{python3_sitearch}/fetchmailconf.py*
%{python3_sitearch}/__pycache__/fetchmailconf.cpython*.py*
%attr(0750,vmail,vmail) %dir /var/lock/fetchmail
%attr(0750,vmail,vmail) %dir /var/log/fetchmail
%{_mandir}/man1/fetchmail.1*
%{_mandir}/man1/fetchmailconf.1*
@@ -98,6 +102,18 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
#NEWS README README.NTLM README.SSL TODO
%changelog
* Sun Aug 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.21-1mamba
- update to 6.4.21
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 6.4.19-1mamba
- automatic version update by autodist
* Mon Mar 29 2021 Automatic Build System <autodist@mambasoft.it> 6.4.18-1mamba
- automatic version update by autodist
* Sun Mar 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.17-2mamba
- provide required dir /var/lock/fetchmail
* Mon Mar 08 2021 Automatic Build System <autodist@mambasoft.it> 6.4.17-1mamba
- automatic version update by autodist