Rename the GUTILS_C_VAR macro to GLIB_VAR.
[platform/upstream/glib.git] / glib.spec.in
1 # Note that this is NOT a relocatable package
2 %define ver      @VERSION@
3 %define rel      1
4 %define prefix   /usr
5
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
16
17 %description
18 Handy library of utility functions.  Development libs and headers
19 are in glib-devel.
20
21 %package devel
22 Summary: GIMP Toolkit and GIMP Drawing Kit support library
23 Group: X11/Libraries
24
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.
29
30
31 %changelog
32
33 * Tue Jun  1 1999 Jose Mercado <jmercado@mit.edu>
34 - fixed version numbers in files section.
35
36 * Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com>
37 - added libgthread to file list
38
39 * Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com>
40 - version 1.1.15
41
42 * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
43 - version 1.1.14
44
45 * Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
46 - version 1.1.13
47
48 * Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
49 - version 1.1.12
50
51 * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
52 - updated in preparation for the GNOME freeze
53
54 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
55 - Split out glib package
56
57 %prep
58 %setup
59
60 %build
61 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
62 make
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 make prefix=$RPM_BUILD_ROOT%{prefix} install
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post -p /sbin/ldconfig
73
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(-, root, root)
78
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.*
84
85 %files devel
86 %defattr(-, root, root)
87
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/*