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.5 by ratnik, Fri Oct 12 01:20:49 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 +
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  
# Line 13 | Line 22 | Requires: openssl zlib
22  
23   export CFLAGS="-fPIC -g -O2"
24  
25 < %if "%{?online_release:set}" != "set"
26 < 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 < %else
20 < export CPPFLAGS="-I$EXPAT_ROOT/include"
21 < export LDFLAGS="-L$EXPAT_ROOT/lib"
22 < %endif
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines