Explorar o código

upgrading package: gdk-pixbuf 0.19.0 -> 0.22.0

Thomas Lotterer %!s(int64=22) %!d(string=hai) anos
pai
achega
6551f9db0a
Modificáronse 1 ficheiros con 8 adicións e 4 borrados
  1. 8 4
      gdk-pixbuf/gdk-pixbuf.spec

+ 8 - 4
gdk-pixbuf/gdk-pixbuf.spec

@@ -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} \