2 Summary: Handy library of utility functions
6 Group: Development
/Libraries
7 Source: ftp
://ftp.gimp.org
/pub
/gtk
/v2.0
/glib
-%{version}.tar.gz
8 BuildRoot: /var
/tmp
/%{name}-%{version}-root
9 URL: http
://www.gtk.org
12 Handy library of utility functions. Development libs and headers
16 Summary: GIMP Toolkit and GIMP Drawing Kit support library
17 Group: Development
/Libraries
18 Requires: %{name} = %{version}
21 Static libraries and header files
for the support library
for the GIMP's X
22 libraries
, which are available as public libraries. GLIB includes generally
23 useful data structures.
26 %setup -q
-n glib
-%{version}
29 CFLAGS
="$RPM_OPT_FLAGS"
30 .
/configure
--prefix
=%{_prefix} \
31 --bindir
=%{_bindir} --mandir=%{_mandir} \
32 --localstatedir
=%{_localstatedir} --libdir=%{_libdir} \
33 --datadir
=%{_datadir} --includedir=%{_includedir} \
34 --sysconfdir
=%{_sysconfdir} --disable
-gtk
-doc
38 rm -rf $RPM_BUILD_ROOT
40 make prefix
=$RPM_BUILD_ROOT
%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
41 mandir
=$RPM_BUILD_ROOT
%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
42 localstatedir
=$RPM_BUILD_ROOT
%{_localstatedir} \
43 datadir
=$RPM_BUILD_ROOT
%{_datadir} \
44 includedir
=$RPM_BUILD_ROOT
%{_includedir} \
45 sysconfdir
=$RPM_BUILD_ROOT
%{_sysconfdir} install
48 rm -rf $RPM_BUILD_ROOT
50 %post -p
/sbin
/ldconfig
52 %postun -p
/sbin
/ldconfig
55 %defattr(-, root
, root
)
57 %doc AUTHORS COPYING ChangeLog NEWS README
61 %defattr(-, root
, root
)
66 %{_libdir}/pkgconfig
/*.pc
67 %{_includedir}/glib
-2.0
68 %{_mandir}/man1
/glib
-*
71 #%{_datadir}/gtk-doc/html/glib-2.0
72 #%{_datadir}/gtk-doc/html/gobject
75 * Mon Aug
27 2001 Jens Finke
<jens@gnome.org
>
76 - Changed package name to glib2.
79 * Mon Aug
14 2001 Jens Finke
<jens@gnome.org
>
80 - Updated to match gpp standard
:
81 - removed all hardcoded paths
, use rpm macros instead
82 - changed
Copyright to
License
83 - removed explicit docdir definition
84 - added '
Requires' to devel package
85 - added paths to 'configure' and '
make' calls
86 - moved
%changelog section to the end of the file
87 - updated files section to match changes
in glib
-2.0
89 * Tue Jun
1 1999 Jose Mercado
<jmercado@mit.edu
>
90 - fixed version numbers
in files section.
92 * Thu Feb
11 1999 Michael Fulbright
<drmike@redhat.com
>
93 - added libgthread to file list
95 * Fri Feb
05 1999 Michael Fulbright
<drmike@redhat.com
>
98 * Wed Feb
03 1999 Michael Fulbright
<drmike@redhat.com
>
101 * Mon Jan
18 1999 Michael Fulbright
<drmike@redhat.com
>
104 * Wed Jan
06 1999 Michael Fulbright
<drmike@redhat.com
>
107 * Wed Dec
16 1998 Michael Fulbright
<drmike@redhat.com
>
108 - updated
in preparation
for the GNOME freeze
110 * Mon Apr
13 1998 Marc Ewing
<marc@redhat.com
>
111 - Split out glib package