|
|
@@ -24,8 +24,8 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_major 5.5.7
|
|
|
-%define V_minor 17
|
|
|
+%define V_major 6.0.0
|
|
|
+%define V_minor 0
|
|
|
%if "%{V_minor}" == "0"
|
|
|
%define V_dist %{V_major}
|
|
|
%else
|
|
|
@@ -43,7 +43,7 @@ Class: BASE
|
|
|
Group: Graphics
|
|
|
License: GPL
|
|
|
Version: %{V_major}.%{V_minor}
|
|
|
-Release: 20040403
|
|
|
+Release: 20040411
|
|
|
|
|
|
# package options
|
|
|
%option with_perl no
|
|
|
@@ -57,8 +57,8 @@ Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
-BuildPreReq: tiff, jpeg, bzip2, zlib, png, freetype
|
|
|
-PreReq: tiff, jpeg, bzip2, zlib, png, freetype
|
|
|
+BuildPreReq: tiff, jpeg, jasper, bzip2, zlib, png, freetype, lcms, libxml
|
|
|
+PreReq: tiff, jpeg, jasper, bzip2, zlib, png, freetype, lcms, libxml
|
|
|
%if "%{with_perl}" == "yes"
|
|
|
BuildPreReq: perl
|
|
|
PreReq: perl
|
|
|
@@ -106,18 +106,28 @@ AutoReqProv: no
|
|
|
CPPFLAGS="%{l_cppflags tiff}" \
|
|
|
CXXFLAGS="%{l_cxxflags -O}" \
|
|
|
LDFLAGS="%{l_ldflags}" \
|
|
|
+ LIBS="-liconv" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--without-magick-plus-plus \
|
|
|
+ --without-modules \
|
|
|
+ --disable-shared \
|
|
|
--enable-lzw \
|
|
|
+ --with-zlib \
|
|
|
+ --with-bzlib \
|
|
|
--with-tiff \
|
|
|
--with-jpeg \
|
|
|
+ --with-jp2 \
|
|
|
--with-png \
|
|
|
+ --with-ttf \
|
|
|
+ --with-xml \
|
|
|
+ --with-lcms \
|
|
|
--without-perl \
|
|
|
%if "%{with_x11}" == "yes"
|
|
|
--with-x \
|
|
|
--x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
|
|
|
--x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
|
|
|
+ --without-dps \
|
|
|
%else
|
|
|
--without-x \
|
|
|
%endif
|