Revision: | 1.6 |
Committed: | Fri Jul 14 14:04:56 2006 UTC (18 years, 9 months ago) by eulisse |
Branch: | MAIN |
CVS Tags: | for112, for111, for120p4, for120p3, for106, ge20061020-for106, pre-for106, for120p2, for105, for104, for110, for120p1, for110p4, for103, for110p3, for102, for101-take3, for101-take2, for101, forGeant481, for110p2, CMSSW_1_0_0, for110p5, for110p1, for084, for100p4, argiro-20060904-for100p4, for092, for137a_pre083_take2, pe20060827a, for137a_pre083, ge20060825, for100p2, for100pre1, for091, for082, for090, CMSSW_0_8_1, for090_RC1, CMSSW_0_9_0_pre3, for090p2, forCMSSW090p2, for090p2_RC5, for090p2_RC4, for090p2_RC3, for090p2_RC2, for090p2_RC1, for080_amd64 |
Branch point for: | lcg47branch |
Changes since 1.5: | +3 -1 lines |
Log Message: | Relocates simage-config. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | ### RPM external simage 1.6.1 |
2 | Source: http://ftp.coin3d.org/coin/src/all/%{n}-%{v}.tar.gz | ||
3 | eulisse | 1.3 | %define tmpplatf %(echo %cmsplatf | cut -d_ -f2) |
4 | |||
5 | Requires: libungif libjpg zlib libpng | ||
6 | %if "%tmpplatf" != "amd64" | ||
7 | Requires: libtiff | ||
8 | %endif | ||
9 | |||
10 | eulisse | 1.1 | %prep |
11 | %setup -n %{n}-%{v} | ||
12 | eulisse | 1.2 | |
13 | eulisse | 1.1 | %build |
14 | eulisse | 1.3 | CONFIGURE_ENV= |
15 | CONFIGURE_OPTS="--with-tiff=$LIBTIFF_ROOT" | ||
16 | %if "%tmpplatf" == "amd64" | ||
17 | CONFIGURE_ENV="LD=gcc" | ||
18 | CONFIGURE_OPTS="--without-tiff" | ||
19 | %endif | ||
20 | |||
21 | ./configure $CONFIGURE_ENV --prefix=%i \ | ||
22 | $CONFIGURE_OPTS \ | ||
23 | eulisse | 1.2 | --with-ungif=$LIBUNGIF_ROOT \ |
24 | --with-jpeg=$LIBJPG_ROOT \ | ||
25 | --with-zlib=$ZLIB_ROOT \ | ||
26 | --with-png=$LIBPNG_ROOT \ | ||
27 | eulisse | 1.3 | --without-oggvorbis |
28 | eulisse | 1.4 | make |
29 | eulisse | 1.6 | |
30 | %post | ||
31 | %{relocateConfig}bin/simage-config |