roast/roast.spec

52 lines
1.4 KiB
RPMSpec

#
# spec file for package roast
#
# 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/
#
Name: roast
Version: 3.2.2
Release: 0
Summary: Simple tar archiver and extractor
License: MPL-2.0
URL: https://github.com/openSUSE-Rust/roast
Source0: https://github.com/openSUSE-Rust/roast/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(libzstd)
%description
Roast is a simple tar archiver and extractor with very high
compression settings for supported formats such as zstd.
%prep
%autosetup -a1
%build
%{cargo_build}
%install
pushd roast-cli
%{cargo_install} --bins
popd
%files
%{_bindir}/roast
%{_bindir}/raw
%license LICENCE
%doc CHANGELOG.md README.md
%changelog