# Note that this is NOT a relocatable package %define ver 1.2.3 %define rel 1a %define prefix /usr Summary: A library of handy utility functions. Name: glib Version: %ver Release: %rel Copyright: LGPL Group: System Environment/Libraries Source: ftp://ftp.gimp.org/pub/gtk/v1.2/glib-%{ver}.tar.gz BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root URL: http://www.gtk.org Docdir: %{prefix}/doc %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 devel Summary: GIMP Toolkit and GIMP Drawing Kit support library Group: Development/Libraries %description 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. %changelog * Tue Jul 6 1999 Keisuke Fujii - 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 %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{prefix}/lib/libglib-1.2.so.* %{prefix}/lib/libgthread-1.2.so.* %{prefix}/lib/libgmodule-1.2.so.* %files devel %defattr(-, root, root) %{prefix}/lib/lib*.so %{prefix}/lib/*a %{prefix}/lib/glib %{prefix}/include/* %{prefix}/man/man1/* %{prefix}/share/aclocal/* %{prefix}/bin/*