ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/libxml2.spec
Revision: 1.9
Committed: Wed Dec 12 09:59:48 2007 UTC (17 years, 4 months ago) by eulisse
Branch: MAIN
CVS Tags: ge20071212-perfreport
Changes since 1.8: +6 -3 lines
Log Message:
Fixes libxml2.spec to work with perfreport
* -perfreport suffix added.
* Now the %post section relocates xml2-config and others.
* remove online_release stuff.

File Contents

# User Rev Content
1 eulisse 1.9 ### RPM external libxml2 2.6.23-perfreport
2 eulisse 1.4 Source: ftp://xmlsoft.org/%n/%n-%realversion.tar.gz
3 ratnik 1.7
4 eulisse 1.1 Requires: zlib
5 ratnik 1.7
6 eulisse 1.4 %prep
7     %setup -n %n-%realversion
8 eulisse 1.1 %build
9 ratnik 1.7 %if "%{?online_release:set}" != "set"
10 eulisse 1.5 ./configure --prefix=%i --with-zlib=$ZLIB_ROOT --without-python
11 ratnik 1.7 %else
12     ./configure --prefix=%i --with-zlib=/usr --without-python
13     %endif
14 eulisse 1.1 make %makeprocesses
15 eulisse 1.9 %post
16     %{relocateConfig}bin/xml2-config
17     %{relocateConfig}lib/libxml2.la
18     %{relocateConfig}lib/pkgconfig/libxml-2.0.pc
19     %{relocateConfig}lib/xml2Conf.sh