X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=libwebsockets.spec;h=8cf6d9f0c9a0bd68b4b5baaa901fd01e9c3f8a47;hb=55947351151d222506ed5c514f4f4230786bc2e1;hp=de0c0033c1b10508425f7a60ef0bc2dfdfd0ed25;hpb=b6e6ebeece2cb279c23fb1749fda08362fc0f912;p=platform%2Fupstream%2Flibwebsockets.git diff --git a/libwebsockets.spec b/libwebsockets.spec index de0c003..8cf6d9f 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,19 +1,19 @@ Name: libwebsockets -Version: 0.1 -Release: 41.gmaster_91ef816b%{?dist} -Summary: Websocket Server Library +Version: 1.7.3 +Release: 1%{?dist} +Summary: Websocket Server and Client Library -Group: System -License: GPL -URL: http://warmcat.com +Group: System Environment/Libraries +License: LGPLv2 with exceptions +URL: https://libwebsockets.org Source0: %{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildRequires: openssl-devel -Requires: openssl-devel +BuildRequires: openssl-devel cmake +Requires: openssl %description -Webserver server library +Webserver server and client library %package devel Summary: Development files for libwebsockets @@ -28,33 +28,58 @@ Development files for libwebsockets %setup -q %build -./configure --prefix=/usr --libdir=%{_libdir} --enable-openssl +mkdir -p build +cd build +%cmake .. make - %install rm -rf $RPM_BUILD_ROOT +cd build make install DESTDIR=$RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%attr(755,root,root) /usr/bin/libwebsockets-test-server -%attr(755,root,root) -/%{_libdir}/libwebsockets.so.0.0.3 -/%{_libdir}/libwebsockets.so.0 +%attr(755,root,root) +/usr/bin/libwebsockets-test-server +/usr/bin/libwebsockets-test-server-extpoll +/usr/bin/libwebsockets-test-server-pthreads +/usr/bin/libwebsockets-test-client +/usr/bin/libwebsockets-test-ping +/usr/bin/libwebsockets-test-echo +/usr/bin/libwebsockets-test-fraggle +/usr/bin/libwebsockets-test-fuzxy +/%{_libdir}/libwebsockets.so.7 /%{_libdir}/libwebsockets.so -/%{_libdir}/libwebsockets.la -%attr(755,root,root) /usr/share/libwebsockets-test-server +/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake +/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake +/usr/share/libwebsockets-test-server %doc %files devel %defattr(-,root,root,-) /usr/include/* %attr(755,root,root) /%{_libdir}/libwebsockets.a +/%{_libdir}/pkgconfig/libwebsockets.pc %changelog +* Mon Feb 29 2016 Andy Green 1.7.3-1 +- MAJOR fixes Upstream 1.7.3 release (see changelog) + +* Thu Feb 25 2016 Andy Green 1.7.2-1 +- MINOR Upstream 1.7.2 release (see changelog) + +* Sat Feb 20 2016 Andy Green 1.7.1-1 +- MINOR Upstream 1.7.1 release (see changelog) + +* Tue Feb 16 2016 Andy Green 1.7.0-1 +- MAJOR SONAMEBUMP APICHANGES Upstream 1.7.0 release +* Sun Jan 17 2016 Andrew Cooks 1.6.0-1 +- Bump version to 1.6.0