Compare commits

..

4 Commits
master ... el6

Author SHA1 Message Date
Fedora Release Engineering
f2a5b45fbd dist-git conversion 2010-07-29 04:44:59 +00:00
Dennis Gilmore
ab3c216ad8 Initialize branch EL-6 for ocaml-lablgl 2010-05-08 02:02:04 +00:00
Dennis Gilmore
701b799d99 rebuild for sparc 2010-04-25 14:10:59 +00:00
Bill Nottingham
4b4f6f89ed Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:20:47 +00:00
4 changed files with 51 additions and 238 deletions

3
.gitignore vendored
View File

@ -1,4 +1 @@
lablgl-1.04.tar.gz
/lablgl-20120306.tar.gz
/lablgl-1.05.tar.gz
/ocaml-lablgl-1.06.tar.gz

View File

@ -1,11 +0,0 @@
--- LablGlut/src/wrap_glut.c~ 2019-08-07 02:55:23.000000000 -0500
+++ LablGlut/src/wrap_glut.c 2019-09-18 16:26:31.068789343 -0500
@@ -14,7 +14,7 @@
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
-#include <GL/glut.h>
+#include <GL/freeglut.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,18 +1,20 @@
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-lablgl
Epoch: 1
Version: 1.06
Release: 17%{?dist}
Summary: LablGL is an OpenGL interface for Objective Caml
License: BSD
Version: 1.04
Release: 2%{?dist}.1
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
Source0: https://github.com/garrigue/lablgl/archive/v1.06/%{name}-%{version}.tar.gz
Patch0: lablgl-freeglut.patch
Source0: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64 s390 s390x
BuildRequires: freeglut-devel
BuildRequires: ocaml >= 3.12.1-3
BuildRequires: ocaml
BuildRequires: tcl-devel
BuildRequires: tk-devel
BuildRequires: libX11-devel
@ -22,7 +24,11 @@ BuildRequires: libXxf86vm-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: ocaml-labltk-devel
BuildRequires: ocaml-camlp4-devel
%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
%description
LablGL is is an Objective Caml interface to OpenGL. Support is
@ -34,28 +40,21 @@ extension, or with open-source Mesa.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ocaml-labltk-devel
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%setup -q -n lablgl-%{version}
%patch0 -p0
%setup -q -n lablGL-%{version}
cat > Makefile.config <<EOF
%if %{opt}
CAMLC = ocamlc.opt
CAMLOPT = ocamlopt.opt -g
%else
CAMLC = ocamlc
CAMLOPT = ocamlc -g
%endif
CAMLOPT = ocamlopt.opt
BINDIR = %{_bindir}
XINCLUDES = -I%{_prefix}/X11R6/include
XLIBS = -lXext -lXmu -lX11
@ -73,12 +72,7 @@ EOF
%build
# Parallel builds don't work.
unset MAKEFLAGS
make all \
%if %{opt}
opt
%endif
make all opt
%install
@ -91,8 +85,26 @@ make INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
install
# Install package META.
cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL/
# Make and install a META file.
cat <<EOM >META
version="%{version}"
directory="+lablgl"
archive(byte) = "lablgl.cma"
archive(native) = "lablgl.cmxa"
package "togl" (
requires = "labltk lablgl"
archive(byte) = "togl.cma"
archive(native) = "togl.cmxa"
)
package "glut" (
requires = "lablgl"
archive(byte) = "lablglut.cma"
archive(native) = "lablglut.cmxa"
)
EOM
cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
# Remove unnecessary *.ml files (ones which have a *.mli).
pushd $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
@ -105,7 +117,12 @@ done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%dir %{_libdir}/ocaml/lablGL
%{_libdir}/ocaml/lablGL/*.cma
@ -116,209 +133,19 @@ popd
%files devel
%defattr(-,root,root,-)
%doc CHANGES COPYRIGHT README LablGlut/examples Togl/examples
%{_libdir}/ocaml/lablGL/META
%{_libdir}/ocaml/lablGL/*.a
%if %{opt}
%{_libdir}/ocaml/lablGL/*.cmxa
%{_libdir}/ocaml/lablGL/*.cmx
%endif
%{_libdir}/ocaml/lablGL/*.mli
%{_libdir}/ocaml/lablGL/build.ml
%changelog
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-17
- OCaml 4.11.1 rebuild
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-16
- OCaml 4.11.0 rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.06-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-14
- OCaml 4.11.0+dev2-2020-04-22 rebuild
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-13
- OCaml 4.11.0 pre-release attempt 2
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-12
- OCaml 4.11.0 pre-release
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-11
- Update all OCaml dependencies for RPM 4.16.
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-10
- OCaml 4.10.0 final.
* Tue Feb 25 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-9
- Remove self META file (RHBZ#1806040).
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.06-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-7
- OCaml 4.10.0+beta1 rebuild.
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-6
- OCaml 4.09.0 for riscv64
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-5
- OCaml 4.09.0 (final) rebuild.
* Tue Sep 17 2019 Gwyn Ciesla <gwync@protonmail.com> - 1:1.06-3
- Rebuilt for new freeglut
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-2
- OCaml 4.08.1 (final) rebuild.
* Sat Aug 10 2019 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-1
- New upstream version 1.06.
- This removes the camlp4 dependency (RHBZ#1736347).
- Fix for new source URL.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-30
- OCaml 4.07.0 (final) rebuild.
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-29
- OCaml 4.07.0-rc1 rebuild.
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.05-28
- Escape macros in %%changelog
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-26
- OCaml 4.06.0 rebuild.
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-25
- OCaml 4.05.0 rebuild.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-22
- OCaml 4.04.2 rebuild.
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-21
- OCaml 4.04.1 rebuild.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Nov 04 2016 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-19
- Rebuild for OCaml 4.04.0.
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.05-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-17
- OCaml 4.02.3 rebuild.
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-16
- Fix bytecode builds (patch supplied by Rafael Fonseca).
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-15
- ocaml-4.02.2 final rebuild.
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-14
- ocaml-4.02.2 rebuild.
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-13
- Bump release and rebuild.
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-12
- ocaml-4.02.1 rebuild.
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-11
- Bump release and rebuild.
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-10
- ocaml-4.02.0 final rebuild.
* Fri Aug 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-9
- Bump release and rebuild.
* Fri Aug 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-8
- ocaml-4.02.0+rc1 rebuild.
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.05-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 01 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-6
- Bump release and rebuild.
* Fri Aug 01 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-5
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
* Tue Jul 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1:1.05-4
- OCaml 4.02.0 beta rebuild.
* Thu Jun 19 2014 Richard W.M. Jones <rjones@redhat.com> - 1.05-3
- Make -devel subpackage depend on the epoch + base version.
* Wed Jun 18 2014 Richard W.M. Jones <rjones@redhat.com> - 1.05-1
- New upstream version 1.05.
- Requires Epoch because upstream version went from 20120306->1.05.
- Fixes FTBFS (RHBZ#1106619).
- Use ExclusiveArch and add a comment about how we could fix this.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120306-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 20120306-7
- Rebuild for OCaml 4.01.0.
- Enable debuginfo.
- Modernize the spec file.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120306-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120306-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Oct 17 2012 Orion Poplawski <orion@cora.nwra.com> - 20120306-4
- Rebuild for OCaml 4.00.1.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120306-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Jun 10 2012 Richard W.M. Jones <rjones@redhat.com> - 20120306-2
- Rebuild for OCaml 4.00.0.
* Fri Jun 8 2012 Orion Poplawski <orion@cora.nwra.com> - 20120306-1
- Update to version 20120306.
- Update URL.
- Build for OCaml 4.00.0.
* Sat Apr 28 2012 Richard W.M. Jones <rjones@redhat.com> - 1.04-7
- Bump and rebuild against new OCaml compiler in ARM.
* Fri Jan 06 2012 Richard W.M. Jones <rjones@redhat.com> - 1.04-6
- Rebuild for OCaml 3.12.1.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jan 05 2011 Richard W.M. Jones <rjones@redhat.com> - 1.04-4
- Rebuild for OCaml 3.12 (http://fedoraproject.org/wiki/Features/OCaml3.12).
* Wed Dec 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.04-3
- Rebuild for OCaml 3.11.2.
* Sun Apr 25 2010 Dennis Gilmore <dennis@ausil.us> - 1.04-2.1
- rebuild on sparc
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@ -401,14 +228,14 @@ popd
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.01-5
- rebuild on all arches
* Fri Apr 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Fri Apr 1 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.01-3
- Rebuild for ocaml 3.08.3
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:1.01-2
- Removed %%{_smp_mflags} as it breaks the build
- 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

View File

@ -1 +1 @@
SHA512 (ocaml-lablgl-1.06.tar.gz) = 169ac4ed8eaf3635c107c57cd03a76a64fc16a8d3ba1ad261b7e4dcda985c0a83059421e72233f645aec21a1ec27b980530b4ffb7013fba31d446b16521b3f4c
dcf05a0cffffdf06cbe0fe55f9eff974 lablgl-1.04.tar.gz