# TODO:
-#- backport man-pages from pine.spec
-#- separate package with tcl web-frontend
-#- fix as-needed
-%define ver 2.00
-%define patchlevel 53
+# - backport man-pages from pine.spec
+# - separate package with tcl web-frontend
+# - fix as-needed
+# - pico shouldn't link with kerberos, should it?
Summary: University of Washington Alpine mail user agent
Summary(pl.UTF-8): Klient pocztowy Alpine z Uniwersytetu w Waszyngtonie
Name: alpine
-Version: %{ver}.%{patchlevel}
+Version: 2.11
Release: 1
Epoch: 1
License: Apache v2.0
Group: Applications/Mail
# Main site:
#Source0: ftp://ftp.cac.washington.edu/alpine/%{name}-%{version}.tar.gz
-# Source with applied patches from http://staff.washington.edu/chappa/alpine/
-Source0: http://staff.washington.edu/chappa/alpine/patches/alpine-%{ver}/%{name}-%{ver}_%{patchlevel}.tar.gz
-# Source0-md5: 69b1f9cc9c4e06d31a44b0e6bf10283e
+# Current source is from: http://patches.freeiz.com/alpine/
+Source0: http://patches.freeiz.com/alpine/patches/%{name}-%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: d2d9ca3716b9a23e5fa41ddf5ad06b6b
Source1: pico.desktop
Source2: %{name}.desktop
Source3: %{name}.png
Patch5: %{name}-ssl.patch
Patch6: %{name}-no_1777_warning.patch
Patch7: %{name}-home_etc.patch
+Patch8: %{name}-RFC1522_MAXW.patch
+Patch9: mimedesc.patch
URL: http://www.washington.edu/alpine/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: home-etc-devel
%if "%{pld_release}" != "ac"
BuildRequires: heimdal-devel
%endif
+BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: openldap-devel
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel >= 1.0.1c
BuildRequires: pam-devel
# Only for web-frontend:
#BuildRequires: tcl-devel
ajuda de acordo com o contexto está disponível.
%prep
-%setup -q -n %{name}-%{ver}
+%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
%build
rm -f libtool missing
%else
--with-ssl-dir=/etc/openssl/certs \
--with-ssl-certs-dir=/etc/certs \
+ --with-ssl-lib-dir=%{_libdir} \
%endif
--with-passfile=.pine.pwd