1998-06-11 21:33:31 +02:00
|
|
|
# Note that this is NOT a relocatable package
|
1999-02-21 19:58:59 +01:00
|
|
|
%define ver @VERSION@
|
1998-06-11 21:33:31 +02:00
|
|
|
%define rel SNAP
|
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Summary: Handy library of utility functions
|
|
|
|
Name: glib
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: LGPL
|
|
|
|
Group: Libraries
|
1998-11-23 02:37:32 +01:00
|
|
|
Source: ftp://ftp.gimp.org/pub/gtk/v1.1/glib-%{ver}.tar.gz
|
1999-02-21 19:58:59 +01:00
|
|
|
BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root
|
1998-06-11 21:33:31 +02:00
|
|
|
URL: http://www.gtk.org
|
|
|
|
Docdir: %{prefix}/doc
|
|
|
|
|
|
|
|
%description
|
|
|
|
Handy library of utility functions. Development libs and headers
|
|
|
|
are in glib-devel.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: GIMP Toolkit and GIMP Drawing Kit support library
|
|
|
|
Group: X11/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Static libraries and header files for the support library for the GIMP's X
|
|
|
|
libraries, which are available as public libraries. GLIB includes generally
|
|
|
|
useful data structures.
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
1999-06-22 01:07:58 +02:00
|
|
|
* Tue Jun 1 1999 Jose Mercado <jmercado@mit.edu>
|
|
|
|
- fixed version numbers in files section.
|
|
|
|
|
1999-02-21 19:58:59 +01:00
|
|
|
* Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- added libgthread to file list
|
|
|
|
|
|
|
|
* Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- version 1.1.15
|
|
|
|
|
|
|
|
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- version 1.1.14
|
|
|
|
|
|
|
|
* Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- version 1.1.13
|
1998-06-11 21:33:31 +02:00
|
|
|
|
1999-02-21 19:58:59 +01:00
|
|
|
* Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- version 1.1.12
|
|
|
|
|
|
|
|
* Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
|
|
|
|
- updated in preparation for the GNOME freeze
|
|
|
|
|
|
|
|
* Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
|
1998-06-11 21:33:31 +02:00
|
|
|
- Split out glib package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
1999-02-21 19:58:59 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
|
|
|
|
make
|
1998-06-11 21:33:31 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
1999-06-22 01:07:58 +02:00
|
|
|
%{prefix}/lib/libglib-1.3.so.*
|
|
|
|
%{prefix}/lib/libgthread-1.3.so.*
|
|
|
|
%{prefix}/lib/libgmodule-1.3.so.*
|
1998-06-11 21:33:31 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
%{prefix}/lib/lib*.so
|
|
|
|
%{prefix}/lib/*a
|
|
|
|
%{prefix}/lib/glib
|
|
|
|
%{prefix}/include/*
|
1999-02-21 19:58:59 +01:00
|
|
|
%{prefix}/man/man1/
|
1998-06-11 21:33:31 +02:00
|
|
|
%{prefix}/share/aclocal/*
|
|
|
|
%{prefix}/bin/*
|