1
0
forked from pool/ocaml-libvirt

- Replace tabs with spaces in generated _oasis file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=14
This commit is contained in:
Olaf Hering 2017-05-31 07:36:09 +00:00 committed by Git OBS Bridge
parent 0240bed888
commit e31e168979
2 changed files with 43 additions and 38 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
-------------------------------------------------------------------
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-libvirt
#
# Copyright (c) 2014 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
@ -82,59 +82,59 @@ popd
sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
OASISFormat: 0.4
Name: libvirt
Version: 20160605.10e2437
Version: 0
Synopsis: binding for libvirt
Authors: Richard W.M. Jones
License: LGPL-2.0+
License: %{license}
Plugins: META(`oasis version`)
BuildTools: ocamlbuild
Library mllibvirt
Path: libvirt
Install: true
Modules: Libvirt, Libvirt_version
FindlibName: libvirt
BuildDepends: unix
CSources: libvirt_c.c
CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
CCLib: ${libvirt_libs}
Path: libvirt
Install: true
Modules: Libvirt, Libvirt_version
FindlibName: libvirt
BuildDepends: unix
CSources: libvirt_c.c
CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
CCLib: ${libvirt_libs}
Document libvirt
Title: API reference for libvirt
Type: ocamlbuild
BuildTools+: ocamldoc
InstallDir: \$htmldir
Install: true
XOCamlbuildPath: .
XOCamlbuildLibraries: libvirt
Title: API reference for libvirt
Type: ocamlbuild
BuildTools+: ocamldoc
InstallDir: \$htmldir
Install: true
XOCamlbuildPath: .
XOCamlbuildLibraries: libvirt
Executable "%{name}-domain_events"
Install: true
Path: examples
MainIs: domain_events.ml
CompiledObject: best
BuildDepends: libvirt
Install: true
Path: examples
MainIs: domain_events.ml
CompiledObject: best
BuildDepends: libvirt
Executable "%{name}-get_cpu_stats"
Install: true
Path: examples
MainIs: get_cpu_stats.ml
CompiledObject: best
BuildDepends: libvirt
Install: true
Path: examples
MainIs: get_cpu_stats.ml
CompiledObject: best
BuildDepends: libvirt
Executable "%{name}-list_domains"
Install: true
Path: examples
MainIs: list_domains.ml
CompiledObject: best
BuildDepends: libvirt
Install: true
Path: examples
MainIs: list_domains.ml
CompiledObject: best
BuildDepends: libvirt
Executable "%{name}-node_info"
Install: true
Path: examples
MainIs: node_info.ml
CompiledObject: best
BuildDepends: libvirt
Install: true
Path: examples
MainIs: node_info.ml
CompiledObject: best
BuildDepends: libvirt
_EOF_
%oasis_setup
%ocaml_oasis_configure --enable-docs