Correct rules for making the win32-related files that are made from
[platform/upstream/glib.git] / glib.spec.in
1 # Note that this is NOT a relocatable package
2 %define ver      @VERSION@
3 %define rel      SNAP
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 * Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com>
34 - added libgthread to file list
35
36 * Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com>
37 - version 1.1.15
38
39 * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
40 - version 1.1.14
41
42 * Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
43 - version 1.1.13
44
45 * Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
46 - version 1.1.12
47
48 * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
49 - updated in preparation for the GNOME freeze
50
51 * Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
52 - Split out glib package
53
54 %prep
55 %setup
56
57 %build
58 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
59 make
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 make prefix=$RPM_BUILD_ROOT%{prefix} install
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post -p /sbin/ldconfig
70
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(-, root, root)
75
76 %doc AUTHORS COPYING ChangeLog NEWS README
77 %{prefix}/lib/libglib-1.1.so.*
78 %{prefix}/lib/libgthread-1.1.so.*
79 %{prefix}/lib/libgmodule-1.1.so.*
80
81 %files devel
82 %defattr(-, root, root)
83
84 %{prefix}/lib/lib*.so
85 %{prefix}/lib/*a
86 %{prefix}/lib/glib
87 %{prefix}/include/*
88 %{prefix}/man/man1/
89 %{prefix}/share/aclocal/*
90 %{prefix}/bin/*