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.3 by eulisse, Thu Jun 15 09:29:47 2006 UTC

# Line 1 | Line 1
1   ### RPM external simage 1.6.1
2   Source: http://ftp.coin3d.org/coin/src/all/%{n}-%{v}.tar.gz
3 < Requires: libungif libjpg zlib libpng libtiff
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   %prep
11   %setup -n %{n}-%{v}
12  
13   %build
14 < ./configure --prefix=%i \
14 > 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              --with-ungif=$LIBUNGIF_ROOT \
24              --with-jpeg=$LIBJPG_ROOT \
25              --with-zlib=$ZLIB_ROOT \
26              --with-png=$LIBPNG_ROOT \
27 <            --with-tiff=$LIBTIFF_ROOT \
28 <            --without-oggvorbis
15 < make
27 >            --without-oggvorbis
28 > make -j 7

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines