%define name ocaml-lablgtk %define version 1.2.7 %define release 2mdk Summary: OCaml interface to the GIMP Tool Kit Name: %{name} Version: %{version} Release: %{release} Source0: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%{version}.tar.bz2 URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html License: LGPL Group: Development/Other BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: camlp4 gtk-devel Prefix: %{_prefix} %description OCaml interface to the GIMP Tool Kit %prep %setup -q -n lablgtk-%{version} %build make configure make make opt %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT`ocamlc -where`/stublibs make install BINDIR=$RPM_BUILD_ROOT%{_bindir} INSTALLDIR=$RPM_BUILD_ROOT`ocamlc -where`/lablgtk DLLDIR=$RPM_BUILD_ROOT`ocamlc -where`/stublibs %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING CHANGES README %{_bindir}/* %{_libdir}/ocaml/lablgtk %{_libdir}/ocaml/stublibs/* %changelog * Sun Feb 6 2005 Pixel <pixel@mandrakesoft.com> 1.2.7-2mdk - rebuild for ocaml 3.08.2 (otherwise one get error "... inconsistent assumptions over implementation Thread") * Tue Nov 23 2004 Pixel <pixel@mandrakesoft.com> 1.2.7-1mdk - new release * Tue Nov 23 2004 Pixel <pixel@mandrakesoft.com> 1.2.6-3mdk - rebuild * Sun Oct 10 2004 Pascal Terjan <pterjan@mandrake.org> 1.2.6-2mdk - drop patch * Sat Jan 03 2004 Laurent Culioli <laurent@pschit.net> 1.2.6-1mdk - 1.2.6 * Fri Apr 25 2003 Pixel <pixel@mandrakesoft.com> 1.2.5-2mdk - add "BuildRequires: gtk-devel" * Sun Sep 15 2002 Pixel <pixel@mandrakesoft.com> 1.2.5-1mdk - new version - build for new ocaml * Wed Aug 7 2002 Pixel <pixel@mandrakesoft.com> 1.2.4-1mdk - new version - build for new ocaml * Thu Jan 17 2002 Pixel <pixel@mandrakesoft.com> 1.2.3-1mdk - new version * Fri Oct 5 2001 Pixel <pixel@mandrakesoft.com> 1.2.1-1mdk - initial spec # end of file