Upgrade to 4.3 stable 63/270663/2 submit/tizen/20220216.034634
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 7 Feb 2022 10:43:23 +0000 (19:43 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 7 Feb 2022 10:49:59 +0000 (19:49 +0900)
Change-Id: Ief09026e9704607f48567d897c2212a6e749915d

1  2 
.gitignore
packaging/libwebsockets.spec

diff --cc .gitignore
Simple merge
index 920e611,0000000..ce65d31
mode 100644,000000..100644
--- /dev/null
@@@ -1,67 -1,0 +1,66 @@@
- Version:    3.2.3
- Release:    1
 +Name:       libwebsockets
 +Summary:    WebSocket Library
- License:    LGPLv2 with exceptions
++Version:    4.3.stable
++Release:    0
 +Group:      System/Libraries
- %{_includedir}/lws-plugin-ssh.h
++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_config.h
 +%{_includedir}/libwebsockets/*
 +%{_libdir}/libwebsockets.so
 +%{_libdir}/pkgconfig/*
 +%{_libdir}/cmake/*