Update.
[glib.git] / glib.spec.in
blob67e865dec2fc4e627689e89c86d663980218ac1d
1 # Note that this is NOT a relocatable package
2 %define ver @VERSION@
3 %define rel 1
4 %define prefix /usr
6 Summary: Handy library of utility functions
7 Name: glib
8 Version: %ver
9 Release: %rel
10 Copyright: LGPL
11 Group: Libraries
12 Source: ftp://ftp.gimp.org/pub/gtk/v1.1/glib-%{ver}.tar.gz
13 BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root
14 URL: http://www.gtk.org
15 Docdir: %{prefix}/doc
17 %description
18 Handy library of utility functions. Development libs and headers
19 are in glib-devel.
21 %package devel
22 Summary: GIMP Toolkit and GIMP Drawing Kit support library
23 Group: X11/Libraries
25 %description devel
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.
31 %changelog
33 * Tue Jun 1 1999 Jose Mercado <jmercado@mit.edu>
34 - fixed version numbers in files section.
36 * Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com>
37 - added libgthread to file list
39 * Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com>
40 - version 1.1.15
42 * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
43 - version 1.1.14
45 * Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
46 - version 1.1.13
48 * Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
49 - version 1.1.12
51 * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
52 - updated in preparation for the GNOME freeze
54 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
55 - Split out glib package
57 %prep
58 %setup
60 %build
61 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
62 make
64 %install
65 rm -rf $RPM_BUILD_ROOT
67 make prefix=$RPM_BUILD_ROOT%{prefix} install
69 %clean
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
76 %files
77 %defattr(-, root, root)
79 %doc AUTHORS COPYING ChangeLog NEWS README
80 %{prefix}/lib/libglib-1.3.so.*
81 %{prefix}/lib/libgthread-1.3.so.*
82 %{prefix}/lib/libgmodule-1.3.so.*
83 %{prefix}/lib/libgobject-1.3.so.*
85 %files devel
86 %defattr(-, root, root)
88 %{prefix}/lib/lib*.so
89 %{prefix}/lib/*a
90 %{prefix}/lib/glib
91 %{prefix}/include/*
92 %{prefix}/man/man1/
93 %{prefix}/share/aclocal/*
94 %{prefix}/bin/*