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.0/glib-%{ver}.tar.gz
13 BuildRoot: /tmp/glib-root
14 URL: http://www.gtk.org
18 Handy library of utility functions. Development libs and headers
22 Summary: GIMP Toolkit and GIMP Drawing Kit support library
26 Static libraries and header files for the support library for the GIMP's X
27 libraries, which are available as public libraries. GLIB includes generally
28 useful data structures.
33 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
35 - Split out glib package
41 # Needed for snapshot releases.
42 if [ ! -f configure ]; then
43 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
45 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
48 if [ "$SMP" != "" ]; then
49 (make "MAKE=make -k -j $SMP"; exit 0)
56 rm -rf $RPM_BUILD_ROOT
58 make prefix=$RPM_BUILD_ROOT%{prefix} install
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 %defattr(-, root, root)
70 %doc AUTHORS COPYING ChangeLog NEWS README
71 %{prefix}/lib/libglib-1.1.so.*
74 %defattr(-, root, root)
80 %{prefix}/share/aclocal/*