%define libdir /%{_lib} Summary: A library of handy utility functions Name: glib2 Version: 2.12.9 Release: 1%{?dist} License: LGPL Group: System Environment/Libraries Source: http://ftp.gnome.org/pub/gnome/sources/glib/2.12/glib-%{version}.tar.bz2 Source2: glib2.sh Source3: glib2.csh Patch0: glib-2.11.1-libdir.patch Conflicts: libgnomeui <= 2.2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig >= 0.8 BuildRequires: gettext # for patch 0 BuildRequires: autoconf Obsoletes: glib-gtkbeta URL: http://www.gtk.org %description GLib is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system. This package provides version 2 of GLib. %package devel Summary: The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support library Group: Development/Libraries Obsoletes: glib-gtkbeta-devel Requires: pkgconfig >= 1:0.8 Requires: %{name} = %{version}-%{release} Conflicts: glib-devel <= 1:1.2.8 %description devel The glib2-devel package includes the header files for version 2 of the GLib library. %prep %setup -q -n glib-%{version} %patch0 -p1 -b .libdir %build for i in config.guess config.sub ; do test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i . done # for patch 0 autoconf %configure --disable-gtk-doc --enable-static --libdir=%{libdir} make %check %ifnarch ppc ppc64 make check %endif %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT ## glib2.sh and glib2.csh ./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d rm -f $RPM_BUILD_ROOT%{libdir}/*.la %find_lang glib20 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f glib20.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{libdir}/libglib-2.0.so.* %{libdir}/libgthread-2.0.so.* %{libdir}/libgmodule-2.0.so.* %{libdir}/libgobject-2.0.so.* %{_sysconfdir}/profile.d/* %files devel %defattr(-, root, root) %{libdir}/lib*.so # we need the static library here %{libdir}/lib*.a %{_libdir}/glib-2.0 %{_includedir}/* %{_datadir}/aclocal/* %{_datadir}/gtk-doc/html/* %{_libdir}/pkgconfig/* %{_datadir}/glib-2.0 %{_bindir}/* %{_mandir}/man1/* %changelog * Tue Jan 16 2007 Matthias Clasen - 2.12.9-1 - Update to 2.12.9 * Mon Jan 15 2007 Matthias Clasen - 2.12.8-1 - Update to 2.12.8 * Thu Jan 4 2007 Matthias Clasen - 2.12.7-1 - Update to 2.12.7 - Fix bit-test on x86-64 * Wed Dec 20 2006 Matthias Clasen - 2.12.6-1 - Update to 2.12.6 * Mon Dec 18 2006 Matthias Clasen - 2.12.5-2 - Fix the configure check for broken poll * Mon Dec 18 2006 Matthias Clasen - 2.12.5-1 - Update to 2.12.5 * Sun Oct 22 2006 Matthias Clasen - 2.12.4-1 - Update to 2.12.4 * Wed Aug 30 2006 Matthias Clasen - 2.12.3-1.fc6 - Update to 2.12.3 - Drop upstreamed patch * Sun Aug 27 2006 Matthias Clasen - 2.12.2-2.fc6 - Use Posix monotonic timers for GTimer * Tue Aug 15 2006 Matthias Clasen - 2.12.2-1.fc6 - Update to 2.12.2 * Sat Jul 22 2006 Matthias Clasen - 2.12.1-1 - Update to 2.12.1 * Wed Jul 12 2006 Jesse Keating - 2.12.0-1.1 - rebuild * Sun Jul 2 2006 Matthias Clasen - 2.12.0-1 - Update to 2.12.0 * Tue Jun 20 2006 Matthias Clasen - 2.11.4-1 - Update to 2.11.4 * Mon Jun 12 2006 Matthias Clasen - 2.11.3-1 - Update to 2.11.3 * Mon Jun 5 2006 Matthias Clasen - 2.11.2-1 - Update to 2.11.2 * Thu Jun 1 2006 Matthias Clasen - 2.11.1-6 - Rebuild * Thu May 25 2006 Matthias Clasen - 2.11.1-5 - Fix some fallout * Thu May 25 2006 Matthias Clasen - 2.11.1-4 - Include static libraries, since anaconda needs them (#193143) * Thu May 25 2006 Matthias Clasen - 2.11.1-3 - Keep glibconfig.h in /usr/lib * Mon May 22 2006 Matthias Clasen - 2.11.1-2 - Move glib to /lib * Mon May 15 2006 Matthias Clasen - 2.11.1-1 - Update to 2.11.1 * Tue May 2 2006 Matthias Clasen - 2.11.0-1 - Update to 2.11.0 * Fri Apr 7 2006 Matthias Clasen - 2.10.2-2 - Update to 2.10.2 * Tue Mar 7 2006 Matthias Clasen - 2.10.1-1 - Update to 2.10.1 * Fri Feb 24 2006 Matthias Clasen - 2.10.0-1 - Update to 2.10.0 * Sat Feb 12 2006 Matthias Clasen - 2.9.6-1 - Update to 2.9.6 * Fri Feb 10 2006 Jesse Keating - 2.9.5-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.9.5-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Jan 27 2006 Matthias Clasen - 2.9.5-1 - Update to 2.9.5 * Wed Jan 18 2006 Matthias Clasen - 2.9.4-1 - Update to 2.9.4 * Mon Jan 16 2006 Matthias Clasen - 2.9.3-1 - Update to 2.9.3 * Fri Jan 6 2006 Matthias Clasen - 2.9.2-2 - Update to 2.9.2 * Sun Dec 11 2005 Matthias Clasen - Specfile cosmetics * Sat Dec 10 2005 Matthias Clasen - 2.9.1-1 - New upstream version * Wed Nov 30 2005 Matthias Clasen - 2.9.0-1 - New upstream version * Tue Nov 15 2005 Matthias Clasen - 2.8.4-1 - New upstream version * Mon Oct 3 2005 Matthias Clasen - 2.8.3-1 - New upstream version * Mon Sep 26 2005 Matthias Clasen - 2.8.2-1 - New upstream version * Sat Aug 23 2005 Matthias Clasen - 2.8.1-1 - New upstream version - Drop patches * Sat Aug 13 2005 Matthias Clasen - 2.8.0-1 - New stable upstream version - Drop patches * Fri Aug 5 2005 Matthias Clasen - 2.7.6-3 - Fix C++ guards in gstdio.h * Thu Aug 4 2005 Matthias Clasen - 2.7.6-2 - Another attempt to fix atomic ops on s390 * Tue Aug 3 2005 Matthias Clasen - 2.7.6-1 - Update to 2.7.6 * Tue Aug 2 2005 Matthias Clasen - 2.7.5-1 - Update to 2.7.5 * Fri Jul 22 2005 Matthias Clasen - 2.7.4-1 - Update to 2.7.4 * Fri Jul 15 2005 Matthias Clasen - 2.7.3-1 - Update to 2.7.3 * Fri Jul 8 2005 Matthias Clasen - 2.7.2-1 - Update to 2.7.2 * Fri Jul 1 2005 Matthias Clasen - 2.7.1-1 - Update to 2.7.1 * Mon Jun 13 2005 Matthias Clasen - 2.7.0-1 - Update to 2.7.0 * Wed Apr 6 2005 Matthias Clasen - 2.6.4-1 - Update to 2.6.4 - Drop upstreamed patches * Fri Mar 11 2005 Matthias Clasen - 2.6.3-4 - Fix #150817 * Wed Mar 4 2005 Matthias Clasen - 2.6.3-3 - Rebuild * Wed Mar 2 2005 Matthias Clasen - 2.6.3-2 - Rebuild with gcc4 * Mon Feb 28 2005 Matthias Clasen - 2.6.3-1 - Upgrade to 2.6.3 * Fri Feb 4 2005 Matthias Clasen - 2.6.2-1 - Upgrade to 2.6.2 * Mon Jan 10 2005 Matthias Clasen - 2.6.1-1 - Upgrade to 2.6.1 * Mon Dec 21 2004 Matthias Clasen - 2.6.0-1 - Upgrade to 2.6.0 * Mon Dec 06 2004 Matthias Clasen - 2.4.8-1 - Upgrade to 2.4.8 * Wed Oct 13 2004 Matthias Clasen - 2.4.7-1 - Upgrade to 2.4.7 * Fri Aug 13 2004 Matthias Clasen - 2.4.6-1 - Update to 2.4.6 * Sun Aug 1 2004 ALan Cox - 2.4.5-2 - Fixed BuildRoot to use % macro not hardcode /var/tmp * Fri Jul 30 2004 Matthias Clasen - 2.4.5-1 - Update to 2.4.5 - Escape macros in changelog section * Fri Jul 09 2004 Matthias Clasen - 2.4.4-1 - Update to 2.4.4 * Mon Jun 21 2004 Matthias Clasen - 2.4.2-1 - Require gettext at build time (#125320) - Update to 2.4.2 (#125736) * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed May 19 2004 Matthias Clasen 2.4.1-1 - Update to 2.4.1 * Tue Mar 16 2004 Owen Taylor 2.4.0-1 - Update to 2.4.0 * Wed Mar 10 2004 Mark McLoughlin 2.3.6-1 - Update to 2.3.6 - Remove gatomic build fix * Tue Mar 02 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Mark McLoughlin 2.3.5-1 - Update to 2.3.5 - Fix build on ppc64 - Disable make check on s390 as well - test-thread failing * Wed Feb 25 2004 Mark McLoughlin 2.3.3-1 - Update to 2.3.3 * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Jan 23 2004 Jonathan Blandford 2.3.2-1 - new version - remove 'make check' temporarily * Mon Sep 8 2003 Owen Taylor 2.2.3-2.0 - Conflict with libgnomeui <= 2.2.0 (#83581, Göran Uddeborg) * Tue Aug 26 2003 Owen Taylor 2.2.3-1.1 - Version 2.2.3 * Tue Jul 8 2003 Owen Taylor 2.2.2-2.0 - Bump for rebuild * Sun Jun 8 2003 Owen Taylor - Version 2.2.2 * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue Jun 3 2003 Jeff Johnson - add explicit epoch's where needed. * Sun Feb 2 2003 Owen Taylor - Version 2.2.1 * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Jan 9 2003 Owen Taylor - Add static libraries to build (#78685, Bernd Kischnick) - Bump-and-rebuild for new redhat-rpm-config * Fri Dec 20 2002 Owen Taylor - Version 2.2.0 - Add make check to the build process * Mon Dec 16 2002 Owen Taylor - Version 2.1.5 * Wed Dec 11 2002 Owen Taylor - Version 2.1.4 * Mon Dec 2 2002 Owen Taylor - Version 2.1.3 * Mon Oct 07 2002 Havoc Pennington - Try rebuilding with new arches * Tue Aug 13 2002 Havoc Pennington - install glib2.sh and glib2.csh to set G_BROKEN_FILENAMES - blow away unpackaged files in install * Thu Aug 8 2002 Owen Taylor - Version 2.0.6 - Remove fixed-ltmain.sh; shouldn't be needed any more. * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun Jun 16 2002 Havoc Pennington - 2.0.4 * Thu May 23 2002 Tim Powers - automated rebuild * Wed Apr 24 2002 Havoc Pennington - rebuild in different environment * Mon Apr 15 2002 Owen Taylor - Fix missing .po files (#63336) * Wed Apr 3 2002 Alex Larsson - Update to version 2.0.1 * Fri Mar 8 2002 Owen Taylor - Version 2.0.0 * Mon Feb 25 2002 Alex Larsson - Update to 1.3.15 * Thu Feb 21 2002 Alex Larsson - Bump for rebuild * Mon Feb 18 2002 Alex Larsson - Update to 1.3.14 * Fri Feb 15 2002 Havoc Pennington - add horrible buildrequires hack * Thu Feb 14 2002 Havoc Pennington - 1.3.13.91 cvs snap * Mon Feb 11 2002 Matt Wilson - rebuild from CVS snapshot - use setup -q * Thu Jan 31 2002 Jeremy Katz - rebuild * Tue Jan 29 2002 Owen Taylor - 1.3.13 * Tue Jan 22 2002 Havoc Pennington - attempting rebuild in rawhide * Wed Jan 2 2002 Havoc Pennington - remove 64-bit patch now upstream, 1.3.12.90 * Mon Nov 26 2001 Havoc Pennington - add some missing files to file list, langify * Sun Nov 25 2001 Havoc Pennington - add temporary patch to fix GTypeFundamentals on 64-bit * Sun Nov 25 2001 Havoc Pennington - Version 1.3.11 * Thu Oct 25 2001 Owen Taylor - Version 1.3.10 * Tue Sep 25 2001 Owen Taylor - Version 1.3.9 * Wed Sep 19 2001 Owen Taylor - Version 1.3.8 * Fri Jul 20 2001 Owen Taylor - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc * Wed Jun 20 2001 Florian La Roche - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize * Wed Jun 13 2001 Havoc Pennington - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig * Tue Jun 12 2001 Havoc Pennington - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild * Tue Jun 12 2001 Havoc Pennington - 1.3.6 - bad libtool workarounds * Fri May 04 2001 Owen Taylor - 1.3.5, rename to glib2 * Fri Nov 17 2000 Owen Taylor - Final 1.3.2 * Mon Nov 13 2000 Owen Taylor - Version 1.3.2pre1 - Remove pkgconfig * Sun Aug 13 2000 Owen Taylor - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. * Thu Aug 10 2000 Havoc Pennington - new snapshot with fixed .pc files * Thu Aug 10 2000 Havoc Pennington - include .pc files in file list * Thu Aug 10 2000 Havoc Pennington - Include pkg-config - Upgrade to a glib CVS snapshot * Wed Jul 19 2000 Jakub Jelinek - rebuild to cope with glibc locale binary incompatibility * Fri Jul 14 2000 Owen Taylor - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back * Fri Jul 07 2000 Owen Taylor - Version 1.3.1 - Move back to standard %%{prefix} * Thu Jun 8 2000 Owen Taylor - Rebuild in /opt/gtk-beta * Tue May 30 2000 Owen Taylor - New version (adds gobject) * Wed Apr 25 2000 Owen Taylor - Don't blow away /etc/ld.so.conf (sorry!) * Tue Apr 24 2000 Owen Taylor - Snapshot RPM for Pango testing * Fri Feb 04 2000 Owen Taylor - Added fixes from stable branch of CVS * Thu Oct 7 1999 Owen Taylor - version 1.2.6 * Fri Sep 24 1999 Owen Taylor - version 1.2.5 * Fri Sep 17 1999 Owen Taylor - version 1.2.4 * Mon Jun 7 1999 Owen Taylor - version 1.2.3 * Thu Mar 25 1999 Michael Fulbright - version 1.2.1 * Fri Feb 26 1999 Michael Fulbright - Version 1.2 * Thu Feb 25 1999 Michael Fulbright - version 1.2.0pre1 * Tue Feb 23 1999 Cristian Gafton - new description tags * Sun Feb 21 1999 Michael Fulbright - removed libtoolize from %%build * Thu Feb 11 1999 Michael Fulbright - added libgthread to file list * Fri Feb 05 1999 Michael Fulbright - version 1.1.15 * Wed Feb 03 1999 Michael Fulbright - version 1.1.14 * Mon Jan 18 1999 Michael Fulbright - version 1.1.13 * Wed Jan 06 1999 Michael Fulbright - version 1.1.12 * Wed Dec 16 1998 Michael Fulbright - updated in preparation for the GNOME freeze * Mon Apr 13 1998 Marc Ewing - Split out glib package