## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: vapoursynth Version: 79 Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz # Restore soversion that was dropped when libvapoursynth-script was renamed to libvsscript. Patch0: %{name}-vsscript-soversion.patch # Check for _Float16 instead of assuming that everything not x86 provides it. Patch1: %{name}-float16-native-check.patch BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: ninja-build BuildRequires: pkgconfig(zimg) BuildRequires: python3-devel BuildRequires: python3-pytest # Since R79 upstream installs the whole runtime -- the core library, the filter # plugins, vspipe, the headers and the pkg-config file -- inside the Python # package directory, and VSCore locates libvapoursynthfilters and the # third-party plugin directory relative to libvapoursynth.so via dladdr(). # The libraries, vspipe and the plugin directory therefore have to stay there; # see %%install for the FHS entry points layered on top. %global vsdir %{python3_sitearch}/%{name} %description VapourSynth is an application for video manipulation. Or a plugin. Or a library. It’s hard to tell because it has a core library written in C++ and a Python module to allow video scripts to be created. %package libs Summary: VapourSynth's core library with a C++ API Obsoletes: lib%{name} < %{version}-%{release} Provides: lib%{name} == %{version}-%{release} Obsoletes: %{name}-plugins < %{version}-%{release} Provides: %{name}-plugins == %{version}-%{release} %description libs VapourSynth's core library with a C++ API. %package -n python3-%{name} Summary: Python interface for VapourSynth Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description -n python3-%{name} Python interface for VapourSynth/VSSCript. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %package tools Summary: Extra tools for VapourSynth Requires: python3-vapoursynth%{?_isa} = %{version}-%{release} %description tools This package contains the vspipe tool for interfacing with VapourSynth. %prep %autosetup -p1 -n %{name}-R%{version} %generate_buildrequires %pyproject_buildrequires -R %build # CPython 3.15 gained a platform specific stable ABI suffix # (.abi3-x86_64-linux-gnu.so) which meson-python 0.20 does not recognise as # abi3, so it refuses to build the wheel. Nothing is gained from the limited # API in a distribution build against a single Python version, so turn it off. %pyproject_wheel -C setup-args=-Dpython.allow_limited_api=false %install %pyproject_install %pyproject_save_files -l %{name} # Let RPM pick up docs in the files section. rm -fr %{buildroot}%{_docdir}/%{name} # Third-party plugins are auto-loaded from next to the core library. mkdir -p %{buildroot}%{vsdir}/plugins # Headers belong in the usual place. mkdir -p %{buildroot}%{_includedir}/%{name} mv %{buildroot}%{vsdir}/include/*.h %{buildroot}%{_includedir}/%{name}/ rmdir %{buildroot}%{vsdir}/include # Upstream's vapoursynth.pc resolves everything relative to ${pcfiledir}, which # no longer works once the file sits in %%{_libdir}/pkgconfig, and it ships no # Libs: at all. Write it out instead. rm -fr %{buildroot}%{vsdir}/pkgconfig mkdir -p %{buildroot}%{_libdir}/pkgconfig cat > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc < - 79-3 - Fix build on ppc64le * Mon Aug 10 2026 Simone Caronni - 79-2 - Add missing patch * Mon Aug 10 2026 Simone Caronni - 79-1 - Update to R79, switch to Python build that invokes meson * Wed Jul 22 2026 Python Maint - 73-4 - Rebuilt for Python 3.15.0b4 ABI change * Fri Jul 17 2026 Fedora Release Engineering - 73-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 73-2 - Rebuilt for Python 3.15 * Wed Feb 18 2026 Simone Caronni - 73-1 - Update to R73 * Sat Jan 17 2026 Fedora Release Engineering - 72-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Oct 26 2025 Simone Caronni - 72-1 - Update to version R72, reset library version according to packaging guidelines. * Fri Jul 25 2025 Fedora Release Engineering - 71-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 71-4 - Rebuilt for Python 3.14 * Sat Apr 26 2025 Simone Caronni - 71-3 - Tools require pyhton library (#2290426) * Sun Apr 20 2025 Simone Caronni - 71-2 - Drop installing tox test requirements * Sun Apr 20 2025 Simone Caronni - 71-1 - Update to version R71 ## END: Generated by rpmautospec