2024-01-06 07:54:49 +01:00
|
|
|
Name: ocaml-labltk
|
2024-01-06 07:54:49 +01:00
|
|
|
Version: 8.06.9
|
2024-01-06 07:54:49 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An OCaml interface to the Tcl/Tk GUI framework
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://labltk.forge.ocamlcore.org/
|
2024-01-06 07:54:49 +01:00
|
|
|
Source: https://github.com/garrigue/labltk.git/%{version}/labltk-%{version}.tar.bz2
|
2024-01-06 07:54:49 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 07:54:49 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 07:54:49 +01:00
|
|
|
BuildRequires: libtcl-devel
|
|
|
|
BuildRequires: libtk-devel
|
2024-01-06 07:54:49 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
2024-01-06 07:54:49 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:54:49 +01:00
|
|
|
BuildRequires: ocaml >= 4.11.1
|
2024-01-06 07:54:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
LablTk is an OCaml interface to the Tcl/Tk GUI framework.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n labltk-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:54:49 +01:00
|
|
|
./configure \
|
|
|
|
-tkdefs "-fPIC"
|
2024-01-06 07:54:49 +01:00
|
|
|
|
|
|
|
make all opt
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d -m 755 %{buildroot}%{_bindir}
|
|
|
|
install -d -m 755 %{buildroot}%{_libdir}/ocaml/labltk
|
|
|
|
install -d -m 755 %{buildroot}%{_libdir}/ocaml/stublibs
|
|
|
|
make \
|
|
|
|
BINDIR=%{buildroot}%{_bindir} \
|
|
|
|
INSTALLDIR=%{buildroot}%{_libdir}/ocaml/labltk \
|
|
|
|
STUBLIBDIR=%{buildroot}%{_libdir}/ocaml/stublibs \
|
|
|
|
install
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/ocaml/labltk/*.ml
|
|
|
|
|
|
|
|
## Make and install a META file.
|
|
|
|
#cat > %{buildroot}%{_libdir}/ocaml/labltk/META<<EOF
|
|
|
|
#version="%{version}"
|
|
|
|
#directory="+labltk"
|
|
|
|
#archive(byte) = "labltk.cma"
|
|
|
|
#archive(native) = "labltk.cmxa"
|
|
|
|
#EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/labltk
|
|
|
|
%dir %{_libdir}/ocaml/labltk
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmi
|
2024-01-06 07:54:49 +01:00
|
|
|
%{_libdir}/ocaml/labltk/*.cma
|
2024-01-06 07:54:49 +01:00
|
|
|
%{_libdir}/ocaml/labltk/tkthread.cmo
|
|
|
|
%{_libdir}/ocaml/stublibs/dlllabltk.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/ocamlbrowser
|
|
|
|
%{_libdir}/ocaml/labltk/*.a
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmx
|
|
|
|
%{_libdir}/ocaml/labltk/*.cmxa
|
|
|
|
%{_libdir}/ocaml/labltk/*.mli
|
|
|
|
%{_libdir}/ocaml/labltk/labltktop
|
|
|
|
%{_libdir}/ocaml/labltk/pp
|
|
|
|
%{_libdir}/ocaml/labltk/tkcompiler
|
|
|
|
%doc README.md README.mlTk
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:54:49 +01:00
|
|
|
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.06.9-1mamba
|
|
|
|
- update to 8.06.9
|
|
|
|
|
2024-01-06 07:54:49 +01:00
|
|
|
* Sat Jan 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.06.7-1mamba
|
|
|
|
- update to 8.06.7
|
|
|
|
|
2024-01-06 07:54:49 +01:00
|
|
|
* Fri Apr 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 8.06.5-1mamba
|
|
|
|
- package created using the webbuild interface
|