2018-01-30 07:34:12 +01:00
|
|
|
#
|
|
|
|
# spec file for package ocaml-dune
|
|
|
|
#
|
2019-02-05 08:09:16 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-01-30 07:34:12 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ocaml-dune
|
2019-02-05 08:09:16 +01:00
|
|
|
Version: 1.6.3
|
2018-01-30 07:34:12 +01:00
|
|
|
Release: 0
|
|
|
|
%{?ocaml_preserve_bytecode}
|
|
|
|
Summary: A composable build system for OCaml
|
2019-02-05 08:09:16 +01:00
|
|
|
License: MIT
|
2018-01-30 07:34:12 +01:00
|
|
|
Group: Development/Languages/OCaml
|
|
|
|
Url: https://github.com/ocaml/dune
|
2018-01-30 09:52:37 +01:00
|
|
|
Conflicts: ocaml-jbuilder
|
|
|
|
Conflicts: ocaml-jbuilder-debuginfo
|
|
|
|
Conflicts: ocaml-jbuilder-debugsource
|
2018-01-30 07:34:12 +01:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
A composable build system for OCaml
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags} PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
2019-02-05 08:09:16 +01:00
|
|
|
cp -av _build_bootstrap/default/bin/main_dune.exe %{buildroot}%{_bindir}/dune
|
2018-01-30 10:05:48 +01:00
|
|
|
ln -sfvbn dune %{buildroot}%{_bindir}/jbuilder
|
2019-02-05 08:09:16 +01:00
|
|
|
cp -av _build_bootstrap/default/doc/*.1 %{buildroot}%{_mandir}/man1/
|
2018-01-30 07:34:12 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2019-02-05 08:09:16 +01:00
|
|
|
%doc CHANGES.md README.md
|
|
|
|
%license LICENSE.md
|
2018-01-30 07:34:12 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%changelog
|