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