Hi,
I made packages of the new versions of glib and gtk+, here are my
spec-Files.
They require updated packages of fribidi and pango, see my other mails.

-- 
   Goetz Waschk <> student of computer science  <> university Rostock    
 http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--
Summary: Handy library of utility functions
Name: hackglib
Version: 1.3.1
Release: 1mdk
Copyright: LGPL
Group: System/Libraries
Source: ftp://ftp.gimp.org/pub/gtk/v1.3/glib-%{version}.tar.bz2
BuildRoot: %{_tmppath}/glib-%{PACKAGE_VERSION}-root
URL: http://www.gtk.org


%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: Development/C

%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.

%prep
%setup -q -n glib-%version

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc AUTHORS COPYING ChangeLog NEWS README
%{_prefix}/lib/libglib-1.3.so.*
%{_prefix}/lib/libgthread-1.3.so.*
%{_prefix}/lib/libgmodule-1.3.so.*
%{_prefix}/lib/libgobject-1.3.so.*

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

%{_prefix}/lib/lib*.so
%{_prefix}/lib/*a
%{_prefix}/lib/glib-2.0
%{_prefix}/include/*
#conflicts with glib-devel
#%{_prefix}/man/man1/
%{_prefix}/share/aclocal/*
%{_prefix}/bin/*

%changelog
* Mon Jul 17 2000 G�tz Waschk <[EMAIL PROTECTED]> 1.3.1-1mdk
- created hackglib package

Summary: The Gimp Toolkit
Name: hackgtk+
Version: 1.3.1
Release: 1mdk
Copyright: LGPL
Group: System/Libraries
Source: ftp://ftp.gimp.org/pub/gtk/v1.3/gtk+-%{version}.tar.bz2
BuildRoot: /var/tmp/gtk-%{PACKAGE_VERSION}-root
URL: http://www.gtk.org
Requires: hackglib >= 1.3.1 pango >= 0.12
BuildRequires: pango-devel >= 0.12 hackglib-devel >= 1.3.1 

%description
The X libraries originally written for the GIMP, which are now used by
several other programs as well.

%package devel
Summary: GIMP Toolkit and GIMP Drawing Kit
Group: Development/GNOME and GTK+
Requires: hackgtk+


%description devel
Static libraries and header files for the GIMP's X libraries, which are
available as public libraries.  GLIB includes generally useful data
structures, GDK is a drawing toolkit which provides a thin layer over
Xlib to help automate things like dealing with different color depths,
and GTK is a widget set for creating user interfaces.
  
%prep
%setup -q -n gtk+-%version

%build
%configure

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc AUTHORS COPYING ChangeLog NEWS README TODO
%config %{_sysconfdir}/gtk-2.0/*
%{_prefix}/lib/lib*.so.*
%{_prefix}/lib/gtk-2.0/%{version}/loaders/lib*.so.*
#%{_prefix}/share/themes/Default
%{_prefix}/share/locale/*/*/*
 

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

%{_prefix}/lib/lib*.so
%{_prefix}/lib/*a
%{_prefix}/include/*
%{_prefix}/lib/gtk-2.0/include/*
%{_prefix}/lib/gtk-2.0/%{version}/loaders/lib*.so
%{_prefix}/lib/gtk-2.0/%{version}/loaders/lib*a
#conflicts with gtk+-devel
#%{_prefix}/man/man1/*
%{_prefix}/share/aclocal/*
#conflicts with gdk-pixbuf-devel
#%{_prefix}/share/gnome/html/*
%{_prefix}/bin/*

%changelog
* Mon Jul 17 2000 G�tz Waschk <[EMAIL PROTECTED]> 1.3.1-1mdk
- created hackgtk package

Reply via email to