2 Summary: The Gimp Toolkit
7 Source: ftp://ftp.gimp.org/pub/gtk/v1.1/gtk+-%{version}.tar.gz
8 BuildRoot: /var/tmp/gtk-%{version}-root
10 URL: http://www.gtk.org
11 Requires: glib >= %{version}
14 BuildRequires: glib-devel
15 BuildRequires: pango-devel
16 BuildRequires: atk-devel
19 The X libraries originally written for the GIMP, which are now used by
20 several other programs as well.
23 Summary: GIMP Toolkit and GIMP Drawing Kit
25 Requires: %{name} = %{version}
29 Static libraries and header files for the GIMP's X libraries, which are
30 available as public libraries. GLIB includes generally useful data
31 structures, GDK is a drawing toolkit which provides a thin layer over
32 Xlib to help automate things like dealing with different color depths,
33 and GTK is a widget set for creating user interfaces.
41 MYARCH_FLAGS="--host=alpha-redhat-linux"
44 # Needed for snapshot releases.
45 MYCFLAGS="$RPM_OPT_FLAGS"
46 if [ ! -f configure ]; then
47 CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS \
49 --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir} \
50 --mandir=%{_mandir} --libdir=%{_libdir} \
51 --includedir=%{_includedir}
53 CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS \
54 --prefix=%{_prefix} --localstatedir=%{_localstatedir} \
55 --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} \
56 --libdir=%{_libdir} --includedir=%{_includedir} --disable-gtk-doc
59 if [ "$SMP" != "" ]; then
60 (make "MAKE=make -k -j $SMP"; exit 0)
67 rm -rf $RPM_BUILD_ROOT
69 make -k sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
70 prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \
71 localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
72 libdir=$RPM_BUILD_ROOT%{_libdir} \
73 includedir=$RPM_BUILD_ROOT%{_includedir} install
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(-, root, root)
85 %doc AUTHORS COPYING ChangeLog NEWS README TODO
87 %{_libdir}/libgtk*.so.*
88 %{_libdir}/libgdk*.so.*
89 %{_libdir}/gtk-2.0/%{version}/*/*.so
90 #%{_datadir}/locale/*/*/*
91 %{_sysconfdir}/gtk-2.0/gtk.immodules
94 %defattr(-, root, root)
98 %{_libdir}/gtk-2.0/%{version}/*/*a
99 %{_libdir}/gtk-2.0/include
100 %{_libdir}/pkgconfig/*.pc
101 %{_includedir}/gtk-2.0
103 %{_datadir}/aclocal/*
104 %{_datadir}/gtk-doc/html/*
108 * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
109 - Updated spec file to match gpp standard and
111 - Removed all hardcoded paths, use rpm macros instead.
112 - Added pango and atk Requires: and BuildRequires: statements.
113 - Removed Docdir: statement.
114 - Moved ChangeLog to the end of the file.
115 - Truncated ChangeLog (Mar 12 1998 - Jun 1 1999)
117 Jose Mercado <jmercado@mit.edu>
118 Michael Fulbright <drmike@redhat.com>
119 Shawn T. Amundson <amundson@gtk.org>
120 Dick Porter <dick@cymru.net>
121 Marc Ewing <marc@redhat.com>
122 Owen Taylor <otaylor@gtk.org>
123 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
124 Michael K. Johnson <johnsonm@redhat.com>
125 Otto Hammersmith <otto@redhat.com>