package created using the webbuild interface [release 0.22.2-1mamba;Wed Nov 13 2024]
This commit is contained in:
parent
33fea5efd0
commit
d3ba2f6555
@ -1,2 +1,4 @@
|
||||
# libdatachannel
|
||||
|
||||
C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets.
|
||||
|
||||
|
63
libdatachannel.spec
Normal file
63
libdatachannel.spec
Normal file
@ -0,0 +1,63 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user