libdatachannel/libdatachannel.spec

67 lines
1.7 KiB
RPMSpec

Name: libdatachannel
Version: 0.22.3
Release: 1mamba
Summary: C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libdatachannel.org/
Source: https://github.com/paullouisageneau/libdatachannel.git/v%{version}/libdatachannel-%{version}.tar.bz2
License: MPL-2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libdatachannel.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/rtc
%{_includedir}/rtc/*
%{_libdir}/libdatachannel.so
%dir %{_libdir}/cmake/LibDataChannel
%{_libdir}/cmake/LibDataChannel/LibDataChannel*.cmake
%doc README.md
%changelog
* Wed Dec 04 2024 Automatic Build System <autodist@openmamba.org> 0.22.3-1mamba
- automatic version update by autodist
* Wed Nov 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.2-1mamba
- package created using the webbuild interface