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 Sat Jun 4 19:52:34 UTC 2016 - jeffm@suse.com

View File

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