Compare commits

...

29 Commits
f26 ... master

Author SHA1 Message Date
Richard W.M. Jones
60517fb22e OCaml 4.11.1 rebuild 2020-09-01 19:58:02 +01:00
Richard W.M. Jones
d17cf8b518 OCaml 4.11.0 rebuild 2020-08-21 11:48:00 +01:00
Fedora Release Engineering
fb73a571be - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 12:10:40 +00:00
Richard W.M. Jones
8f5fad527e OCaml 4.11.0+dev2-2020-04-22 rebuild 2020-05-04 19:52:05 +01:00
Richard W.M. Jones
b96a7a35a7 OCaml 4.11.0 pre-release attempt 2 2020-04-21 16:36:35 +01:00
Richard W.M. Jones
259c9ef71b OCaml 4.11.0 pre-release 2020-04-17 21:05:29 +01:00
Richard W.M. Jones
93d1e5e59d Update all OCaml dependencies for RPM 4.16. 2020-04-02 13:06:41 +01:00
Richard W.M. Jones
9d3790074f OCaml 4.10.0 final. 2020-02-26 10:37:12 +00:00
Richard W.M. Jones
8aa5740d51 Remove self META file (RHBZ#1806040). 2020-02-25 21:34:18 +00:00
Fedora Release Engineering
5954c39c87 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 19:36:40 +00:00
Richard W.M. Jones
7e7335a184 OCaml 4.10.0+beta1 rebuild. 2020-01-19 11:42:23 +00:00
Richard W.M. Jones
a49963198b OCaml 4.09.0 for riscv64 2020-01-09 13:18:53 +00:00
Richard W.M. Jones
b80f1458de OCaml 4.09.0 (final) rebuild. 2019-12-06 14:40:25 +00:00
Gwyn Ciesla
e8e5058122 Rebuild for new freeglut. 2019-10-04 08:03:00 -05:00
Richard W.M. Jones
2dbd82457f OCaml 4.08.1 (final) rebuild. 2019-08-16 16:41:21 +01:00
Richard W.M. Jones
44e425f1cb New upstream version 1.06.
This removes the camlp4 dependency (RHBZ#1736347).
Fix for new source URL.
2019-08-10 08:11:30 +01:00
Fedora Release Engineering
93fd1d9ea6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 22:53:46 +00:00
Fedora Release Engineering
34b0444163 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 16:51:02 +00:00
Fedora Release Engineering
93adb15d6e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 14:44:08 +00:00
Richard W.M. Jones
5ca081c596 OCaml 4.07.0 (final) rebuild. 2018-07-11 12:45:07 +01:00
Richard W.M. Jones
725d9a3219 OCaml 4.07.0-rc1 rebuild. 2018-06-19 20:26:29 +01:00
Igor Gnatenko
e3304ccf1f
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:18 +01:00
Fedora Release Engineering
51435c33fd - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 08:51:19 +00:00
Richard W.M. Jones
ba7dae0e26 OCaml 4.06.0 rebuild. 2017-11-07 22:17:36 +00:00
Richard W.M. Jones
f8e265e696 OCaml 4.05.0 rebuild. 2017-08-07 17:57:28 +01:00
Fedora Release Engineering
405bb4bb6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:16:23 +00:00
Fedora Release Engineering
eef5653e54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:28:36 +00:00
Richard W.M. Jones
d03944b041 OCaml 4.04.2 rebuild. 2017-06-26 16:50:54 +01:00
Richard W.M. Jones
1586849190 OCaml 4.04.1 rebuild. 2017-05-11 16:31:19 +01:00
4 changed files with 114 additions and 28 deletions

1
.gitignore vendored
View File

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

11
lablgl-freeglut.patch Normal file
View File

@ -0,0 +1,11 @@
--- 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

@ -2,14 +2,14 @@
Name: ocaml-lablgl
Epoch: 1
Version: 1.05
Release: 20%{?dist}
Version: 1.06
Release: 17%{?dist}
Summary: LablGL is an OpenGL interface for Objective Caml
License: BSD
URL: http://forge.ocamlcore.org/projects/lablgl/
Source0: https://forge.ocamlcore.org/frs/download.php/1254/lablgl-%{version}.tar.gz
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
BuildRequires: freeglut-devel
BuildRequires: ocaml >= 3.12.1-3
@ -22,7 +22,7 @@ BuildRequires: libXxf86vm-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: ocaml-labltk-devel
BuildRequires: ocaml-camlp4-devel
%description
LablGL is is an Objective Caml interface to OpenGL. Support is
@ -37,6 +37,7 @@ Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: ocaml-labltk-devel
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
@ -45,6 +46,8 @@ developing applications that use %{name}.
%prep
%setup -q -n lablgl-%{version}
%patch0 -p0
cat > Makefile.config <<EOF
%if %{opt}
CAMLC = ocamlc.opt
@ -88,26 +91,8 @@ make INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
install
# 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
# Install package META.
cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL/
# Remove unnecessary *.ml files (ones which have a *.mli).
pushd $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
@ -143,6 +128,95 @@ popd
%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
@ -334,7 +408,7 @@ popd
- 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 @@
b64662bf47f2973f836d33ae1365244f lablgl-1.05.tar.gz
SHA512 (ocaml-lablgl-1.06.tar.gz) = 169ac4ed8eaf3635c107c57cd03a76a64fc16a8d3ba1ad261b7e4dcda985c0a83059421e72233f645aec21a1ec27b980530b4ffb7013fba31d446b16521b3f4c