Accepting request 501607 from devel:languages:ocaml

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/501607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-parmap?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-06-09 13:56:45 +00:00 committed by Git OBS Bridge
commit 90981ff6e9
2 changed files with 29 additions and 24 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
- Replace tabs with spaces in generated _oasis file
-------------------------------------------------------------------
Sat Jun 4 19:52:34 UTC 2016 - jeffm@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-parmap
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,14 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ocaml-parmap
Version: 20160605.10e2437
%{ocaml_preserve_bytecode}
Release: 0
License: LGPL-2.0
%{ocaml_preserve_bytecode}
Summary: Exploit multicore architectures for OCaml programs with minimal modifications
Url: http://rdicosmo.github.io/parmap/
License: LGPL-2.0
Group: Development/Libraries/Other
Url: http://rdicosmo.github.io/parmap/
Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-oasis
@ -75,37 +76,36 @@ rm -fv setup.ml myocamlbuild.ml META* _* */_*
sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
OASISFormat: 0.4
Name: parmap
Version: 20160605.10e2437
Version: 0
Synopsis: library to exploit multicore architectures (parallel programming)
Authors: Marco Danelutto and Roberto Di Cosmo
License: LGPL-2
License: %{license}
LicenseFile: LICENSE
Plugins: META(`oasis version`)
BuildTools: ocamlbuild
Library parmap
Path: .
Install: true
Modules: Parmap
CSources: bytearray_stubs.c, setcore_stubs.c, config.h
CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE
Path: .
Install: true
Modules: Parmap
CSources: bytearray_stubs.c, setcore_stubs.c, config.h
CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE
Document parmap
Title: API reference for parmap
Type: ocamlbuild
BuildTools+: ocamldoc
InstallDir: \$htmldir
Install: true
XOCamlbuildPath: .
XOCamlbuildLibraries: parmap
Title: API reference for parmap
Type: ocamlbuild
BuildTools+: ocamldoc
InstallDir: \$htmldir
Install: true
XOCamlbuildPath: .
XOCamlbuildLibraries: parmap
Executable "%{name}-mandels"
Install: true
Path: example
MainIs: mandels.ml
CompiledObject: best
BuildDepends: parmap, graphics, unix, bigarray
Install: true
Path: example
MainIs: mandels.ml
CompiledObject: best
BuildDepends: parmap, graphics, unix, bigarray
_EOF_
%oasis_setup
%ocaml_oasis_configure --enable-docs