build opt libraries

This commit is contained in:
Gérard Milmeister 2005-11-01 15:39:20 +00:00
parent ceeb07e080
commit c50407b7cc

View File

@ -1,6 +1,6 @@
Name: lablgl
Version: 1.02
Release: 1%{?dist}
Release: 2%{?dist}
Summary: LablGL is an OpenGL interface for Objective Caml
@ -9,7 +9,7 @@ License: BSD
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-1.02.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: XFree86-devel, freeglut-devel
BuildRequires: xorg-x11-devel, freeglut-devel
BuildRequires: ocaml >= 3.08, labltk >= 3.08, camlp4 >= 3.08
BuildRequires: tcl-devel, tk-devel
Requires: ocaml >= 3.08.3, labltk >= 3.08
@ -42,7 +42,7 @@ INSTALLDIR = %{_libdir}/ocaml/lablGL
TOGLDIR=Togl
COPTS = $RPM_OPT_FLAGS
EOF
make
make all opt
%install
rm -rf $RPM_BUILD_ROOT
@ -65,7 +65,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/ocaml/stublibs/*.so
%changelog
* Tue Nov 1 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.02
* Tue Nov 1 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.02-2
- build opt libraries
* Tue Nov 1 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.02-1
- New Version 1.02
* Sun Sep 11 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.01-7