|
|
|
@ -1,5 +1,9 @@
|
|
|
|
|
#global _with_tests 1
|
|
|
|
|
#global _with_subtitles 1
|
|
|
|
|
#global _with_ImageMagick 1
|
|
|
|
|
|
|
|
|
|
Name: vapoursynth
|
|
|
|
|
Version: 57
|
|
|
|
|
Version: 51
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Video processing framework with simplicity in mind
|
|
|
|
|
License: LGPLv2
|
|
|
|
@ -7,6 +11,7 @@ URL: http://www.vapoursynth.com
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz
|
|
|
|
|
Patch0: %{name}-version-info.patch
|
|
|
|
|
Patch1: %{name}-gcc11.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
@ -26,27 +31,39 @@ BuildRequires: %{name}-devel
|
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%{?_with_ImageMagick:
|
|
|
|
|
BuildRequires: pkgconfig(Magick++) >= 7.0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%{?_with_subtitles:
|
|
|
|
|
BuildRequires: pkgconfig(libass)
|
|
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
|
Python interface for VapourSynth/VSSCript.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
@ -54,15 +71,26 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description devel
|
|
|
|
|
Development files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Extra tools for VapourSynth
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
This package contains the vspipe tool for interfacing with VapourSynth.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package plugins
|
|
|
|
|
Summary: VapourSynth plugins
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description plugins
|
|
|
|
|
VapourSynth plugins.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{name}-R%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -vif
|
|
|
|
|
%configure \
|
|
|
|
@ -71,29 +99,38 @@ autoreconf -vif
|
|
|
|
|
--enable-core \
|
|
|
|
|
--enable-vsscript \
|
|
|
|
|
--enable-vspipe \
|
|
|
|
|
--enable-python-module
|
|
|
|
|
--enable-python-module \
|
|
|
|
|
--enable-eedi3 \
|
|
|
|
|
--%{?_with_ImageMagick:enable}%{!?_with_ImageMagick:disable}-imwri \
|
|
|
|
|
--enable-miscfilters \
|
|
|
|
|
--enable-morpho \
|
|
|
|
|
--enable-ocr \
|
|
|
|
|
--enable-removegrain \
|
|
|
|
|
--%{?_with_subtitles:enable}%{!?_with_subtitles:disable}-subtext \
|
|
|
|
|
--enable-vinverse \
|
|
|
|
|
--enable-vivtc \
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%make_install
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
# Create plugin directory
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
|
|
|
|
|
|
|
|
# Let RPM pick up docs in the files section
|
|
|
|
|
rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
%ldconfig_scriptlets -n python3-%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?_with_tests:
|
|
|
|
|
%check
|
|
|
|
|
%{python3} -m pytest -v
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%doc ChangeLog
|
|
|
|
|
%license COPYING.LESSER
|
|
|
|
@ -115,28 +152,13 @@ rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/vspipe
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 02 2022 Simone Caronni <negativo17@gmail.com> - 57-1
|
|
|
|
|
- Update to R57.
|
|
|
|
|
- Plugins are now separate.
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 51-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Dec 19 2021 Sandro Mani <manisandro@gmail.com> - 51-6
|
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
%files plugins
|
|
|
|
|
%{_libdir}/%{name}/lib*.so
|
|
|
|
|
|
|
|
|
|
* Tue Dec 14 2021 Sandro Mani <manisandro@gmail.com> - 51-5
|
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 51-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 51-3
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 51-2
|
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 27 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 51-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Simone Caronni <negativo17@gmail.com> - 51-1
|
|
|
|
|
- Update to R51.
|