From: Seonah Moon Date: Mon, 23 Dec 2019 07:34:53 +0000 (+0900) Subject: Upgrade to 3.2.0 X-Git-Tag: submit/tizen/20191226.072601^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25a37950d86e3919a62a6e3afda80e77d03a36be;p=platform%2Fupstream%2Flibwebsockets.git Upgrade to 3.2.0 Change-Id: Ib1d65635649f07b5a7f96cbe764febc95b570400 --- 25a37950d86e3919a62a6e3afda80e77d03a36be diff --cc packaging/libwebsockets.spec index a628fc8e,00000000..8f0398a4 mode 100644,000000..100644 --- a/packaging/libwebsockets.spec +++ b/packaging/libwebsockets.spec @@@ -1,60 -1,0 +1,62 @@@ +Name: libwebsockets +Summary: WebSocket Library - Version: 2.3.0 ++Version: 3.2.0 +Release: 1 +Group: System/Libraries +License: LGPL-2.1+ OR BSD-3-Clause +URL: https://github.com/warmcat/libwebsockets - Source0: %{name}-%{version}.tar.bz2 ++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 +BuildRequires: pkgconfig(libsystemd-daemon) + +%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 + +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/*