Summary: An Objective Caml interface to gtk+ Name: lablgtk Version: 2.10.0 Release: 19.1%{?dist} URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html Source0: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%{version}.tar.gz Patch0: lablgtk-2.10.0.patch License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root BuildRequires: ocaml >= 1:3.07, gtk2-devel >= 2.0 BuildRequires: libglade2-devel, gdk-pixbuf-devel BuildRequires: libpng-devel BuildRequires: librsvg2-devel BuildRequires: libgnomecanvas-devel, libgnomeui-devel, Requires: ocaml >= 1:3.07, gtk2 >= 2.2.0 Provides: ocaml-lablgtk = %{evr} Obsoletes: lablgtk2 <= %{evr} Provides: lablgtk2 = %{evr} %description LablGTK is is an Objective Caml interface to gtk+. It uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to gtk+. This is not that easy if you know the dynamic typing approach taken by gtk+. %prep %setup -q %patch0 -p0 %build %configure make world %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_libdir} %{buildroot}%{_libdir}/ocaml/lablgtk %{buildroot}%{_libdir}/ocaml/stublibs make install BINDIR=%{buildroot}%{_bindir} LIBDIR=%{buildroot}%{_libdir} INSTALLDIR=%{buildroot}%{_libdir}/ocaml/lablgtk2 DLLDIR=%{buildroot}%{_libdir}/ocaml/stublibs %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README COPYING CHANGES %doc examples %{_bindir}/* %{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/stublibs/* %changelog * Thu Oct 25 2007 Paulo Roma 2.10.0-18 - Update to 2.10.0. - 4th release of LablGTK2. * Tue Dec 27 2005 Axel Thimm 2.6.0-17 - Update to 2.6.0. * Mon May 30 2005 Arjen Heidinga - Added more build dependencies. We now include native code. * Fri Aug 20 2004 Axel Thimm - Update to 2.4.0. * Mon Oct 13 2003 Axel Thimm - Update to 2.2.0. * Sun Aug 17 2003 Axel Thimm - Provide ocaml-lablgtk (reported by bishop@platypus.bc.ca). * Wed Apr 9 2003 Axel Thimm - Rebuilt for Red Hat 9. * Tue Nov 26 2002 Axel Thimm - Initial build.