ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/neon.spec
(Generate patch)

Comparing COMP/CMSDIST/neon.spec (file contents):
Revision 1.3 by elmer, Mon Jul 2 14:31:48 2007 UTC vs.
Revision 1.9 by elmer, Thu Dec 27 20:46:00 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines