]> git.pld-linux.org Git - packages/alpine.git/blobdiff - alpine.spec
Unify RFC1522_MAXW usage (alpine-RFC1522_MAXW patch)
[packages/alpine.git] / alpine.spec
index 6b2d44f9c332cc092a05162ad2dbb7f88d0737d8..b9a34dce81e11361ec889e8d06b4b80877471162 100644 (file)
@@ -2,13 +2,15 @@
 # - 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      7
+%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:       1
+Release:       5.1
 Epoch:         1
 License:       Apache v2.0
 Group:         Applications/Mail
@@ -16,7 +18,7 @@ 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: 027c728084ca3cbce7168fbdad4054e0
+# Source0-md5: 70ba4281354f1ba2d341038ec0e323c7
 Source1:       pico.desktop
 Source2:       %{name}.desktop
 Source3:       %{name}.png
@@ -28,18 +30,24 @@ Patch4:             %{name}-libc-client.patch
 Patch5:                %{name}-ssl.patch
 Patch6:                %{name}-no_1777_warning.patch
 Patch7:                %{name}-home_etc.patch
+Patch8:                %{name}-RFC1522_MAXW.patch
 URL:           http://www.washington.edu/alpine/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: home-etc-devel
-BuildRequires: krb5-devel
+%if "%{pld_release}" != "ac"
+BuildRequires: heimdal-devel
+%endif
+BuildRequires: libtool
 BuildRequires: ncurses-devel
-BuildRequires: openldap-devel >= 2.4.6
+BuildRequires: openldap-devel
 BuildRequires: openssl-devel
 BuildRequires: pam-devel
 # Only for web-frontend:
 #BuildRequires:        tcl-devel
 Suggests:      aspell
+Suggests:      ca-certificates
+Conflicts:     ca-certificates < 20080809-4
 Provides:      pine = 6.00
 Obsoletes:     pine
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -123,6 +131,7 @@ ajuda de acordo com o contexto está disponível.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 rm -f libtool missing
@@ -132,9 +141,10 @@ rm -f libtool missing
 %{__autoheader}
 %{__automake}
 %configure \
+       --%{?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 \
@@ -142,8 +152,14 @@ rm -f libtool missing
        --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 \
+       --with-ssl-lib-dir=%{_libdir} \
+%endif
        --with-passfile=.pine.pwd
 
 %{__make} \
This page took 0.078652 seconds and 4 git commands to generate.