%define base_name lablgtk %define name ocaml-%{base_name}2 %define version 2.10.0 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: OCaml interface to the GIMP Tool Kit Version 2 Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/%{base_name}-%{version}.tar.gz URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html License: LGPL Group: Development/Other BuildRequires: camlp4 BuildRequires: gtk+2-devel BuildRequires: gtkglarea2-devel BuildRequires: librsvg-devel BuildRequires: gnomeui2-devel BuildRequires: gnome-panel-devel BuildRequires: gtkspell-devel %description OCaml interface to the GIMP Tool Kit Version 2. %package devel Summary: Development files for %{name} Group: Development/Other Requires: %{name} = %{version}-%{release} Requires: gtk2-devel %description devel This package contains the development files needed to build applications using %{name}. %prep %setup -q -n %{base_name}-%{version} perl -pi -e "s/^directory.*$//" META %build ./configure make make opt %install rm -rf %{buildroot} install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{ocaml_sitelib}/stublibs install -d -m 755 %{buildroot}%{ocaml_sitelib}/lablgtk2/ install -m 644 META %{buildroot}%{ocaml_sitelib}/lablgtk2/ make install \ BINDIR=%{buildroot}%{_bindir} \ INSTALLDIR=%{buildroot}%{ocaml_sitelib}/lablgtk2 \ DLLDIR=%{buildroot}%{ocaml_sitelib}/stublibs %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING CHANGES README %dir %{ocaml_sitelib}/lablgtk2 %{ocaml_sitelib}/lablgtk2/*.cmi %{ocaml_sitelib}/stublibs/* %files devel %defattr(-,root,root) %{_bindir}/* %{ocaml_sitelib}/lablgtk2/* %exclude %{ocaml_sitelib}/lablgtk2/*.cmi %changelog * Wed Dec 19 2007 Guillaume Bedot <littletux@mandriva.org> 2.10.0-4mdv2008.0 + Revision: 135273 - Release 2.10.0 + bugfix: add missing META file * Sat Sep 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.0-10mdv2008.0 + Revision: 77689 - ocaml policy compliance * Thu Jan 25 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.0-9mdv2007.0 + Revision: 113157 - rebuild for new ocaml - Import ocaml-lablgtk2 * Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.0-8mdv2007.0 - Rebuild * Wed Apr 26 2006 Pixel <pixel@mandriva.com> 2.6.0-7mdk - rebuild for new ocaml * Thu Jan 26 2006 Pixel <pixel@mandriva.com> 2.6.0-6mdk - only the stublibs are non-devel stuff (ie not requiring ocaml) * Mon Jan 23 2006 Pixel <pixel@mandriva.com> 2.6.0-5mdk - rebuild for new ocaml * Fri Jan 13 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.0-4mdk - devel packages requires gtk+2-devel * Wed Nov 09 2005 Guillaume Bedot <littletux@mandriva.org> 2.6.0-3mdk - rebuild for new lablgl * Mon Nov 07 2005 Pixel <pixel@mandriva.com> 2.6.0-2mdk - rebuild for new ocaml * Wed Nov 02 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.0-1mdk - %%mkrel - Anssi Hannula <anssi.hannula@gmail.com> - 2.6.0 * Tue Nov 01 2005 Frederic Lepied <flepied@mandriva.com> 2.4.1-0.20050701.2mdk - rebuild to compile gtkgl support * Wed Jul 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.1-0.20050701.1mdk - new snapshot - more buildrequires - remove merged rpm macros * Wed May 18 2005 Laurent Culioli <laurent@mandriva.org> 2.4.1-0.20050218.1mdk - 20050218 * Fri Apr 22 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.0-1mdk - contributed by Julien Narboux (Julien.Narboux@inria.fr)