8f1ae30
Name:       vapoursynth
75add59
Version:    65
bbaa813
Release:    2%{?dist}
c5540be
Summary:    Video processing framework with simplicity in mind
8f1ae30
License:    LGPLv2
8f1ae30
URL:        http://www.vapoursynth.com
8f1ae30
8f1ae30
Source0:    https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz
8f1ae30
Patch0:     %{name}-version-info.patch
8f1ae30
5cfca1c
BuildRequires:  make
8f1ae30
BuildRequires:  autoconf
8f1ae30
BuildRequires:  automake
8f1ae30
BuildRequires:  gcc-c++
8f1ae30
BuildRequires:  libtool
8f1ae30
BuildRequires:  nasm
8f1ae30
BuildRequires:  pkgconfig(python3)
8f1ae30
BuildRequires:  pkgconfig(tesseract)
8f1ae30
BuildRequires:  pkgconfig(zimg)
b21b5be
BuildRequires:  python3
8f1ae30
BuildRequires:  python3-Cython
8f1ae30
BuildRequires:  python3-setuptools
8f1ae30
c5540be
%{?_with_tests:
c5540be
BuildRequires:  %{name}-devel
c5540be
BuildRequires:  python3dist(pytest)
c5540be
}
c5540be
8f1ae30
%description
c5540be
VapourSynth is an application for video manipulation. Or a plugin. Or a library.
c5540be
It’s hard to tell because it has a core library written in C++ and a Python
c5540be
module to allow video scripts to be created.
8f1ae30
c5540be
%package        libs
c5540be
Summary:        VapourSynth's core library with a C++ API
c5540be
Obsoletes:      lib%{name} < %{version}-%{release}
c5540be
Provides:       lib%{name} == %{version}-%{release}
398c322
Obsoletes:      %{name}-plugins < %{version}-%{release}
398c322
Provides:       %{name}-plugins == %{version}-%{release}
c5540be
c5540be
%description    libs
8f1ae30
VapourSynth's core library with a C++ API.
8f1ae30
c5540be
%package -n     python3-%{name}
c5540be
Summary:        Python interface for VapourSynth
8f1ae30
8f1ae30
%description -n python3-%{name}
8f1ae30
Python interface for VapourSynth/VSSCript.
8f1ae30
c5540be
%package        devel
c5540be
Summary:        Development files for %{name}
c5540be
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
c5540be
c5540be
%description    devel
8f1ae30
Development files for %{name}.
8f1ae30
c5540be
%package        tools
c5540be
Summary:        Extra tools for VapourSynth
c5540be
c5540be
%description    tools
8f1ae30
This package contains the vspipe tool for interfacing with VapourSynth.
8f1ae30
8f1ae30
%prep
8f1ae30
%autosetup -p1 -n %{name}-R%{version}
8f1ae30
8f1ae30
%build
8f1ae30
autoreconf -vif
8f1ae30
%configure \
8f1ae30
    --disable-static \
8f1ae30
    --enable-x86-asm \
8f1ae30
    --enable-core \
8f1ae30
    --enable-vsscript \
8f1ae30
    --enable-vspipe \
398c322
    --enable-python-module
