|
|
@@ -23,6 +23,10 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+# package versions
|
|
|
+%define V_major 0.22
|
|
|
+%define V_minor 0
|
|
|
+
|
|
|
# package information
|
|
|
Name: gdk-pixbuf
|
|
|
Summary: Gtk Pixel Buffer Library
|
|
|
@@ -32,11 +36,11 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [PLUS]
|
|
|
Group: XWindow
|
|
|
License: GPL
|
|
|
-Version: 0.19.0
|
|
|
-Release: 20030117
|
|
|
+Version: %{V_major}.%{V_minor}
|
|
|
+Release: 20030528
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/gdk-pixbuf-%{version}.tar.bz2
|
|
|
+Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/%{V_major}/gdk-pixbuf-%{version}.tar.bz2
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -55,7 +59,7 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
|
|
|
+ CPPFLAGS="%{l_cppflags tiff glib}" \
|
|
|
LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|