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