File scryer-prolog.spec of Package scryer-prolog

#
# spec file for package scryer-prolog
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


# prevent library files from being installed
%global cargo_install_lib 0

Name:           scryer-prolog
Version:        0.9.4~0
Release:        0
Summary:        Modern Prolog implementation written mostly in Rust
Group:          Development/Languages/Other
License:        BSD-3-Clause
URL:            https://github.com/mthom/scryer-prolog
Source0:        %{name}-%{version}.tar.xz
Source1:        vendor.tar.xz
ExclusiveArch:  %{rust_tier1_arches}
BuildRequires:  cargo
BuildRequires:  cargo-packaging
BuildRequires:  libopenssl-devel

%global _description %{expand:
A modern Prolog implementation written mostly in Rust.}

%description %{_description}

%prep
%autosetup -a1 -p1

%build
%{cargo_build}

%install
%{cargo_install}

%files
%license LICENSE
%{_bindir}/scryer-prolog

%changelog
* Fri Jan 17 15:48:47 -03 2025 mgxm <i@mgxm.me>
- Version 0.9.4
- Initial package
openSUSE Build Service is sponsored by