8f1ae30
8f1ae30
%make_build
8f1ae30
8f1ae30
%install
8f1ae30
%py3_install
8f1ae30
%make_install
8f1ae30
find %{buildroot} -type f -name "*.la" -delete
8f1ae30
398c322
# Create plugin directory
398c322
mkdir -p %{buildroot}%{_libdir}/%{name}
398c322
8f1ae30
# Let RPM pick up docs in the files section
8f1ae30
rm -fr %{buildroot}%{_docdir}/%{name}
8f1ae30
8f1ae30
%ldconfig_scriptlets libs
8f1ae30
%ldconfig_scriptlets -n python3-%{name}
8f1ae30
c5540be
%{?_with_tests:
c5540be
%check
c5540be
%{python3} -m pytest -v
c5540be
}
c5540be
8f1ae30
%files libs
8f1ae30
%doc ChangeLog
5cfca1c
%license COPYING.LESSER
8f1ae30
%dir %{_libdir}/%{name}
8f1ae30
%{_libdir}/lib%{name}.so.*
8f1ae30
%{_libdir}/lib%{name}-script.so.*
8f1ae30
8f1ae30
%files -n python3-%{name}
8f1ae30
%{python3_sitearch}/%{name}.so
8f1ae30
%{python3_sitearch}/VapourSynth-*.egg-info
8f1ae30
8f1ae30
%files devel
c5540be
%{_includedir}/%{name}/
8f1ae30
%{_libdir}/lib%{name}.so
8f1ae30
%{_libdir}/lib%{name}-script.so
8f1ae30
%{_libdir}/pkgconfig/%{name}.pc
8f1ae30
%{_libdir}/pkgconfig/%{name}-script.pc
8f1ae30
8f1ae30
%files tools
8f1ae30
%{_bindir}/vspipe
8f1ae30
8f1ae30
%changelog
bbaa813
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 65-2
bbaa813
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
bbaa813
75add59
* Thu Nov 02 2023 Simone Caronni <negativo17@gmail.com> - 65-1
75add59
- Update to version R65.
75add59
d59332c
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 63-3
d59332c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
d59332c
e4e1c44
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 63-2
e4e1c44
- Rebuilt for Python 3.12
e4e1c44
59cac9b
* Fri Jun 30 2023 Simone Caronni <negativo17@gmail.com> - 63-1
59cac9b
- Update to R63.
59cac9b
65d9274
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 58-5
65d9274
- Rebuilt for Python 3.12
65d9274
0567d37
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 58-4
0567d37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0567d37
372eff2
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 58-3
372eff2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
372eff2
9f61fd6
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 58-2
9f61fd6
- Rebuilt for Python 3.11
9f61fd6
94fc7f1
* Wed May 25 2022 Simone Caronni <negativo17@gmail.com> - 58-1
94fc7f1
- Update to R58.
94fc7f1
cff5b16
* Thu Mar 10 2022 Sandro Mani <manisandro@gmail.com> - 57-2
cff5b16
- Rebuild for tesseract 5.1.0
cff5b16
398c322
* Wed Mar 02 2022 Simone Caronni <negativo17@gmail.com> - 57-1
398c322
- Update to R57.
398c322
- Plugins are now separate.
398c322
06cb1fa
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 51-7
06cb1fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
06cb1fa
cf159ca
* Sun Dec 19 2021 Sandro Mani <manisandro@gmail.com> - 51-6
cf159ca
- Rebuild (tesseract)
cf159ca
0e9e174
* Tue Dec 14 2021 Sandro Mani <manisandro@gmail.com> - 51-5
0e9e174
- Rebuild (tesseract)
0e9e174
1ce9e4d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 51-4
1ce9e4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1ce9e4d
1b1cffb
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 51-3
1b1cffb
- Rebuilt for Python 3.10
1b1cffb
417dd17
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 51-2
417dd17
- Rebuilt for removed libstdc++ symbol (#1937698)
417dd17
5cfca1c
* Tue Mar 23 2021 Simone Caronni <negativo17@gmail.com> - 51-1
5cfca1c
- Update to R51.
5cfca1c
- Allow building for other archs beside x86.
5cfca1c
be02be5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 48-11
be02be5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
be02be5
92baa57
* Sat Oct 17 2020 Jeff Law <law@redhat.com> - 48-10
92baa57
- Fix missing #include for gcc-11
92baa57
32e61f7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 48-9
32e61f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
32e61f7
2648d17
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 48-8
2648d17
- Rebuilt for Python 3.9
2648d17
cdc0af2
* Sat Mar 07 2020 Simone Caronni <negativo17@gmail.com> - 48-7
cdc0af2
- Fix broken dependency.
cdc0af2
d9bfdd6
* Sat Feb 29 2020 Simone Caronni <negativo17@gmail.com> - 48-6
d9bfdd6
- Make it exclusive for i686/x86_64.
d9bfdd6
- Fix build on RHEL/CentOS 8.
d9bfdd6
c5540be
* Tue Feb 25 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 48-5
c5540be
- Add tests
c5540be
- Cosmetic spec file improvements
c5540be
8f1ae30
* Thu Feb 20 2020 Simone Caronni <negativo17@gmail.com> - 48-4
8f1ae30
- More review fixes.
8f1ae30
- Use upstream patch for Python 3.8.
8f1ae30
8f1ae30
* Fri Feb 07 2020 Simone Caronni <negativo17@gmail.com> - 48-3
8f1ae30
- Review fixes.
8f1ae30
8f1ae30
* Sun Jan 26 2020 Simone Caronni <negativo17@gmail.com> - 48-2
8f1ae30
- Move script library into main library package.
8f1ae30
- Fix build with Python 3.8.
8f1ae30
8f1ae30
* Thu Jan 16 2020 Simone Caronni <negativo17@gmail.com> - 48-1
8f1ae30
- First build.