File coinst.spec of Package coinst

#
# spec file for package coinst
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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:           coinst
Version:        1.9.1
Release:        0
%{?ocaml_preserve_bytecode}
Summary:        Tool for extracting and visualizing coinstallability
License:        GPL-2.0
Group:		Development/Languages/OCaml
Url:            http://coinst.irill.org/
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  ocaml
BuildRequires:  ocaml-findlib
BuildRequires:  ocaml-rpm-macros >= 4.02.1
BuildRequires:  ocamlfind(bigarray)
BuildRequires:  ocamlfind(cudf)
BuildRequires:  ocamlfind(js_of_ocaml)
BuildRequires:  ocamlfind(js_of_ocaml.syntax)
BuildRequires:  ocamlfind(str)
BuildRequires:  ocamlfind(unix)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Tool for coinstabillity analysis, visualisation and possible regression identification.

%prep
%setup -q

%build
make depend
make

%install
install -D -m 0755 coinst %{buildroot}%{_bindir}/coinst

%files
%defattr(-,root,root,-)
%{_bindir}/coinst
%doc

%changelog
openSUSE Build Service is sponsored by