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

Comparing COMP/CMSDIST/simage.spec (file contents):
Revision 1.2 by eulisse, Tue Apr 25 14:14:52 2006 UTC vs.
Revision 1.8 by ratnik, Wed Apr 18 23:46:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external simage 1.6.1
2 + Requires: gcc-wrapper
3   Source: http://ftp.coin3d.org/coin/src/all/%{n}-%{v}.tar.gz
4 < Requires: libungif libjpg zlib libpng libtiff
4 > %define tmpplatf %(echo %cmsplatf | cut -d_ -f2)
5 >
6 > Requires: libungif libjpg zlib libpng
7 > %if "%tmpplatf" != "amd64"
8 > Requires: libtiff
9 > %endif
10 >
11   %prep
12   %setup -n %{n}-%{v}
13  
14   %build
15 < ./configure --prefix=%i \
15 > ## IMPORT gcc-wrapper
16 > CONFIGURE_ENV=
17 > CONFIGURE_OPTS="--with-tiff=$LIBTIFF_ROOT"
18 > %if "%tmpplatf" == "amd64"
19 > CONFIGURE_ENV="LD=gcc"
20 > CONFIGURE_OPTS="--without-tiff"
21 > %endif
22 >
23 > ./configure $CONFIGURE_ENV --prefix=%i \
24 >            $CONFIGURE_OPTS \
25              --with-ungif=$LIBUNGIF_ROOT \
26              --with-jpeg=$LIBJPG_ROOT \
27              --with-zlib=$ZLIB_ROOT \
28              --with-png=$LIBPNG_ROOT \
29 <            --with-tiff=$LIBTIFF_ROOT \
30 <            --without-oggvorbis
31 < make
29 >            --without-oggvorbis
30 > make
31 >
32 > %post
33 > %{relocateConfig}bin/simage-config
34 > %{relocateConfig}lib/libsimage.la
35 > %{relocateConfig}share/Coin/conf/simage-default.cfg

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines