Upgrade to 3.2.0 70/220770/3 accepted/tizen/unified/20191226.122959 submit/tizen/20191226.072601
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 23 Dec 2019 07:34:53 +0000 (16:34 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 23 Dec 2019 07:45:24 +0000 (16:45 +0900)
Change-Id: Ib1d65635649f07b5a7f96cbe764febc95b570400

1  2 
.gitignore
CMakeLists.txt
LICENSE
packaging/libwebsockets.spec

diff --cc .gitignore
Simple merge
diff --cc CMakeLists.txt
Simple merge
diff --cc LICENSE
Simple merge
index a628fc8,0000000..8f0398a
mode 100644,000000..100644
--- /dev/null
@@@ -1,60 -1,0 +1,62 @@@
- Version:    2.3.0
 +Name:       libwebsockets
 +Summary:    WebSocket Library
- Source0:    %{name}-%{version}.tar.bz2
++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.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/*