|
|
@ -1,5 +1,9 @@
|
|
|
|
|
|
|
|
#global _with_tests 1
|
|
|
|
|
|
|
|
#global _with_subtitles 1
|
|
|
|
|
|
|
|
#global _with_ImageMagick 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: vapoursynth
|
|
|
|
Name: vapoursynth
|
|
|
|
Version: 57
|
|
|
|
Version: 51
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Video processing framework with simplicity in mind
|
|
|
|
Summary: Video processing framework with simplicity in mind
|
|
|
|
License: LGPLv2
|
|
|
|
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
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz
|
|
|
|
Patch0: %{name}-version-info.patch
|
|
|
|
Patch0: %{name}-version-info.patch
|
|
|
|
|
|
|
|
Patch1: %{name}-gcc11.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf
|
|
|
@ -26,27 +31,39 @@ BuildRequires: %{name}-devel
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
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
|
|
|
|
%description
|
|
|
|
VapourSynth is an application for video manipulation. Or a plugin. Or a library.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
module to allow video scripts to be created.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%package libs
|
|
|
|
Summary: VapourSynth's core library with a C++ API
|
|
|
|
Summary: VapourSynth's core library with a C++ API
|
|
|
|
Obsoletes: lib%{name} < %{version}-%{release}
|
|
|
|
Obsoletes: lib%{name} < %{version}-%{release}
|
|
|
|
Provides: lib%{name} == %{version}-%{release}
|
|
|
|
Provides: lib%{name} == %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-plugins < %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: %{name}-plugins == %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
VapourSynth's core library with a C++ API.
|
|
|
|
VapourSynth's core library with a C++ API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
%package -n python3-%{name}
|
|
|
|
Summary: Python interface for VapourSynth
|
|
|
|
Summary: Python interface for VapourSynth
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
%description -n python3-%{name}
|
|
|
|
Python interface for VapourSynth/VSSCript.
|
|
|
|
Python interface for VapourSynth/VSSCript.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
@ -54,15 +71,26 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
Development files for %{name}.
|
|
|
|
Development files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
%package tools
|
|
|
|
Summary: Extra tools for VapourSynth
|
|
|
|
Summary: Extra tools for VapourSynth
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
%description tools
|
|
|
|
This package contains the vspipe tool for interfacing with VapourSynth.
|
|
|
|
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
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-R%{version}
|
|
|
|
%autosetup -p1 -n %{name}-R%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -vif
|
|
|
|
autoreconf -vif
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
@ -71,29 +99,38 @@ autoreconf -vif
|
|
|
|
--enable-core \
|
|
|
|
--enable-core \
|
|
|
|
--enable-vsscript \
|
|
|
|
--enable-vsscript \
|
|
|
|
--enable-vspipe \
|
|
|
|
--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
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
%make_install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
# Create plugin directory
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Let RPM pick up docs in the files section
|
|
|
|
# Let RPM pick up docs in the files section
|
|
|
|
rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
%ldconfig_scriptlets -n python3-%{name}
|
|
|
|
%ldconfig_scriptlets -n python3-%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?_with_tests:
|
|
|
|
%{?_with_tests:
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{python3} -m pytest -v
|
|
|
|
%{python3} -m pytest -v
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%doc ChangeLog
|
|
|
|
%doc ChangeLog
|
|
|
|
%license COPYING.LESSER
|
|
|
|
%license COPYING.LESSER
|
|
|
@ -115,28 +152,13 @@ rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
%files tools
|
|
|
|
%files tools
|
|
|
|
%{_bindir}/vspipe
|
|
|
|
%{_bindir}/vspipe
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%files plugins
|
|
|
|
* Wed Mar 02 2022 Simone Caronni <negativo17@gmail.com> - 57-1
|
|
|
|
%{_libdir}/%{name}/lib*.so
|
|
|
|
- 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Tue Feb 27 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 51-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
* 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Simone Caronni <negativo17@gmail.com> - 51-1
|
|
|
|
* Tue Mar 23 2021 Simone Caronni <negativo17@gmail.com> - 51-1
|
|
|
|
- Update to R51.
|
|
|
|
- Update to R51.
|