64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
|
Name: libdatachannel
|
||
|
Version: 0.22.2
|
||
|
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 Nov 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.2-1mamba
|
||
|
- package created using the webbuild interface
|