1 # Note that this is NOT a relocatable package
6 Summary: Handy library of utility functions
12 Source: ftp://ftp.gimp.org/pub/gtk/v1.1/glib-%{ver}.tar.gz
13 BuildRoot: /tmp/glib-root
14 Packager: Christopher Blizzard <blizzard@appliedtheory.com>
15 URL: http://www.gtk.org
19 Handy library of utility functions. Development libs and headers
23 Summary: GIMP Toolkit and GIMP Drawing Kit support library
27 Static libraries and header files for the support library for the GIMP's X
28 libraries, which are available as public libraries. GLIB includes generally
29 useful data structures.
34 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
36 - Split out glib package
42 # Needed for snapshot releases.
43 if [ ! -f configure ]; then
44 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
46 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
49 if [ "$SMP" != "" ]; then
50 (make "MAKE=make -k -j $SMP"; exit 0)
57 rm -rf $RPM_BUILD_ROOT
59 make prefix=$RPM_BUILD_ROOT%{prefix} install
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(-, root, root)
71 %doc AUTHORS COPYING ChangeLog NEWS README
72 %{prefix}/lib/libglib-1.1.so.*
73 %{prefix}/lib/libgmodule-1.1.so.*
76 %defattr(-, root, root)
82 %{prefix}/share/aclocal/*