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