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.8 by ratnik, Wed Apr 18 23:46:02 2007 UTC vs.
Revision 1.13 by elmer, Fri Nov 2 18:24:54 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
1 > ### RPM external simage 1.6.1-CMS18
2 > Source: http://ftp.coin3d.org/coin/src/all/%{n}-%{realversion}.tar.gz
3   %define tmpplatf %(echo %cmsplatf | cut -d_ -f2)
4  
5   Requires: libungif libjpg zlib libpng
# Line 9 | Line 8 | Requires: libtiff
8   %endif
9  
10   %prep
11 < %setup -n %{n}-%{v}
11 > %setup -n %{n}-%{realversion}
12  
13   %build
15 ## IMPORT gcc-wrapper
14   CONFIGURE_ENV=
15   CONFIGURE_OPTS="--with-tiff=$LIBTIFF_ROOT"
16   %if "%tmpplatf" == "amd64"
# Line 29 | Line 27 | CONFIGURE_OPTS="--without-tiff"
27              --without-oggvorbis
28   make
29  
30 + %install
31 + make install
32 + # SCRAM ToolBox toolfile
33 + mkdir -p %i/etc/scram.d
34 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
35 + <doc type=BuildSystem::ToolDoc version=1.0>
36 + <Tool name=simage version=%v>
37 + <info url=http://www.coin3d.org/Coin3D/file_format_libs/simage></info>
38 + <Lib name=simage>
39 + <Client>
40 + <Environment name=SIMAGE_BASE default="%i"></Environment>
41 + <Environment name=LIBDIR default="$SIMAGE_BASE/lib"></Environment>
42 + <Environment name=INCLUDE default="$SIMAGE_BASE/include"></Environment>
43 + </Client>
44 + <use name=zlib>
45 + <use name=libjpg>      
46 + </Tool>
47 + EOF_TOOLFILE
48 +
49   %post
50   %{relocateConfig}bin/simage-config
51   %{relocateConfig}lib/libsimage.la
52   %{relocateConfig}share/Coin/conf/simage-default.cfg
53 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines