ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/libxml2.spec
Revision: 1.13
Committed: Thu Jun 18 12:05:18 2009 UTC (15 years, 10 months ago) by muzaffar
Branch: MAIN
CVS Tags: sm090619a, sm090618a
Changes since 1.12: +3 -2 lines
Log Message:
cleanup of hard coded online arch strings

File Contents

# User Rev Content
1 elmer 1.10 ### RPM external libxml2 2.6.23-CMS19
2 eulisse 1.4 Source: ftp://xmlsoft.org/%n/%n-%realversion.tar.gz
3 muzaffar 1.13 %define online %(case %cmsplatf in *onl_*_*) echo true ;; esac)
4 ratnik 1.7
5 muzaffar 1.13 %if "%online" != "true"
6 eulisse 1.1 Requires: zlib
7 ratnik 1.12 %endif
8 ratnik 1.7
9 eulisse 1.4 %prep
10     %setup -n %n-%realversion
11 eulisse 1.1 %build
12 muzaffar 1.13 %if "%online" != "true"
13 eulisse 1.5 ./configure --prefix=%i --with-zlib=$ZLIB_ROOT --without-python
14 ratnik 1.7 %else
15     ./configure --prefix=%i --with-zlib=/usr --without-python
16     %endif
17 eulisse 1.1 make %makeprocesses
18 eulisse 1.9 %post
19     %{relocateConfig}bin/xml2-config
20     %{relocateConfig}lib/libxml2.la
21     %{relocateConfig}lib/pkgconfig/libxml-2.0.pc
22     %{relocateConfig}lib/xml2Conf.sh