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-perfreport |
2 |
> |
Source: ftp://xmlsoft.org/%n/%n-%realversion.tar.gz |
3 |
> |
|
4 |
|
Requires: zlib |
5 |
|
|
6 |
+ |
%prep |
7 |
+ |
%setup -n %n-%realversion |
8 |
|
%build |
9 |
< |
## IMPORT gcc-wrapper |
10 |
< |
./configure --prefix=%i --with-zlib=$ZLIB_ROOT |
9 |
> |
%if "%{?online_release:set}" != "set" |
10 |
> |
./configure --prefix=%i --with-zlib=$ZLIB_ROOT --without-python |
11 |
> |
%else |
12 |
> |
./configure --prefix=%i --with-zlib=/usr --without-python |
13 |
> |
%endif |
14 |
|
make %makeprocesses |
15 |
+ |
%post |
16 |
+ |
%{relocateConfig}bin/xml2-config |
17 |
+ |
%{relocateConfig}lib/libxml2.la |
18 |
+ |
%{relocateConfig}lib/pkgconfig/libxml-2.0.pc |
19 |
+ |
%{relocateConfig}lib/xml2Conf.sh |