2001-08-27 16:36:02 +02:00
|
|
|
Name: glib2
|
2001-08-14 23:41:16 +02:00
|
|
|
Summary: Handy library of utility functions
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
License: LGPL
|
|
|
|
Group: Development/Libraries
|
2002-03-05 06:18:23 +01:00
|
|
|
Source: ftp://ftp.gimp.org/pub/gtk/v2.0/glib-%{version}.tar.gz
|
2001-08-14 23:41:16 +02:00
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
|
|
URL: http://www.gtk.org
|
1998-06-11 21:33:31 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Handy library of utility functions. Development libs and headers
|
|
|
|
are in glib-devel.
|
|
|
|
|
|
|
|
%package devel
|
2001-08-14 23:41:16 +02:00
|
|
|
Summary: GIMP Toolkit and GIMP Drawing Kit support library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
1998-06-11 21:33:31 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2001-08-14 23:41:16 +02:00
|
|
|
%prep
|
2001-08-27 16:36:02 +02:00
|
|
|
%setup -q -n glib-%{version}
|
2001-08-14 23:41:16 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} --mandir=%{_mandir} \
|
|
|
|
--localstatedir=%{_localstatedir} --libdir=%{_libdir} \
|
|
|
|
--datadir=%{_datadir} --includedir=%{_includedir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} --disable-gtk-doc
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
|
|
|
|
mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
|
|
|
|
localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
|
|
|
|
datadir=$RPM_BUILD_ROOT%{_datadir} \
|
|
|
|
includedir=$RPM_BUILD_ROOT%{_includedir} \
|
|
|
|
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} 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
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/*a
|
|
|
|
%{_libdir}/glib-2.0
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/glib-2.0
|
|
|
|
%{_mandir}/man1/glib-*
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
%{_bindir}/*
|
|
|
|
#%{_datadir}/gtk-doc/html/glib-2.0
|
|
|
|
#%{_datadir}/gtk-doc/html/gobject
|
1998-06-11 21:33:31 +02:00
|
|
|
|
|
|
|
%changelog
|
2001-08-27 16:36:02 +02:00
|
|
|
* Mon Aug 27 2001 Jens Finke <jens@gnome.org>
|
|
|
|
- Changed package name to glib2.
|
|
|
|
- Updated source URL.
|
1998-06-11 21:33:31 +02:00
|
|
|
|
2001-08-14 23:41:16 +02:00
|
|
|
* Mon Aug 14 2001 Jens Finke <jens@gnome.org>
|
|
|
|
- Updated to match gpp standard:
|
|
|
|
- removed all hardcoded paths, use rpm macros instead
|
|
|
|
- changed Copyright to License
|
|
|
|
- removed explicit docdir definition
|
|
|
|
- added 'Requires' to devel package
|
|
|
|
- added paths to 'configure' and 'make' calls
|
|
|
|
- moved %changelog section to the end of the file
|
|
|
|
- updated files section to match changes in glib-2.0
|
|
|
|
|
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
|