|
|
@@ -38,7 +38,7 @@ Class: BASE
|
|
|
Group: Graphics
|
|
|
License: PDFlib
|
|
|
Version: %{V_long}
|
|
|
-Release: 20041217
|
|
|
+Release: 20041222
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.pdflib.com/products/pdflib/download/%{V_comp}src/PDFlib-Lite-%{V_long}.tar.gz
|
|
|
@@ -75,11 +75,11 @@ AutoReqProv: no
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
INSTALL="%{l_shtool} install -c" \
|
|
|
- PNGLIBINC="-I%{l_prefix}/include/libpng" \
|
|
|
+ PNGLIBINC="%{l_cppflags libpng .}" \
|
|
|
PNGLIBLINK="-lpng" \
|
|
|
- JPEGLIBINC="-I%{l_prefix}/include" \
|
|
|
+ JPEGLIBINC="%{l_cppflags}" \
|
|
|
JPEGLIBLINK="-ljpeg" \
|
|
|
- FLATELIBINC="-I%{l_prefix}/include" \
|
|
|
+ FLATELIBINC="%{l_cppflags}" \
|
|
|
FLATELIBLINK="-lz" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|