1 # Note that this is NOT a relocatable package
6 Summary: The Gimp Toolkit
12 Source: ftp://ftp.gimp.org/pub/gtk/v1.1/gtk+-%{ver}.tar.gz
13 BuildRoot: /var/tmp/gtk-%{PACKAGE_VERSION}-root
15 Packager: Christopher Blizzard <blizzard@redhat.com>
16 URL: http://www.gtk.org
17 Prereq: /sbin/install-info
22 The X libraries originally written for the GIMP, which are now used by
23 several other programs as well.
26 Summary: GIMP Toolkit and GIMP Drawing Kit
30 PreReq: /sbin/install-info
33 Static libraries and header files for the GIMP's X libraries, which are
34 available as public libraries. GLIB includes generally useful data
35 structures, GDK is a drawing toolkit which provides a thin layer over
36 Xlib to help automate things like dealing with different color depths,
37 and GTK is a widget set for creating user interfaces.
41 * Tue Jun 1 1999 Jose Mercado <jmercado@mit.edu>
42 - Corrected some typos in files section.
44 * Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
47 * Sun Oct 25 1998 Shawn T. Amundson <amundson@gtk.org>
49 - Fixed Source: to point to v1.1
51 * Tue Aug 04 1998 Michael Fulbright <msf@redhat.com>
53 - change %postun to %preun
55 * Mon Jun 27 1998 Shawn T. Amundson
57 - Changed version to 1.1.0
59 * Thu Jun 11 1998 Dick Porter <dick@cymru.net>
61 - Removed glib, since it is its own module now
63 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
65 - Split out glib package
67 * Tue Apr 8 1998 Shawn T. Amundson <amundson@gtk.org>
69 - Changed version to 1.0.0
71 * Tue Apr 7 1998 Owen Taylor <otaylor@gtk.org>
73 - Changed version to 0.99.10
75 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
77 - Changed version to 0.99.9
78 - Changed gtk home page to www.gtk.org
80 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
82 - Changed version to 0.99.8
84 * Sun Mar 15 1998 Marc Ewing <marc@redhat.com>
86 - Added aclocal and bin stuff to file list.
88 - Added -k to the SMP make line.
90 - Added lib/glib to file list.
92 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
94 - Changed version to 0.99.7
96 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
98 - Updated ftp url and changed version to 0.99.6
100 * Thu Mar 12 1998 Marc Ewing <marc@redhat.com>
102 - Reworked to integrate into gtk+ source tree
104 - Truncated ChangeLog. Previous Authors:
105 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
106 Michael K. Johnson <johnsonm@redhat.com>
107 Otto Hammersmith <otto@redhat.com>
113 # Needed for snapshot releases.
114 if [ ! -f configure ]; then
115 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
117 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
120 if [ "$SMP" != "" ]; then
121 (make "MAKE=make -k -j $SMP"; exit 0)
128 rm -rf $RPM_BUILD_ROOT
130 make prefix=$RPM_BUILD_ROOT%{prefix} install
132 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
135 rm -rf $RPM_BUILD_ROOT
137 %post -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
142 /sbin/install-info %{prefix}/info/gdk.info.gz %{prefix}/info/dir
143 /sbin/install-info %{prefix}/info/gtk.info.gz %{prefix}/info/dir
147 /sbin/install-info --delete %{prefix}/info/gdk.info.gz %{prefix}/info/dir
148 /sbin/install-info --delete %{prefix}/info/gtk.info.gz %{prefix}/info/dir
152 %defattr(-, root, root)
154 %doc AUTHORS COPYING ChangeLog NEWS README TODO
155 %{prefix}/lib/libgtk-1.3.so.*
156 %{prefix}/lib/libgdk-1.3.so.*
157 %{prefix}/share/themes/Default
158 %{prefix}/share/locale/*/*/*
162 %defattr(-, root, root)
164 %{prefix}/lib/lib*.so
169 %{prefix}/share/aclocal/*