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
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 Aug 04 1998 Michael Fulbright <msf@redhat.com>
43 - change %postun to %preun
45 * Mon Jun 27 1998 Shawn T. Amundson
47 - Changed version to 1.1.0
49 * Thu Jun 11 1998 Dick Porter <dick@cymru.net>
51 - Removed glib, since it is its own module now
53 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
55 - Split out glib package
57 * Tue Apr 8 1998 Shawn T. Amundson <amundson@gtk.org>
59 - Changed version to 1.0.0
61 * Tue Apr 7 1998 Owen Taylor <otaylor@gtk.org>
63 - Changed version to 0.99.10
65 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
67 - Changed version to 0.99.9
68 - Changed gtk home page to www.gtk.org
70 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
72 - Changed version to 0.99.8
74 * Sun Mar 15 1998 Marc Ewing <marc@redhat.com>
76 - Added aclocal and bin stuff to file list.
78 - Added -k to the SMP make line.
80 - Added lib/glib to file list.
82 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
84 - Changed version to 0.99.7
86 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
88 - Updated ftp url and changed version to 0.99.6
90 * Thu Mar 12 1998 Marc Ewing <marc@redhat.com>
92 - Reworked to integrate into gtk+ source tree
94 - Truncated ChangeLog. Previous Authors:
95 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
96 Michael K. Johnson <johnsonm@redhat.com>
97 Otto Hammersmith <otto@redhat.com>
103 # Needed for snapshot releases.
104 if [ ! -f configure ]; then
105 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
107 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
110 if [ "$SMP" != "" ]; then
111 (make "MAKE=make -k -j $SMP"; exit 0)
118 rm -rf $RPM_BUILD_ROOT
120 make prefix=$RPM_BUILD_ROOT%{prefix} install
122 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
125 rm -rf $RPM_BUILD_ROOT
127 %post -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
132 /sbin/install-info %{prefix}/info/gdk.info.gz %{prefix}/info/dir
133 /sbin/install-info %{prefix}/info/gtk.info.gz %{prefix}/info/dir
137 /sbin/install-info --delete %{prefix}/info/gdk.info.gz %{prefix}/info/dir
138 /sbin/install-info --delete %{prefix}/info/gtk.info.gz %{prefix}/info/dir
142 %defattr(-, root, root)
144 %doc AUTHORS COPYING ChangeLog NEWS README TODO
145 %{prefix}/lib/libgtk-1.1.so.*
146 %{prefix}/lib/libgdk-1.1.so.*
149 %defattr(-, root, root)
151 %{prefix}/lib/lib*.so
155 %{prefix}/share/aclocal/*