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.7 by eulisse, Thu Nov 22 09:31:36 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines