-# TODO:
-# - backport man-pages from pine.spec
-# - separate package with tcl web-frontend
-# - fix as-needed
%define ver 2.00
-%define patchlevel 17
+%define patchlevel 44
Summary: University of Washington Alpine mail user agent
Summary(pl.UTF-8): Klient pocztowy Alpine z Uniwersytetu w Waszyngtonie
Name: alpine
#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: 68e0164c9f74c89f074b48271cf57daf
+# Source0-md5: 054a55644fd00f7cee0d7c2b29a355af
Source1: pico.desktop
Source2: %{name}.desktop
Source3: %{name}.png
BuildRequires: automake
BuildRequires: home-etc-devel
%if "%{pld_release}" != "ac"
-BuildRequires: krb5-devel
+BuildRequires: heimdal-devel
%endif
BuildRequires: ncurses-devel
BuildRequires: openldap-devel
--with-ldap-dir=%{_prefix} \
--with-system-mail-directory=/var/mail \
--with-c-client-target=slx \
+%if "%{pld_release}" == "ti"
--with-ssl-dir=/var/lib/openssl/certs \
+ --with-ssl-certs-dir=/var/lib/openssl/certs \
+%else
+ --with-ssl-dir=/etc/openssl/certs \
--with-ssl-certs-dir=/etc/certs \
+%endif
--with-passfile=.pine.pwd
%{__make} \