+# TODO:
+# - backport man-pages from pine.spec
+# - separate package with tcl web-frontend
+# - fix as-needed
+# - pico shouldn't link with kerberos, should it?
+# - switch to http://re-alpine.sourceforge.net/ - RIP alpine
%define ver 2.00
-%define patchlevel 34
+%define patchlevel 84
Summary: University of Washington Alpine mail user agent
Summary(pl.UTF-8): Klient pocztowy Alpine z Uniwersytetu w Waszyngtonie
Name: alpine
Version: %{ver}.%{patchlevel}
-Release: 2
+Release: 5
Epoch: 1
License: Apache v2.0
Group: Applications/Mail
#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: 1c817a40ac259f7bebf5e423a6f54167
+# Source0-md5: 70ba4281354f1ba2d341038ec0e323c7
Source1: pico.desktop
Source2: %{name}.desktop
Source3: %{name}.png
%if "%{pld_release}" != "ac"
BuildRequires: heimdal-devel
%endif
+BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: openldap-devel
BuildRequires: openssl-devel
--%{?debug:en}%{!?debug:dis}able-debug \
--enable-quotas \
--without-tcl \
- --with-smtp-msa=%{_libdir}/sendmail \
+ --with-smtp-msa=/usr/lib/sendmail \
--with-simple-spellcheck=aspell \
--with-system-pinerc=%{_sysconfdir}/%{name}/%{name}.conf \
--with-system-fixed-pinerc=%{_sysconfdir}/%{name}/%{name}.conf.fixed \
%else
--with-ssl-dir=/etc/openssl/certs \
--with-ssl-certs-dir=/etc/certs \
+ --with-ssl-lib-dir=%{_libdir} \
%endif
--with-passfile=.pine.pwd