%undefine __cmake_in_source_build Name: libftl Version: 0.9.14 Release: 8%{?dist} Summary: FTL audio/video streaming library License: MIT URL: https://github.com/mixer/ftl-sdk Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: cmake-Use-external-jansson-if-possible.patch Patch1: cmake-Install-into-standard-directories.patch Patch2: cmake-Install-a-pkgconfig-file.patch Patch3: refactor-remove-ftl_app-completely.patch BuildRequires: cmake3 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: jansson-devel BuildRequires: libcurl-devel %description FTL-SDK is a cross platform SDK written in C to enable sending audio/video to mixer using FTL service. %prep %autosetup -p1 -n ftl-sdk-%{version} %package devel Summary: Development files for libftl Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for libftl. %build %cmake3 -DDISABLE_AUTO_INGEST=TRUE \ -DDISABLE_FTL_APP=TRUE \ -DFTL_INSTALL_INCLUDES=TRUE %cmake3_build %install %cmake3_install %files %license LICENSE %doc README.md %{_libdir}/%{name}.so.0* %files devel %{_libdir}/pkgconfig/libftl.pc %{_libdir}/%{name}.so %{_includedir}/libftl/ %changelog * Thu Apr 22 2021 Leigh Scott - 0.9.14-8 - Use archlinux patches * Sat Apr 03 2021 Leigh Scott - 0.9.14-7 - Add pkgconfig file * Wed Feb 03 2021 RPM Fusion Release Engineering - 0.9.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Aug 18 2020 RPM Fusion Release Engineering - 0.9.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 04 2020 RPM Fusion Release Engineering - 0.9.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 09 2019 RPM Fusion Release Engineering - 0.9.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 03 2019 Momcilo Medic - 0.9.14-2 - Added patches for headers and library destination handling * Tue Apr 02 2019 Momcilo Medic - 0.9.14-1 - First public release