File cargo-tauri.spec of Package cargo-tauri
#
# spec file for package cargo-tauri
#
# Copyright (c) 2023 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/
#
Name: cargo-tauri
Version: 2.7.0
Release: 0
Summary: Build smaller, faster, and more secure desktop applications with a web frontend
License: MIT
Group: Development/Tools/Building
URL: https://github.com/tauri-apps/tauri
Source0: http://crates.io/api/v1/crates/tauri-cli/%{version}/download#/tauri-cli-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo
BuildRequires: cargo-packaging
%description
Tauri is a polyglot and generic system that is very composable and
allows engineers to make a wide variety of applications. It is used
for building applications for Desktop Computers using a combination
of Rust tools and HTML rendered in a Webview. Apps built with Tauri
can ship with any number of pieces of an optional JS API / Rust API
so that webviews can control the system via message passing. In
fact, developers can extend the default API with their own
functionality and bridge the Webview and Rust-based backend easily
%prep
%autosetup -a1 -n tauri-cli-%{version}
%build
%{cargo_build}
%check
%install
install -Dm 755 target/release/%{name} %{buildroot}%{_bindir}/%{name}
%files
%license LICENSE_APACHE-2.0 LICENSE_MIT
%doc README.md
%{_bindir}/%{name}
%changelog