1 # Note that this is NOT a relocatable package
6 Summary: The Gimp Toolkit
12 Source: ftp://ftp.gimp.org/pub/gtk/v1.0/gtk+-%{ver}.tar.gz
13 BuildRoot: /tmp/gtk-root
15 Packager: Marc Ewing <marc@redhat.com>
16 URL: http://www.gtk.org
17 Prereq: /sbin/install-info
21 The X libraries originally written for the GIMP, which are now used by
22 several other programs as well.
25 Summary: GIMP Toolkit and GIMP Drawing Kit
29 PreReq: /sbin/install-info
32 Static libraries and header files for the GIMP's X libraries, which are
33 available as public libraries. GLIB includes generally useful data
34 structures, GDK is a drawing toolkit which provides a thin layer over
35 Xlib to help automate things like dealing with different color depths,
36 and GTK is a widget set for creating user interfaces.
40 * Tue Apr 8 1998 Shawn T. Amundson <amundson@gtk.org>
42 - Changed version to 1.0.0
44 * Tue Apr 7 1998 Owen Taylor <otaylor@gtk.org>
46 - Changed version to 0.99.10
48 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
50 - Changed version to 0.99.9
51 - Changed gtk home page to www.gtk.org
53 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
55 - Changed version to 0.99.8
57 * Sun Mar 15 1998 Marc Ewing <marc@redhat.com>
59 - Added aclocal and bin stuff to file list.
61 - Added -k to the SMP make line.
63 - Added lib/glib to file list.
65 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
67 - Changed version to 0.99.7
69 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
71 - Updated ftp url and changed version to 0.99.6
73 * Thu Mar 12 1998 Marc Ewing <marc@redhat.com>
75 - Reworked to integrate into gtk+ source tree
77 - Truncated ChangeLog. Previous Authors:
78 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
79 Michael K. Johnson <johnsonm@redhat.com>
80 Otto Hammersmith <otto@redhat.com>
86 # Needed for snapshot releases.
87 if [ ! -f configure ]; then
88 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
90 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
93 if [ "$SMP" != "" ]; then
94 (make "MAKE=make -k -j $SMP"; exit 0)
101 rm -rf $RPM_BUILD_ROOT
103 make prefix=$RPM_BUILD_ROOT%{prefix} install
105 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 /sbin/install-info %{prefix}/info/gdk.info.gz %{prefix}/info/dir
116 /sbin/install-info %{prefix}/info/gtk.info.gz %{prefix}/info/dir
120 /sbin/install-info --delete %{prefix}/info/gdk.info.gz %{prefix}/info/dir
121 /sbin/install-info --delete %{prefix}/info/gtk.info.gz %{prefix}/info/dir
125 %defattr(-, root, root)
127 %doc AUTHORS COPYING ChangeLog NEWS README TODO
128 %{prefix}/lib/lib*.so.*
131 %defattr(-, root, root)
133 %{prefix}/lib/lib*.so
138 %{prefix}/share/aclocal/*