57 PreReq: curl, openssl |
57 PreReq: curl, openssl |
58 %endif |
58 %endif |
59 %if "%{with_ldap}" == "yes" |
59 %if "%{with_ldap}" == "yes" |
60 BuildPreReq: openldap, openssl |
60 BuildPreReq: openldap, openssl |
61 PreReq: openldap, openssl |
61 PreReq: openldap, openssl |
|
62 %endif |
|
63 %if "%{with_idea}" == "yes" |
|
64 BuildPreReq: gcrypt::with_idea |
|
65 PreReq: gcrypt::with_idea |
62 %endif |
66 %endif |
63 AutoReq: no |
67 AutoReq: no |
64 AutoReqProv: no |
68 AutoReqProv: no |
65 |
69 |
66 %description |
70 %description |
105 %endif |
109 %endif |
106 LIBS="$LIBS -liconv" |
110 LIBS="$LIBS -liconv" |
107 export CC="%{l_cc}" |
111 export CC="%{l_cc}" |
108 export CFLAGS="%{l_cflags -O}" |
112 export CFLAGS="%{l_cflags -O}" |
109 export CPPFLAGS="%{l_cppflags}" |
113 export CPPFLAGS="%{l_cppflags}" |
|
114 %if "%{with_idea}" == "yes" |
|
115 export CPPFLAGS="-DUSE_IDEA $CPPFLAGS" |
|
116 %endif |
110 export LDFLAGS="%{l_ldflags}" |
117 export LDFLAGS="%{l_ldflags}" |
111 ./configure \ |
118 ./configure \ |
112 --prefix=%{l_prefix} \ |
119 --prefix=%{l_prefix} \ |
113 --libexecdir=%{l_prefix}/libexec/gnupg \ |
120 --libexecdir=%{l_prefix}/libexec/gnupg \ |
114 --mandir=%{l_prefix}/man \ |
121 --mandir=%{l_prefix}/man \ |