From d3ba2f655585292129ce6a1992c93cb12e157b85 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 14 Nov 2024 16:57:08 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.22.2-1mamba;Wed Nov 13 2024] --- README.md | 2 ++ libdatachannel.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 libdatachannel.spec diff --git a/README.md b/README.md index 6fafae9..803b270 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libdatachannel +C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets. + diff --git a/libdatachannel.spec b/libdatachannel.spec new file mode 100644 index 0000000..0b5f546 --- /dev/null +++ b/libdatachannel.spec @@ -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 +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 0.22.2-1mamba +- package created using the webbuild interface