File av1an.spec of Package av1an
#
# spec file for package av1an
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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: av1an
Version: 0.5
Release: 0
Summary: Command-line video encoding framework
License: GPL-3.0-only
URL: https://rust-av.github.io/Av1an/
Source0: https://github.com/rust-av/Av1an/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: ffmpeg-devel
BuildRequires: nasm
BuildRequires: vapoursynth-devel
Requires: (SVT-AV1 or aom-tools or rav1e or vpx-tools or x264 or x265)
Requires: ffmpeg
Requires: vapoursynth-tools
Recommends: mkvtoolnix
Recommends: vapoursynth-plugin-bestsource
Recommends: vapoursynth-plugin-vszip
Recommends: xpsnr
ExclusiveArch: %{rust_tier1_arches}
BuildSystem: cargo
BuildOption(install): -p av1an
%description
Av1an is a video encoding framework. It can increase your encoding
speed and improve cpu utilization by running multiple encoder processes
in parallel.
Key features include Target Quality, VMAF plotting, and more available
to improve video encoding.
%prep
%autosetup -p1 -a1 -n Av1an-%{version}
%check
# empty
%files
%license LICENSE.md
%doc README.md
%{_bindir}/av1an
%changelog