]> git.pld-linux.org Git - packages/ocaml-labltk.git/blobdiff - ocaml-labltk.spec
- up to 8.06.10
[packages/ocaml-labltk.git] / ocaml-labltk.spec
index e396a3c1a9dc162fb27f575ea01e55053cb5d4c6..148a3fd7ceb3a19bd3af803361c61ff87f009937 100644 (file)
 Summary:       Runtime for LablTk library
 Summary(pl.UTF-8):     Środowisko uruchomieniowe dla biblioteki LablTk
 Name:          ocaml-labltk
-Version:       8.06.2
+Version:       8.06.10
 Release:       1
 Epoch:         1
 License:       LGPL v2 with linking exception
 Group:         Libraries
-Source0:       https://forge.ocamlcore.org/frs/download.php/1628/labltk-%{version}.tar.gz
-# Source0-md5: 15020ef74baa688536ce1d38525462f8
+Source0:       https://github.com/garrigue/labltk/archive/%{version}/labltk-%{version}.tar.gz
+# Source0-md5: d6b4691bb03b114d45411158143883d7
 Patch0:                %{name}-CFLAGS.patch
-URL:           https://forge.ocamlcore.org/projects/labltk/
+URL:           https://github.com/garrigue/labltk
 BuildRequires: ocaml >= 1:4.02
 BuildRequires: tk-devel >= 8.2
 %requires_eq   ocaml-runtime
@@ -71,7 +71,7 @@ Przykładowe kody źródłowe w OCamlu dla LablTk.
 %build
 ./configure
 
-%{__make} -j1 all %{?with_ocaml_opt:allopt} \
+%{__make} -j1 all %{?with_ocaml_opt:opt} \
        CCFLAGS="%{rpmcflags} -Wall"
 
 %install
@@ -81,6 +81,7 @@ install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml/stublibs,%{_examplesdir}/%{name}-%{v
 %{__make} install \
        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
        LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
+       STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs \
        MANDIR=$RPM_BUILD_ROOT%{_mandir}
 
 cp -r examples* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.051584 seconds and 4 git commands to generate.