Summary: A lightweight, high performance and stable stream server and client framework based on C++11.
Group: development
License: MIT
URL: https://github.com/xia-chu/ZLMediaKit
Source0: %{name}-%{version}.tar.xz
%if %{with openssl}
BuildRequires: openssl-devel
%endif
%if %{with mysql}
BuildRequires: mysql-devel
%endif
%if %{with faac}
BuildRequires: faac-devel
%endif
%if %{with x264}
BuildRequires: x264-devel
%endif
%if 0%{?use_devtoolset}
BuildRequires: devtoolset-8-gcc-c++
%endif
%description
A lightweight RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181 server and client framework based on C++11.
%package media-server
Requires: %{name} = %{version}
Summary: A lightweight, high performance and stable stream server
%description media-server
A lightweight RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181 server.
%package c-libs
Requires: %{name} = %{version}
Summary: The %{name} C libraries.
%description c-libs
The %{name} C libraries.
%package c-devel
Requires: %{name}-c-libs = %{version}
Summary: The %{name} C API headers.
%description c-devel
The %{name} C API headers.
%package cxx-devel
Requires: %{name} = %{version}
Summary: The %{name} C++ API headers and development libraries.
%description cxx-devel
The %{name} C++ API headers and development libraries.