Name: libwebsockets Version: 4.3.3 Release: 1mamba Summary: A pure C library providing client and server for various network protocols Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://libwebsockets.org/ Source: https://github.com/warmcat/libwebsockets.git/v%{version}/libwebsockets-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcap-devel BuildRequires: libopenssl-devel ## AUTOBUILDREQ-END BuildRequires: cmake %description Libwebsockets is a simple-to-use, MIT-license, pure C library providing client and server for http/1, http/2, websockets, MQTT and other protocols in a security-minded, lightweight, configurable, scalable and flexible way. It's easy to build and cross-build via cmake and is suitable for tasks from embedded RTOS through mass cloud serving. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: Applications/Networking Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %debug_package %prep %setup -q %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libwebsockets.so.* %doc LICENSE %files devel %defattr(-,root,root) %{_includedir}/libwebsockets.h %dir %{_includedir}/libwebsockets %{_includedir}/libwebsockets/* %{_includedir}/lws_config.h %{_libdir}/libwebsockets.a %{_libdir}/libwebsockets.so %{_libdir}/pkgconfig/libwebsockets.pc %{_libdir}/pkgconfig/libwebsockets_static.pc %dir %{_libdir}/cmake/libwebsockets %{_libdir}/cmake/libwebsockets/*.cmake %doc README.md %files tools %defattr(-,root,root) %{_bindir}/libwebsockets-test-client %{_bindir}/libwebsockets-test-lejp %{_bindir}/libwebsockets-test-server %{_bindir}/libwebsockets-test-server-extpoll %dir %{_datadir}/libwebsockets-test-server %{_datadir}/libwebsockets-test-server/* %changelog * Thu Nov 23 2023 Automatic Build System 4.3.3-1mamba - automatic version update by autodist * Sun Jan 22 2023 Silvan Calarco 4.3.2-1mamba - package created using the webbuild interface