File vapoursynth-plugin-fmtconv.spec of Package vapoursynth-plugin-fmtconv
#
# spec file for package vapoursynth-plugin-fmtconv
#
# 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: vapoursynth-plugin-fmtconv
Version: 30+41.g259b702
Release: 0
Summary: Format conversion tools
License: WTFPL
URL: https://gitlab.com/EleonoreMizo/fmtconv/-/tree/master?ref_type=heads
Source0: vapoursynth-fmtconv-%{version}.tar.zst
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: c++_compiler
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(vapoursynth)
%description
Fmtconv is a format-conversion plug-in for the VapourSynth video
processing engine. It does:
* Resizing.
* Bitdepth conversion with dithering.
* Colorspace conversion (matrix, transfer characteristics and
chromatic adaptation).
It supports:
* Pixel data types: 8-–12-, 14- and 16-bit integer, 32-bit float.
* Colorspaces: RGB, Y, YUV, YCoCg, YDzDx and ICtCp in 4:4:4, 4:2:2,
4:2:0 and 4:1:1 chroma subsampling factors.
* Progressive and interlaced content.
Fmtconv is focussed primarily on quality and exactness rather than
execution speed. This does not mean it is slow or unoptimized,
but fmtconv is clearly not on par with the fastest equivalent 8-bit
filters.
%prep
%autosetup -n vapoursynth-fmtconv-%{version}
rm doc/license.txt
%conf
cd build/unix
./autogen.sh
%configure --libdir=%{_libdir}/vapoursynth
%build
cd build/unix
%make_build
%install
cd build/unix
%make_install
%files
%doc README.md doc
%license COPYING
%{_libdir}/vapoursynth
%changelog