Name: openapv Version: 0.1.11.3 Release: %autorelease Summary: Open Advanced Professional Video Codec License: BSD-3 URL: https://github.com/AcademySoftwareFoundation/openapv Source0: %{url}/archive/v%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ %description OpenAPV provides the reference implementation of the APV codec which can be used to record professional-grade video and associated metadata without quality degradation. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package static Summary: OpenAPV Static Library Requires: %{name}%{?_isa} = %{version}-%{release} %description static The %{name}-static package contains the codec's static library. %prep %autosetup %build %cmake -DENABLE_TESTS=ON %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_bindir}/oapv_app_{dec,enc} %{_libdir}/liboapv.so.0.1 %files devel %{_includedir}/oapv %{_libdir}/liboapv.so %{_libdir}/liboapv.so.1 %{_libdir}/pkgconfig/oapv.pc %files static %{_libdir}/oapv/liboapv.a %changelog %autochangelog