- Update to fetchmail-6.2.9-rc10

This commit is contained in:
Miloslav Trmac 2005-11-30 00:04:33 +00:00
parent 0c5553ea8f
commit 8f09e54234
3 changed files with 25 additions and 41 deletions

View File

@ -1,2 +1,2 @@
fetchmail-6.2.5.tar.gz fetchmail-6.2.9-rc10.tar.bz2
fetchmail-patch-6.2.5.2.gz fetchmail-6.2.9-rc10.tar.bz2.asc

View File

@ -1,30 +1,21 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define fetchmailconf 0 %define fetchmailconf 0
Summary: A remote mail retrieval and forwarding utility. Summary: A remote mail retrieval and forwarding utility.
Name: fetchmail Name: fetchmail
Version: 6.2.5.2 Version: 6.2.9
Release: 2 Release: 0.1.rc10
Requires: smtpdaemon Requires: smtpdaemon
Source0: http://download.berlios.de/fetchmail/fetchmail-6.2.5.tar.gz Source0: http://download.berlios.de/fetchmail/fetchmail-6.2.9-rc10.tar.bz2
Source1: http://www.catb.org/~esr/fetchmail/fetchmail-6.2.5.tar.gz.asc Source1: http://download.berlios.de/fetchmail/fetchmail-6.2.9-rc10.tar.bz2.asc
Source2: http://download.berlios.de/fetchmail/fetchmail-patch-6.2.5.2.gz Patch0: fetchmail-6.2.5-addrconf.patch
Source3: http://download.berlios.de/fetchmail/fetchmail-patch-6.2.5.2.gz.asc
Source4: fetchmailconf.1
Patch0: fetchmail-6.2.0-krb5-config.patch
Patch1: fetchmail-6.2.0-gsspop.patch
Patch2: fetchmail-6.2.0-crlf.patch
Patch3: fetchmail-6.2.5-popcapa.patch
Patch4: fetchmail-6.2.5-addrconf.patch
Patch5: fetchmail-6.2.5-recent-after-expunge.patch
Patch6: fetchmail-6.2.5-krb5.patch
Patch7: fetchmail-6.2.5-port.patch
URL: http://fetchmail.berlios.de/ URL: http://fetchmail.berlios.de/
License: GPL License: GPL
Group: Applications/Internet Group: Applications/Internet
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: openssl-devel gettext-devel BuildRequires: openssl-devel gettext-devel
%{!?nohesiod:BuildPrereq: hesiod-devel} %{!?nohesiod:BuildRequires: hesiod-devel}
%{!?nokerberos:BuildPrereq: krb5-devel} %{!?nokerberos:BuildRequires: krb5-devel}
%if ! %{fetchmailconf} %if ! %{fetchmailconf}
Obsoletes: fetchmailconf Obsoletes: fetchmailconf
%endif %endif
@ -55,37 +46,26 @@ Install fetchmailconf if you need help configuring fetchmail. You'll
need to have Python and Tk installed in order to use fetchmailconf. need to have Python and Tk installed in order to use fetchmailconf.
%prep %prep
%setup -q -n fetchmail-6.2.5 %setup -q -n fetchmail-6.2.9-rc10
zcat %SOURCE2 | patch -p1 %patch0 -p1 -b .addrconf
%patch0 -p1 -b .krb5-config
%patch1 -p1 -b .gsspop
%patch2 -p1 -b .crlf
%patch3 -p1 -b .popauth
%patch4 -p1 -b .addrconf
%patch5 -p1 -b .recent-after-expunge
%patch6 -p1 -b .krb5
%patch7 -p1 -b .port
autoheader
autoconf
%build %build
%configure --enable-POP3 --enable-IMAP --with-ssl=auto \ %configure --enable-POP3 --enable-IMAP --with-ssl \
%{!?nohesiod:--with-hesiod=auto} \ %{!?nohesiod:--with-hesiod} \
--enable-ETRN --enable-NTLM --enable-SDPS --enable-RPA \ --enable-ETRN --enable-NTLM --enable-SDPS --enable-RPA \
--enable-nls --enable-inet6 \ --enable-nls \
%{?nokerberos:--without-kerberos --without-kerberos5 --without-kerberos --without-gssapi} \ %{?nokerberos:--without-kerberos --without-kerberos5 --without-kerberos --without-gssapi} \
%{!?nokerberos:--with-kerberos --with-kerberos5 --with-kerberos --with-gssapi} %{!?nokerberos:--with-kerberos --with-kerberos5 --with-kerberos --with-gssapi}
make make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 make install DESTDIR=$RPM_BUILD_ROOT
install -m644 $RPM_SOURCE_DIR/fetchmailconf.1 $RPM_BUILD_ROOT%{_mandir}/man1/
%if ! %{fetchmailconf} %if ! %{fetchmailconf}
rm -f $RPM_BUILD_ROOT%{_bindir}/fetchmailconf* rm -f $RPM_BUILD_ROOT%{_bindir}/fetchmailconf*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1* rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1*
rm -f $RPM_BUILD_ROOT%{python_sitelib}/fetchmailconf.py*
%endif %endif
%find_lang %name %find_lang %name
@ -95,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING FAQ FEATURES INSTALL README README.SSL NEWS NOTES TODO %doc BUGS COPYING FAQ FEATURES NEWS NOTES README README.SSL TODO
%{_bindir}/fetchmail %{_bindir}/fetchmail
%{_mandir}/man1/fetchmail.1* %{_mandir}/man1/fetchmail.1*
@ -103,10 +83,14 @@ rm -rf $RPM_BUILD_ROOT
%files -n fetchmailconf %files -n fetchmailconf
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/fetchmailconf %{_bindir}/fetchmailconf
%{python_sitelib}/fetchmailconf.py*
%{_mandir}/man1/fetchmailconf.1* %{_mandir}/man1/fetchmailconf.1*
%endif %endif
%changelog %changelog
* Wed Nov 30 2005 Miloslav Trmac <mitr@redhat.com> - 6.2.9-0.1.rc10
- Update to fetchmail-6.2.9-rc10
* Wed Nov 9 2005 Miloslav Trmac <mitr@redhat.com> - 6.2.5.2-2 * Wed Nov 9 2005 Miloslav Trmac <mitr@redhat.com> - 6.2.5.2-2
- Rebuild with new openssl - Rebuild with new openssl
- Ship README.SSL, drop html documentation copies - Ship README.SSL, drop html documentation copies

View File

@ -1,2 +1,2 @@
9956b30139edaa4f5f77c4d0dbd80225 fetchmail-6.2.5.tar.gz 92ee5104bd0709e361b97b3a33183176 fetchmail-6.2.9-rc10.tar.bz2
be18f89b94e937a22560aa452e524c4b fetchmail-patch-6.2.5.2.gz 5ff62f1f443450da428ff3f0fab0d695 fetchmail-6.2.9-rc10.tar.bz2.asc