|
|
|
@ -23,6 +23,10 @@
|
|
|
|
|
## SUCH DAMAGE. |
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_real 2002.RC1 |
|
|
|
|
%define V_here 2002rc1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: c-client |
|
|
|
|
Summary: The c-client library |
|
|
|
@ -32,11 +36,11 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [EXP] |
|
|
|
|
Group: Mail |
|
|
|
|
License: University of Washington's Free-Fork License |
|
|
|
|
Version: 2001a |
|
|
|
|
Release: 20020422 |
|
|
|
|
Version: %{V_here} |
|
|
|
|
Release: 20020713 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.cac.washington.edu/imap/imap-%{version}.tar.Z |
|
|
|
|
Source0: ftp://ftp.cac.washington.edu/imap/imap-%{V_real}.tar.Z |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
@ -50,24 +54,15 @@ AutoReqProv: no
|
|
|
|
|
The c-client library provides an API to access IMAP servers. |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n imap-%{version} |
|
|
|
|
%setup -q -n imap-%{V_real} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
os="" |
|
|
|
|
case "%{l_target}" in |
|
|
|
|
*-freebsd*) |
|
|
|
|
os=bsf |
|
|
|
|
;; |
|
|
|
|
*-linux*) |
|
|
|
|
os=slx |
|
|
|
|
;; |
|
|
|
|
*-solaris*) |
|
|
|
|
os=gso |
|
|
|
|
;; |
|
|
|
|
*) |
|
|
|
|
echo "Unsupported platform" 1>&2 |
|
|
|
|
exit 1 |
|
|
|
|
;; |
|
|
|
|
*-freebsd*) os=bsf ;; |
|
|
|
|
*-linux* ) os=slx ;; |
|
|
|
|
*-solaris*) os=gso ;; |
|
|
|
|
*) echo "Unsupported platform %{l_target}" 1>&2; exit 1 ;; |
|
|
|
|
esac |
|
|
|
|
%{l_make} $os |
|
|
|
|
|
|
|
|
|