# Note that this is NOT a relocatable package # Something's not quite right with libtool.... %define __libtoolize : Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X. (Beta version) Name: gtk2 ## note that there is a dir in the file list that contains the version, ## but isn't using this variable Version: 1.3.6 Release: 5 License: LGPL Group: System Environment/Libraries Source: gtk+-%{version}.tar.gz Source1: gtk-beta-rc-default Source2: fixed-ltmain.sh BuildPrereq: atk-devel BuildPrereq: pango-devel BuildPrereq: glib2-devel BuildPrereq: libtiff-devel BuildPrereq: libjpeg-devel BuildPrereq: libpng-devel BuildRoot: /var/tmp/gtk-%{PACKAGE_VERSION}-root Obsoletes: gtk+-gtkbeta Obsoletes: Inti URL: http://www.gtk.org # We need to prereq these so we can run gtk-query-immodules-2.0 Prereq: glib2 >= %{version} Prereq: atk >= 0.2 Prereq: pango >= 0.17 %description The gtk+ package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System. GTK+ was originally written for the GIMP (GNU Image Manipulation Program) image processing program, but is now used by several other programs as well. This package is a beta version of the next release of GTK+. You should only install this package if you are a developer who wants to start developing against the new version of GTK+. %package devel Summary: Development tools for GTK+ applications. (Beta version) Group: Development/Libraries Requires: gtk2 = %{PACKAGE_VERSION} Requires: pango-devel Requires: atk-devel Requires: XFree86-devel Obsoletes: gtk+-gtkbeta-devel Obsoletes: Inti-devel %description devel The gtk+-devel package contains the static libraries and header files needed for developing GTK+ (GIMP ToolKit) applications. The gtk+-devel package contains glib (a collection of routines for simplifying the development of GTK+ applications), GDK (the General Drawing Kit, which simplifies the interface for writing GTK+ widgets and using GTK+ widgets in applications), and GTK+ (the widget set). This package is a beta version of the next release of GTK+. You should only install this package if you are a developer who wants to start developing against the new version of GTK+. %changelog * Thu Jul 26 2001 Havoc Pennington - Obsolete Inti and Inti-devel, #49967 * Sat Jul 21 2001 Owen Taylor - PreReq specific pango and atk versions (#49434) - Don't package gtk.immodules (#49584) - Added BuildPrereq for libtiff-devel, libjpeg-devel, libpng-devel (#49495) - Configure with --disable-gtk-doc (#48987) - Package libgdk_pixbuf_xlib (#47753) * Sat Jul 7 2001 Tim Powers - languify to satisfy rpmlint * Thu Jun 21 2001 Florian La Roche - use something better than libtool * Wed Jun 13 2001 Havoc Pennington - 1.3.6 - libtool hackery - obsolete gtk+-gtkbeta-devel * Fri May 4 2001 Owen Taylor - Version 1.3.5 - Rename to gtk2 * Fri Nov 17 2000 Owen Taylor - Final 1.3.2 * Tue Nov 14 2000 Owen Taylor - New snapshot * Mon Nov 13 2000 Owen Taylor - 1.3.2pre1 snapshot version * Sun Aug 13 2000 Owen Taylor - Rename to 1.3.1b to avoid version increment difficulties * Thu Aug 10 2000 Havoc Pennington - Fix .pc files to not contain -I/usr/include * Thu Aug 10 2000 Havoc Pennington - Update to a CVS snapshot * Fri Jul 14 2000 Owen Taylor - Removed stray b from %%postun - Real 1.3.1 tarball fixing stupid omission in gtk-config * Fri Jul 07 2000 Owen Taylor - Version 1.3.1 - move back to /usr - Remove gtk-config.1 manpage from build since it conflicts with gtk+-devel. When we go to gtk+ gtk+1.2 setup, we should add it back * Fri Jun 30 2000 Owen Taylor - Rename gtkrc-default source so that it GTK+ package can't remove it * Thu Jun 8 2000 Owen Taylor - Rebuild with a prefix of /opt/gtk-beta * Wed May 31 2000 Owen Taylor - New version * Tue Apr 25 2000 Owen Taylor - Snapshot version to install in /opt/pango * Mon Feb 21 2000 Owen Taylor - Fix weird excess problem that somehow turned up in /etc/gtkrc.LANG * Mon Feb 14 2000 Owen Taylor - More patches from 1.2.7 * Fri Feb 04 2000 Owen Taylor - Set the charset explicitely for the default font to avoid problems with XFree86-4.0 where the default charset is iso10646-1, not iso8859-1. - Fix problems with size requisitions for scrolled windows that was causing looping. (RH bug #7997) * Thu Feb 03 2000 Owen Taylor - Explicitely set the foreground of the tooltips to black to avoid bad interactions with themes that set a light foreground color. * Thu Feb 03 2000 Owen Taylor - Added large patch of bugfixes in stable branch of CVS * Tue Oct 12 1999 Owen Taylor - Added Akira Higuti's patch for line-wrapping in GTK+ * Thu Oct 7 1999 Owen Taylor - version 1.2.6 * Thu Sep 23 1999 Owen Taylor - version 1.2.5 - install tutorial GIFs * Wed Sep 22 1999 Owen Taylor - Upgrade to real 1.2.5pre2 - Changed name so upgrade to 1.2.5 will work :-( - Add extra gtkrc files - Add examples and English language tutorial to -devel package * Fri Sep 17 1999 Owen Taylor - Upgraded to 1.2.5pre2. (Actually, pre-pre-2) * Tue Aug 17 1999 Michael Fulbright - added threaded patch * Mon Jun 7 1999 Owen Taylor - Update for GTK+-1.2.3 - Patches that will be in GTK+-1.2.4 - Patch to keep GTK+ from coredumping on X IO errors - Patch to improve compatilibity with GTK-1.2.1 (allow event mask to be set on realized widgets) * Mon Apr 19 1999 Michael Fulbright - fixes memory leak * Mon Apr 12 1999 Owen Taylor - The important bug fixes that will be in GTK+-1.2.2 * Thu Apr 01 1999 Michael Fulbright - patches from owen to handle various gdk bugs * Sun Mar 28 1999 Michael Fulbright - added XFree86-devel requirement for gtk+-devel * Thu Mar 25 1999 Michael Fulbright - version 1.2.1 * Wed Mar 17 1999 Michael Fulbright - removed /usr/info/dir.gz file from package * Fri Feb 26 1999 Michael Fulbright - Version 1.2.0 * Thu Feb 25 1999 Michael Fulbright - version 1.2.0pre2, patched to use --sysconfdir=/etc * Mon Feb 15 1999 Michael Fulbright - patched in Owen's patch to fix Metal theme * Fri Feb 05 1999 Michael Fulbright - bumped up to 1.1.15 * Wed Feb 03 1999 Michael Fulbright - bumped up to 1.1.14 * Mon Jan 18 1999 Michael Fulbright - bumped up to 1.1.13 * Wed Jan 06 1999 Michael Fulbright - bumped up to 1.1.12 * Wed Dec 16 1998 Michael Fulbright - added Theme directory to file list - up to 1.1.7 for GNOME freeze * Sun Oct 25 1998 Shawn T. Amundson - Fixed Source: to point to v1.1 * Tue Aug 04 1998 Michael Fulbright - change %postun to %preun * Mon Jun 27 1998 Shawn T. Amundson - Changed version to 1.1.0 * Thu Jun 11 1998 Dick Porter - Removed glib, since it is its own module now * Mon Apr 13 1998 Marc Ewing - Split out glib package * Tue Apr 8 1998 Shawn T. Amundson - Changed version to 1.0.0 * Tue Apr 7 1998 Owen Taylor - Changed version to 0.99.10 * Thu Mar 19 1998 Shawn T. Amundson - Changed version to 0.99.9 - Changed gtk home page to www.gtk.org * Thu Mar 19 1998 Shawn T. Amundson - Changed version to 0.99.8 * Sun Mar 15 1998 Marc Ewing - Added aclocal and bin stuff to file list. - Added -k to the SMP make line. - Added lib/glib to file list. * Fri Mar 14 1998 Shawn T. Amundson - Changed version to 0.99.7 * Fri Mar 14 1998 Shawn T. Amundson - Updated ftp url and changed version to 0.99.6 * Thu Mar 12 1998 Marc Ewing - Reworked to integrate into gtk+ source tree - Truncated ChangeLog. Previous Authors: Trond Eivind Glomsrod Michael K. Johnson Otto Hammersmith %prep %setup -n gtk+-%{version} for i in config.guess config.sub ; do test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i . done %build rm ltmain.sh && cp %{SOURCE2} ltmain.sh %configure --with-xinput=xfree --disable-gtk-doc make %install rm -rf $RPM_BUILD_ROOT %makeinstall # # Make cleaned-up versions of examples and tutorial for installation # ./mkinstalldirs tmpdocs/tutorial # install -m 0644 docs/html/gtk_tut.html docs/html/gtk_tut-[0-9]*.html docs/html/*.gif tmpdocs/tutorial for dir in examples/* ; do if [ -d $dir ] ; then ./mkinstalldirs tmpdocs/$dir for file in $dir/* ; do case $file in *pre1.2.7) ;; *) install -m 0644 $file tmpdocs/$dir ;; esac done fi done # Install the demo programs cd tests ../libtool --mode=install install testgtk $RPM_BUILD_ROOT%{_prefix}/bin ../libtool --mode=install install testtext $RPM_BUILD_ROOT%{_prefix}/bin install -m 444 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gtkrc %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %{_prefix}/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_prefix}/bin/testtext %{_prefix}/bin/testgtk %{_prefix}/bin/gtk-demo %{_prefix}/bin/gtk-query-immodules-2.0 %{_prefix}/lib/libgtk-x11-1.3.so.* %{_prefix}/lib/libgdk-x11-1.3.so.* %{_prefix}/lib/libgdk_pixbuf-1.3.so.* %{_prefix}/lib/libgdk_pixbuf_xlib-1.3.so.* %dir %{_prefix}/lib/gtk-2.0 ##### CHANGE THIS when we upgrade the tarball %{_prefix}/lib/gtk-2.0/1.3.6 %{_prefix}/share/gtk-2.0 %{_prefix}/share/themes/Default/gtk-2.0 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/gtk20.mo %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/gtk20.mo %lang(el) %{_datadir}/locale/el/LC_MESSAGES/gtk20.mo %lang(az) %{_datadir}/locale/az/LC_MESSAGES/gtk20.mo %lang(fa) %{_datadir}/locale/fa/LC_MESSAGES/gtk20.mo %lang(ia) %{_datadir}/locale/ia/LC_MESSAGES/gtk20.mo %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/gtk20.mo %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/gtk20.mo %lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/gtk20.mo %lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/gtk20.mo %lang(it) %{_datadir}/locale/it/LC_MESSAGES/gtk20.mo %lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/gtk20.mo %lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/gtk20.mo %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/gtk20.mo %lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/gtk20.mo %lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/gtk20.mo %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/gtk20.mo %lang(sp) %{_datadir}/locale/sp/LC_MESSAGES/gtk20.mo %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/gtk20.mo %lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/gtk20.mo %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/gtk20.mo %lang(en@IPA) %{_datadir}/locale/en@IPA/LC_MESSAGES/gtk20.mo %lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/gtk20.mo %lang(vi) %{_datadir}/locale/vi/LC_MESSAGES/gtk20.mo %lang(he) %{_datadir}/locale/he/LC_MESSAGES/gtk20.mo %lang(es) %{_datadir}/locale/es/LC_MESSAGES/gtk20.mo %lang(et) %{_datadir}/locale/et/LC_MESSAGES/gtk20.mo %lang(da) %{_datadir}/locale/da/LC_MESSAGES/gtk20.mo %lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/gtk20.mo %lang(de) %{_datadir}/locale/de/LC_MESSAGES/gtk20.mo %lang(wa) %{_datadir}/locale/wa/LC_MESSAGES/gtk20.mo %lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/gtk20.mo %lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/gtk20.mo %lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/gtk20.mo %lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/gtk20.mo %lang(no) %{_datadir}/locale/no/LC_MESSAGES/gtk20.mo %lang(hr) %{_datadir}/locale/hr/LC_MESSAGES/gtk20.mo %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/gtk20.mo %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/gtk20.mo %lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/gtk20.mo %lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/gtk20.mo %lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/gtk20.mo %lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/gtk20.mo %dir %{_sysconfdir}/gtk-2.0 %config %{_sysconfdir}/gtk-2.0/gtkrc %files devel %defattr(-, root, root) %{_prefix}/lib/lib*.so %{_prefix}/lib/*a %dir %{_prefix}/lib/gtk-2.0 %{_prefix}/lib/gtk-2.0/include # %{_mandir}/man1/* %{_prefix}/include/* %{_prefix}/share/aclocal/* %{_prefix}/bin/make-inline-pixbuf %{_prefix}/lib/pkgconfig/* %doc tmpdocs/tutorial %doc tmpdocs/examples