Removed %{_smp_mflags} as it breaks the build

This commit is contained in:
Gérard Milmeister 2005-02-12 11:37:23 +00:00
parent 2a2f635486
commit 43d734f71c
3 changed files with 17 additions and 12 deletions

View File

@ -1 +1 @@
lablgl-1.00.tar.gz
lablgl-1.01.tar.gz

View File

@ -1,18 +1,18 @@
Name: lablgl
Version: 1.00
Release: 0.fdr.4.1.90
Version: 1.01
Release: 2
Epoch: 0
Summary: LablGL is an OpenGL interface for Objective Caml
Group: System Environment/Libraries
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.00.tar.gz
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-1.01.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: XFree86-devel, freeglut-devel = 1.3
BuildRequires: ocaml >= 0:3.07, labltk >= 0:3.07, camlp4 >= 0:3.07
BuildRequires: /usr/include/tcl.h, /usr/include/tk.h
Requires: ocaml >= 0:3.07, labltk >= 0:3.07
BuildRequires: XFree86-devel, freeglut-devel
BuildRequires: ocaml >= 0:3.08, labltk >= 0:3.08, camlp4 >= 0:3.08
BuildRequires: tcl-devel, tk-devel
Requires: ocaml >= 0:3.08, labltk >= 0:3.08
%description
LablGL is is an Objective Caml interface to OpenGL. Support is
@ -23,7 +23,6 @@ extension, or with open-source Mesa.
%prep
%setup -q
perl -pi -e 's|GL/glut.h|GL/freeglut.h|' LablGlut/src/wrap_gl.c LablGlut/src/wrap_glut.c
%build
cat > Makefile.config <<EOF
@ -35,7 +34,7 @@ XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11
TKINCLUDES = -I/usr/include
GLINCLUDES =
GLLIBS = -lGL -lGLU
GLUTLIBS = -lfreeglut-1.3 -lXxf86vm
GLUTLIBS = -lglut -lXxf86vm
RANLIB = :
LIBDIR = %{_libdir}/ocaml
DLLDIR = %{_libdir}/ocaml/stublibs
@ -43,7 +42,7 @@ INSTALLDIR = %{_libdir}/ocaml/lablGL
TOGLDIR=Togl
COPTS = $RPM_OPT_FLAGS
EOF
make %{?_smp_mflags}
make
%install
rm -rf $RPM_BUILD_ROOT
@ -66,6 +65,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/ocaml/stublibs/*.so
%changelog
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:1.01-2
- Removed %{_smp_mflags} as it breaks the build
* Thu Aug 19 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:1.01-0.fdr.1
- New Version 1.01
* Mon Dec 1 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.00-0.fdr.4
- Patch to used GL/freeglut.h instead of GL/glut.h
- Add BuildRequires for labltk

View File

@ -1 +1 @@
92bcfe3121650c43e5bc4c018778405b lablgl-1.00.tar.gz
088a2b7bd5640ce99e1b31d641a60e81 lablgl-1.01.tar.gz