Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > 4e9720a300c32d493110e39efd5aeb08 > files > 3

ocaml-lablgtk-1.2.6-1mdk.src.rpm

%define name ocaml-lablgtk
%define version 1.2.6
%define release 1mdk

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
Patch0: lablgtk-1.2.3-workaround-bug-in-ocamlc.opt.patch.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}
%patch0 -p1

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