From: Seonah Moon Date: Mon, 7 Feb 2022 10:43:23 +0000 (+0900) Subject: Upgrade to 4.3 stable X-Git-Tag: submit/tizen/20220216.034634^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F270663%2F2;p=platform%2Fupstream%2Flibwebsockets.git Upgrade to 4.3 stable Change-Id: Ief09026e9704607f48567d897c2212a6e749915d --- ac648f3c3512585159343eaf8837baacbe8c31d3 diff --cc packaging/libwebsockets.spec index 920e6117,00000000..ce65d31a mode 100644,000000..100644 --- a/packaging/libwebsockets.spec +++ b/packaging/libwebsockets.spec @@@ -1,67 -1,0 +1,66 @@@ +Name: libwebsockets +Summary: WebSocket Library - Version: 3.2.3 - Release: 1 ++Version: 4.3.stable ++Release: 0 +Group: System/Libraries - License: LGPLv2 with exceptions ++License: MIT with exceptions +URL: https://github.com/warmcat/libwebsockets +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: zlib-devel +BuildRequires: pkgconfig(openssl1.1) +BuildRequires: openssl1.1 +BuildRequires: cmake + +%define _optdeveldir /opt/usr/devel/usr/ + +%description +C Websockets Server Library + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development files needed for building websocket clients and servers + +%prep +%setup -q -n %{name}-%{version} + +%build + +%cmake -DLWS_WITH_SSL=On \ + -DLWS_WITHOUT_TESTAPPS=ON \ + -DLWS_WITH_SERVER_STATUS=ON \ + -DLWS_IPV6=ON \ + -DLWS_WITH_SO_BINDTODEVICE=ON \ + -DLWS_WITH_HTTP2=OFF\ + . + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} + +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{_libdir}/libwebsockets*.so.* +%license LICENSE + +%files devel +%defattr(-,root,root,-) +%{_includedir}/libwebsockets.h - %{_includedir}/lws-plugin-ssh.h +%{_includedir}/lws_config.h +%{_includedir}/libwebsockets/* +%{_libdir}/libwebsockets.so +%{_libdir}/pkgconfig/* +%{_libdir}/cmake/*