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

Comparing COMP/CMSDIST/libxml2.spec (file contents):
Revision 1.2 by ratnik, Wed Apr 18 23:46:01 2007 UTC vs.
Revision 1.14 by muzaffar, Fri Jun 19 09:34:07 2009 UTC

# Line 1 | Line 1
1 < ### RPM external libxml2 2.6.23
2 < Requires: gcc-wrapper
3 < Source: ftp://xmlsoft.org/%n/%n-%v.tar.gz
1 > ### RPM external libxml2 2.6.23-CMS19
2 > Source: ftp://xmlsoft.org/%n/%n-%realversion.tar.gz
3 > %define closingbrace )
4 > %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo flase;; esac)
5 >
6 > %if "%online" != "true"
7   Requires: zlib
8 + %endif
9  
10 + %prep
11 + %setup -n %n-%realversion
12   %build
13 < ## IMPORT gcc-wrapper
14 < ./configure --prefix=%i --with-zlib=$ZLIB_ROOT
13 > %if "%online" != "true"
14 > ./configure --prefix=%i --with-zlib=$ZLIB_ROOT --without-python
15 > %else
16 > ./configure --prefix=%i --with-zlib=/usr --without-python
17 > %endif
18   make %makeprocesses
19 + %post
20 + %{relocateConfig}bin/xml2-config
21 + %{relocateConfig}lib/libxml2.la
22 + %{relocateConfig}lib/pkgconfig/libxml-2.0.pc
23 + %{relocateConfig}lib/xml2Conf.sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines