glib.spec.in 2.02 KB
Newer Older
Dick Porter's avatar
Dick Porter committed
1
# Note that this is NOT a relocatable package
2
%define ver      @VERSION@
3
%define rel      1
Dick Porter's avatar
Dick Porter committed
4 5 6 7 8 9 10 11
%define prefix   /usr

Summary: Handy library of utility functions
Name: glib
Version: %ver
Release: %rel
Copyright: LGPL
Group: Libraries
12
Source: ftp://ftp.gimp.org/pub/gtk/v1.1/glib-%{ver}.tar.gz
13
BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root
Dick Porter's avatar
Dick Porter committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
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

33 34 35
* Tue Jun  1 1999 Jose Mercado <jmercado@mit.edu>
- fixed version numbers in files section.

36 37 38 39 40 41 42 43 44 45 46
* 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
Dick Porter's avatar
Dick Porter committed
47

48 49 50 51 52 53 54
* 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>
Dick Porter's avatar
Dick Porter committed
55 56 57 58 59 60
- Split out glib package

%prep
%setup

%build
61 62
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
make
Dick Porter's avatar
Dick Porter committed
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

%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
80 81 82
%{prefix}/lib/libglib-1.3.so.*
%{prefix}/lib/libgthread-1.3.so.*
%{prefix}/lib/libgmodule-1.3.so.*
Tim Janik's avatar
Tim Janik committed
83
%{prefix}/lib/libgobject-1.3.so.*
Dick Porter's avatar
Dick Porter committed
84 85 86 87 88 89 90 91

%files devel
%defattr(-, root, root)

%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/lib/glib
%{prefix}/include/*
92
%{prefix}/man/man1/
Dick Porter's avatar
Dick Porter committed
93 94
%{prefix}/share/aclocal/*
%{prefix}/bin/*