auto-import changelog data from lablgl-1.00-0.fdr.4.1.src.rpm
1.00-0.fdr.4 - Patch to used GL/freeglut.h instead of GL/glut.h - Add BuildRequires for labltk 1.00-0.fdr.3 - Add BuildRequires for camlp4
This commit is contained in:
parent
313e26a258
commit
4cb99a4243
@ -0,0 +1 @@
|
||||
lablgl-1.00.tar.gz
|
74
lablgl.spec
Normal file
74
lablgl.spec
Normal file
@ -0,0 +1,74 @@
|
||||
Name: lablgl
|
||||
Version: 1.00
|
||||
Release: 0.fdr.4.1
|
||||
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
|
||||
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
|
||||
|
||||
%description
|
||||
LablGL is is an Objective Caml interface to OpenGL. Support is
|
||||
included for use inside LablTk, and LablGTK also includes specific
|
||||
support for LablGL. It can be used either with proprietary OpenGL
|
||||
implementations (SGI, Digital Unix, Solaris...), with XFree86 GLX
|
||||
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
|
||||
CAMLC = ocamlc.opt
|
||||
CAMLOPT = ocamlopt.opt
|
||||
BINDIR = /usr/bin
|
||||
XINCLUDES = -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11
|
||||
TKINCLUDES = -I/usr/include
|
||||
GLINCLUDES =
|
||||
GLLIBS = -lGL -lGLU
|
||||
GLUTLIBS = -lfreeglut-1.3 -lXxf86vm
|
||||
RANLIB = :
|
||||
LIBDIR = %{_libdir}/ocaml
|
||||
DLLDIR = %{_libdir}/ocaml/stublibs
|
||||
INSTALLDIR = %{_libdir}/ocaml/lablGL
|
||||
TOGLDIR=Togl
|
||||
COPTS = $RPM_OPT_FLAGS
|
||||
EOF
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
|
||||
make INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL \
|
||||
DLLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs \
|
||||
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
||||
install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES COPYRIGHT README Togl/examples LablGlut/examples
|
||||
%{_bindir}/*
|
||||
%{_libdir}/ocaml/lablGL
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Fri Nov 28 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.00-0.fdr.3
|
||||
- Add BuildRequires for camlp4
|
Loading…
Reference in New Issue
Block a user