]> git.pld-linux.org Git - packages/alpine.git/blobdiff - alpine.spec
- allow build alpine on AC without changing anything
[packages/alpine.git] / alpine.spec
index 8b82d5b7ba76657236ce89f2a5986eaaa546069a..e71ab7ea44272a5483609efb2d576fc40e858342 100644 (file)
@@ -3,7 +3,7 @@
 # - separate package with tcl web-frontend
 # - fix as-needed
 %define                ver             2.00
-%define                patchlevel      13
+%define                patchlevel      17
 Summary:       University of Washington Alpine mail user agent
 Summary(pl.UTF-8):     Klient pocztowy Alpine z Uniwersytetu w Waszyngtonie
 Name:          alpine
@@ -16,7 +16,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: e78fb53acaa23a6fc09ab6d848edc72b
+# Source0-md5: 68e0164c9f74c89f074b48271cf57daf
 Source1:       pico.desktop
 Source2:       %{name}.desktop
 Source3:       %{name}.png
@@ -32,14 +32,22 @@ URL:                http://www.washington.edu/alpine/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: home-etc-devel
+%if "%{pld_release}" != "ac"
 BuildRequires: krb5-devel
+%endif
 BuildRequires: ncurses-devel
+%if "%{pld_release}" == "ac"
+BuildRequires: openldap-devel
+%else
 BuildRequires: openldap-devel >= 2.4.6
+%endif
 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)
@@ -144,7 +152,7 @@ rm -f libtool missing
        --with-system-mail-directory=/var/mail \
        --with-c-client-target=slx \
        --with-ssl-dir=/var/lib/openssl/certs \
-       --with-ssl-certs-dir=/var/lib/openssl/certs \
+       --with-ssl-certs-dir=/etc/certs \
        --with-passfile=.pine.pwd
 
 %{__make} \
This page took 0.094384 seconds and 4 git commands to generate.