Name: movit
Version: 1.6.2
Release: 4%{?dist}
Summary: GPU video filter library
License: GPLv2+
Url: https://movit.sesse.net
Source0: https://movit.sesse.net/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(eigen3)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: gtest-devel
Requires: %{name}-data = %{version}-%{release}
%description
Movit is a library for video filters. It uses the GPU present in many
computers to accelerate computation of common filters and
transitions, facilitating real-time HD video editing.
This package contains the Movit shared library.
%package devel
Summary: Development files for the Movit GPU video filter library
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Movit is a library for video filters. It uses the GPU present in many
computers to accelerate computation of common filters and
transitions, facilitating real-time HD video editing.
This package contains the development files (library and header files).
%package data
Summary: Data files for the Movit GPU video filter library
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description data
Movit is a library for video filters. It uses the GPU present in many
computers to accelerate computation of common filters and
transitions, facilitating real-time HD video editing.
This package contains the architecture-independent data files.
%prep
%setup -q
%build
%configure --disable-static
%make_build TESTS=
%install
sed -i 's/-m 0644 libmovit.la/libmovit.la/' Makefile
%make_install
rm %{buildroot}%{_libdir}/libmovit.la
#check
# skipped test suite due src/gtest-all.cc is missing
# make check
%ldconfig_scriptlets
%files
%doc README NEWS
%license COPYING
%{_libdir}/libmovit.so.*
%files data
%{_datadir}/movit/
%files devel
%{_libdir}/libmovit.so
%{_includedir}/movit/
%{_libdir}/pkgconfig/movit.pc
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat May 12 2018 Martin Gansser <martinkg@fedoraproject.org> - 1.6.2-1
- Update to 1.6.2
* Fri Feb 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.6.1-1
- Update to 1.6.1
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 29 2018 Martin Gansser <martinkg@fedoraproject.org> - 1.6.0-1
- Update to 1.6.0
- Add pkgconfig(sdl2)
- Add pkgconfig(SDL2_image)
* Sat Sep 23 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.5.3-2
- Correct license tag to GPLv2+
- Add comment why adding licensing test file
- Add %%license macro only to main package
- Add RR %%{name}-data = %%{version}-%%{release} to main package
- Add RR %%{name} = %%{version}-%%{release} to data sub package
* Sat Sep 09 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.5.3-1
- Initial package: movit-1.5.3