# Note that this is NOT a relocatable package %define ver 1.2.10 %define rel 4mdk %define libname libglib %define major 1.2 Summary: A library of handy utility functions. Name: glib Version: %ver Release: %rel License: LGPL Group: System/Libraries Source: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{ver}.tar.bz2 # (fc) 1.2.10-3mdk Suppress warnings about varargs macros for -pedantic (Rawhide) Patch0: glib-1.2.10-isowarning.patch.bz2 BuildRoot: %{_tmppath}/glib-%{PACKAGE_VERSION}-root URL: http://www.gtk.org Provides: glib Obsoletes: glib %description Glib is a handy library of utility functions. This C library is designed to solve some portability problems and provide other useful functionality which most programs require. Glib is used by GDK, GTK+ and many applications. You should install Glib because many of your applications will depend on this library. %package -n %{libname}%{major} Summary: Main library for glib Group: System/Libraries Provides: glib = %{version} Obsoletes: glib %description -n %{libname}%{major} This package contains the library needed to run programs dynamically linked with the glib. %package -n %{libname}%{major}-devel Summary: GIMP Toolkit and GIMP Drawing Kit support library Group: Development/C Requires: %{libname}%{major} = %{version} Provides: glib-devel = %{version} Provides: libglib-devel = %{version} Obsoletes: glib-devel %description -n %{libname}%{major}-devel Static libraries and header files for the support library for the GIMP's X libraries, which are available as public libraries. GLIB includes generally useful data structures. %prep %setup -n %{name}-%{ver} -q %patch0 -p1 -b .isowarnings %build %configure %make make check %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -n %{libname}%{major} -p /sbin/ldconfig %postun -n %{libname}%{major} -p /sbin/ldconfig %post -n %{libname}%{major}-devel %_install_info %{name}.info %preun -n %{libname}%{major}-devel %_remove_install_info %{name}.info %files -n %{libname}%{major} %defattr(-, root, root) %doc COPYING %{_libdir}/lib*.so.* %files -n %{libname}%{major}-devel %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README COPYING docs/*.html %{_libdir}/lib*.so %{_libdir}/*a %{_libdir}/pkgconfig/* %{_libdir}/glib %{_includedir}/* %{_mandir}/man1/* %{_datadir}/aclocal/* %{_bindir}/* %{_infodir}/%{name}* %changelog * Thu Oct 4 2001 DindinX <odin@mandrakesoft.com> 1.2.10-4mdk - don't include %{_infodir}/dir * Thu Aug 30 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.10-3mdk - Patch0: Add #pragma GCC system_header to supress warnings when in -pedantic mode (Rawhide) * Mon Jul 30 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.10-2mdk - Add missing files (pkgconfig, html, info) - Fix provides * Thu Mar 22 2001 DindinX <odin@mandrakesoft.com> 1.2.10-1mdk - 1.2.10 (bugfixes release) * Fri Mar 2 2001 DindinX <odin@mandrakesoft.com> 1.2.9-1mdk - 1.2.9 - temporary remove of the strjoin patch * Thu Dec 7 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 1.2.8-10mdk - run automated tests at build time * Tue Nov 28 2000 DindinX <odin@mandrakesoft.com> 1.2.8-9mdk - Add some obsoletes: tags - use more macros * Mon Nov 27 2000 DindinX <odin@mandrakesoft.com> 1.2.8-8mdk - use 1.2 as the major number * Mon Nov 27 2000 DindinX <odin@mandrakesoft.com> 1.2.8-7mdk - Grr. _Really_ use the new naming policy... * Mon Nov 27 2000 DindinX <odin@mandrakesoft.com> 1.2.8-6mdk - new policy - but COPYING file back, until we have a clear statement about this issue * Fri Nov 17 2000 Pixel <pixel@mandrakesoft.com> 1.2.8-5mdk - move doc to -devel, removed doc COPYING * Fri Nov 03 2000 DindinX <odin@mandrakesoft.com> 1.2.8-4mdk - rebuild with gcc-2.96 * Mon Oct 23 2000 DindinX <odin@mandrakesoft.com> 1.2.8-3mdk - Patch g_strconcat(), g_strjoin() and g_strjoinv() so they are executed in O(n) instead of O(n*n). * Tue Aug 01 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.8-2mdk - rebuild for the BM - misc fixes to spec - rebuild with macros * Tue Jun 6 2000 DindinX <odin@mandrakesoft.com> 1.2.8-1mdk - 1.2.8 - Removed desc translation from spec * Tue Mar 21 2000 DindinX <odin@mandrakesoft.com> 1.2.7-3mdk - corrected the path in glib-config * Mon Mar 20 2000 DindinX <odin@mandrakesoft.com> 1.2.7-2mdk - Group and spec fixes * Fri Feb 18 2000 DindinX <odin@mandrakesoft.com> 1.2.7-1mdk - Fixed a little typo - 1.2.7 * Sun Oct 31 1999 Axalon Bloodstone <axalon@linux-mandrake.com> - Enable SMP build/check - 1.2.6 * Wed Sep 29 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 1.2.5. * Thu Aug 26 1999 Thierry Vignaud <tvignaud@mandrakesoft.com> - 1.2.4 * Wed Jul 14 1999 Pablo Saratxaga <pablo@mandrakesoft.com> - changed %{prefix}/man/man1 to %{prefix}/man/man1/* - added back descriptions from RH 5.2 * Wed May 12 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - 1.2.3 * Tue Apr 27 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - 1.2.2 - bzip2 man pages * Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 * Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 * Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 * Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags * Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build * Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list * Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 * Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 * Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze * Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package