8
0
forked from pool/websocketpp

Accepting request 262374 from home:AndreasStieger:branches:devel:libraries:c_c++

websocketpp 0.4.0

OBS-URL: https://build.opensuse.org/request/show/262374
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/websocketpp?expand=0&rev=3
This commit is contained in:
Dominik Schmidt
2014-11-19 23:17:18 +00:00
committed by Git OBS Bridge
parent 73e58bbe5e
commit d03634fdf6
5 changed files with 35 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1fcf60492bd11ae1cac43b6060424173abdf55011be1987fc922aed0254fdd1
size 621315

3
websocketpp-0.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8634b233c0c47afa6b76c4edcb9694de490b33950c549fd2531b312c18e8cfca
size 628675

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Nov 19 18:34:39 UTC 2014 - andreas.stieger@gmx.de
- update to 0.4.0
- Breaking API changes:
+ All methods now throw websocketpp::exception
+ Custom logging policies have some new required constructors
- Breaking utility changes:
+ websocketpp::lib::net::htonll and websocketpp::lib::net::ntohll
have been prefixed with an underscore to avoid conflicts
+ signature changes to base64_encode, sha1::calc
- New Features:
+ Adds incomplete minimal_server and minimal_client configs
- Bug and compatibility fixes
- use cmake macros
- clean spec file
-------------------------------------------------------------------
Mon Oct 27 21:02:44 UTC 2014 - dev@dominik-schmidt.de

View File

@@ -4,6 +4,6 @@ includedir=${prefix}/include
Name: websocketpp
Description: WebSocket API
Version: 0.3.0
Version: 0.4.0
URL: http://www.zaphoyd.com/websocketpp/
Cflags: -I${includedir}/

View File

@@ -17,16 +17,16 @@
Name: websocketpp
Version: 0.3.0
Version: 0.4.0
Release: 0
Summary: C++ WebSocket Protocol Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: http://www.zaphoyd.com/websocketpp
Source0: %{name}-%{version}.tar.gz
Source0: https://github.com/zaphoyd/websocketpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: websocketpp.pc
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: cmake >= 2.6
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildArch: noarch
@@ -50,31 +50,36 @@ interchangeable network transport modules including one based on C++
iostreams and one based on Boost Asio.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%build
%if 0%{?suse_version} >= 1310
%cmake
%else
mkdir build
pushd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE=ON
%endif
make %{?_smp_mflags}
popd
%install
%if 0%{?suse_version} >= 1310
%cmake_install
%else
pushd build
%make_install
%endif
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
popd
%files devel
%defattr(-,root,root,-)
%doc COPYING changelog.md readme.md roadmap.md
%{_includedir}/websocketpp
%{_prefix}/lib/cmake
%{_prefix}/lib/cmake/websocketpp
%{_libexecdir}/cmake
%{_libexecdir}/cmake/websocketpp
%{_datadir}/pkgconfig/websocketpp.pc
%changelog