1 # Note that this is NOT a relocatable package
4 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
7 Summary: The Gimp Toolkit
13 Source: ftp://ftp.gimp.org/pub/gtk/v1.1/gtk+-%{ver}.tar.gz
14 BuildRoot: /var/tmp/gtk-%{PACKAGE_VERSION}-root
16 Packager: Christopher Blizzard <blizzard@redhat.com>
17 URL: http://www.gtk.org
18 Prereq: /sbin/install-info
23 The X libraries originally written for the GIMP, which are now used by
24 several other programs as well.
27 Summary: GIMP Toolkit and GIMP Drawing Kit
31 PreReq: /sbin/install-info
34 Static libraries and header files for the GIMP's X libraries, which are
35 available as public libraries. GLIB includes generally useful data
36 structures, GDK is a drawing toolkit which provides a thin layer over
37 Xlib to help automate things like dealing with different color depths,
38 and GTK is a widget set for creating user interfaces.
42 * Tue Jun 1 1999 Jose Mercado <jmercado@mit.edu>
43 - Corrected some typos in files section.
45 * Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
48 * Sun Oct 25 1998 Shawn T. Amundson <amundson@gtk.org>
50 - Fixed Source: to point to v1.1
52 * Tue Aug 04 1998 Michael Fulbright <msf@redhat.com>
54 - change %postun to %preun
56 * Mon Jun 27 1998 Shawn T. Amundson
58 - Changed version to 1.1.0
60 * Thu Jun 11 1998 Dick Porter <dick@cymru.net>
62 - Removed glib, since it is its own module now
64 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
66 - Split out glib package
68 * Tue Apr 8 1998 Shawn T. Amundson <amundson@gtk.org>
70 - Changed version to 1.0.0
72 * Tue Apr 7 1998 Owen Taylor <otaylor@gtk.org>
74 - Changed version to 0.99.10
76 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
78 - Changed version to 0.99.9
79 - Changed gtk home page to www.gtk.org
81 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
83 - Changed version to 0.99.8
85 * Sun Mar 15 1998 Marc Ewing <marc@redhat.com>
87 - Added aclocal and bin stuff to file list.
89 - Added -k to the SMP make line.
91 - Added lib/glib to file list.
93 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
95 - Changed version to 0.99.7
97 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
99 - Updated ftp url and changed version to 0.99.6
101 * Thu Mar 12 1998 Marc Ewing <marc@redhat.com>
103 - Reworked to integrate into gtk+ source tree
105 - Truncated ChangeLog. Previous Authors:
106 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
107 Michael K. Johnson <johnsonm@redhat.com>
108 Otto Hammersmith <otto@redhat.com>
114 # Needed for snapshot releases.
115 if [ ! -f configure ]; then
116 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
118 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
121 if [ "$SMP" != "" ]; then
122 (make "MAKE=make -k -j $SMP"; exit 0)
129 rm -rf $RPM_BUILD_ROOT
131 make prefix=$RPM_BUILD_ROOT%{prefix} install
133 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
136 rm -rf $RPM_BUILD_ROOT
138 %post -p /sbin/ldconfig
140 %postun -p /sbin/ldconfig
143 /sbin/install-info %{prefix}/info/gdk.info.gz %{prefix}/info/dir
144 /sbin/install-info %{prefix}/info/gtk.info.gz %{prefix}/info/dir
148 /sbin/install-info --delete %{prefix}/info/gdk.info.gz %{prefix}/info/dir
149 /sbin/install-info --delete %{prefix}/info/gtk.info.gz %{prefix}/info/dir
153 %defattr(-, root, root)
155 %doc AUTHORS COPYING ChangeLog NEWS README TODO
156 %{prefix}/lib/libgtk-1.3.so.*
157 %{prefix}/lib/libgdk-1.3.so.*
158 %{prefix}/share/themes/Default
159 %{prefix}/share/locale/*/*/*
163 %defattr(-, root, root)
165 %{prefix}/lib/lib*.so
168 %{prefix}/include/lib/gtk+/include/*
171 %{prefix}/share/aclocal/*