package created using the webbuild interface [release 8.06.5-1mamba;Fri Apr 26 2019]
This commit is contained in:
parent
f808e7ff7d
commit
66bf45e8f2
@ -1,2 +1,4 @@
|
||||
# ocaml-labltk
|
||||
|
||||
LablTk is an OCaml interface to the Tcl/Tk GUI framework.
|
||||
|
||||
|
87
ocaml-labltk.spec
Normal file
87
ocaml-labltk.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: ocaml-labltk
|
||||
Version: 8.06.5
|
||||
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/
|
||||
Source: https://forge.ocamlcore.org/frs/download.php/1764/labltk-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libtcl-devel
|
||||
BuildRequires: libtk-devel
|
||||
## AUTOBUILDREQ-END
|
||||
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
|
||||
./configure
|
||||
|
||||
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
|
||||
%{_libdir}/ocaml/labltk/tkthread.cmo
|
||||
%{_libdir}/ocaml/stublibs/dlllabltk.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/ocamlbrowser
|
||||
%{_libdir}/ocaml/labltk/*.a
|
||||
%{_libdir}/ocaml/labltk/*.cma
|
||||
%{_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
|
||||
* Fri Apr 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 8.06.5-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user