1 |
< |
### RPM external neon 0.26.3-wt1 |
1 |
> |
### RPM external neon 0.26.3-CMS3 |
2 |
|
|
3 |
|
Source: http://www.webdav.org/%n/%n-%realversion.tar.gz |
4 |
< |
Requires: openssl expat zlib |
4 |
> |
Requires: expat |
5 |
> |
%if "%{?online_release:set}" != "set" |
6 |
> |
Requires: openssl zlib |
7 |
> |
%endif |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup -n %n-%realversion |
11 |
+ |
|
12 |
|
%build |
13 |
< |
export CPPFLAGS="-I$EXPAT_ROOT/include -I$ZLIB_ROOT/include -I$OPESSL_ROOT/include -I$EXPAT_ROOT/include" |
13 |
> |
|
14 |
|
export CFLAGS="-fPIC -g -O2" |
15 |
+ |
|
16 |
+ |
%if "%{?online_release:set}" != "set" |
17 |
+ |
export CPPFLAGS="-I$EXPAT_ROOT/include -I$ZLIB_ROOT/include -I$OPESSL_ROOT/include -I$EXPAT_ROOT/include" |
18 |
|
export LDFLAGS="-L$EXPAT_ROOT/lib -L$ZLIB_ROOT/lib -L$OPENSSL_ROOT/lib" |
19 |
< |
./configure --enable-shared --prefix=%i --with-pic --without-zlib --with-expat |
19 |
> |
%else |
20 |
> |
export CPPFLAGS="-I$EXPAT_ROOT/include" |
21 |
> |
export LDFLAGS="-L$EXPAT_ROOT/lib" |
22 |
> |
%endif |
23 |
> |
|
24 |
> |
./configure --enable-shared --prefix=%i --with-pic --without-zlib --without-gssapi --with-expat |
25 |
|
make -j %makeprocesses |
26 |
|
%post |
27 |
|
%{relocateConfig}lib/libneon.la |