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
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
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 Jun 1 1999 Jose Mercado <jmercado@mit.edu>
41 - Corrected some typos in files section.
43 * Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
46 * Sun Oct 25 1998 Shawn T. Amundson <amundson@gtk.org>
48 - Fixed Source: to point to v1.1
50 * Tue Aug 04 1998 Michael Fulbright <msf@redhat.com>
52 - change %postun to %preun
54 * Mon Jun 27 1998 Shawn T. Amundson
56 - Changed version to 1.1.0
58 * Thu Jun 11 1998 Dick Porter <dick@cymru.net>
60 - Removed glib, since it is its own module now
62 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
64 - Split out glib package
66 * Tue Apr 8 1998 Shawn T. Amundson <amundson@gtk.org>
68 - Changed version to 1.0.0
70 * Tue Apr 7 1998 Owen Taylor <otaylor@gtk.org>
72 - Changed version to 0.99.10
74 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
76 - Changed version to 0.99.9
77 - Changed gtk home page to www.gtk.org
79 * Thu Mar 19 1998 Shawn T. Amundson <amundson@gimp.org>
81 - Changed version to 0.99.8
83 * Sun Mar 15 1998 Marc Ewing <marc@redhat.com>
85 - Added aclocal and bin stuff to file list.
87 - Added -k to the SMP make line.
89 - Added lib/glib to file list.
91 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
93 - Changed version to 0.99.7
95 * Fri Mar 14 1998 Shawn T. Amundson <amundson@gimp.org>
97 - Updated ftp url and changed version to 0.99.6
99 * Thu Mar 12 1998 Marc Ewing <marc@redhat.com>
101 - Reworked to integrate into gtk+ source tree
103 - Truncated ChangeLog. Previous Authors:
104 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
105 Michael K. Johnson <johnsonm@redhat.com>
106 Otto Hammersmith <otto@redhat.com>
112 # Needed for snapshot releases.
113 if [ ! -f configure ]; then
114 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
116 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
119 if [ "$SMP" != "" ]; then
120 (make "MAKE=make -k -j $SMP"; exit 0)
127 rm -rf $RPM_BUILD_ROOT
129 make prefix=$RPM_BUILD_ROOT%{prefix} install
132 rm -rf $RPM_BUILD_ROOT
134 %post -p /sbin/ldconfig
136 %postun -p /sbin/ldconfig
139 %defattr(-, root, root)
141 %doc AUTHORS COPYING ChangeLog NEWS README TODO
142 %{prefix}/lib/libgtk-1.3.so.*
143 %{prefix}/lib/libgdk-1.3.so.*
144 %{prefix}/share/themes/Default
145 %{prefix}/share/locale/*/*/*
149 %defattr(-, root, root)
151 %{prefix}/lib/lib*.so
154 %{prefix}/include/lib/gtk+-2.0/include/*
156 %{prefix}/share/aclocal/*