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 |
|
%define tmpplatf %(echo %cmsplatf | cut -d_ -f2) |
5 |
|
|
12 |
|
%setup -n %{n}-%{v} |
13 |
|
|
14 |
|
%build |
15 |
+ |
## IMPORT gcc-wrapper |
16 |
|
CONFIGURE_ENV= |
17 |
|
CONFIGURE_OPTS="--with-tiff=$LIBTIFF_ROOT" |
18 |
|
%if "%tmpplatf" == "amd64" |
27 |
|
--with-zlib=$ZLIB_ROOT \ |
28 |
|
--with-png=$LIBPNG_ROOT \ |
29 |
|
--without-oggvorbis |
30 |
< |
make -j 7 |
30 |
> |
make |
31 |
> |
|
32 |
> |
%post |
33 |
> |
%{relocateConfig}bin/simage-config |
34 |
> |
%{relocateConfig}lib/libsimage.la |
35 |
> |
%{relocateConfig}share/Coin/conf/simage-default.cfg |