diff --git a/websocketpp-0.3.0.tar.gz b/websocketpp-0.3.0.tar.gz deleted file mode 100644 index 68b3d45..0000000 --- a/websocketpp-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c1fcf60492bd11ae1cac43b6060424173abdf55011be1987fc922aed0254fdd1 -size 621315 diff --git a/websocketpp-0.4.0.tar.gz b/websocketpp-0.4.0.tar.gz new file mode 100644 index 0000000..8782371 --- /dev/null +++ b/websocketpp-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8634b233c0c47afa6b76c4edcb9694de490b33950c549fd2531b312c18e8cfca +size 628675 diff --git a/websocketpp.changes b/websocketpp.changes index e05ff81..49d66f6 100644 --- a/websocketpp.changes +++ b/websocketpp.changes @@ -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 diff --git a/websocketpp.pc b/websocketpp.pc index e8258d1..1525a2a 100644 --- a/websocketpp.pc +++ b/websocketpp.pc @@ -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}/ diff --git a/websocketpp.spec b/websocketpp.spec index 8258ded..8fadbbf 100644 --- a/websocketpp.spec +++ b/websocketpp.spec @@ -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