Name: websocketpp Summary: C++ WebSocket Protocol Library Version: 0.7.0 Release: 0.1%{?dist} License: BSD Url: http://www.zaphoyd.com/websocketpp Source0: https://github.com/zaphoyd/websocketpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: websocketpp.pc BuildArch: noarch # put cmake files in share/cmake instead of lib/cmake Patch1: websocketpp-0.7.0-cmake_noarch.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: pkgconfig %description WebSocket++ is an open source (BSD license) header only C++ library that impliments RFC6455 The WebSocket Protocol. It allows integrating WebSocket client and server functionality into C++ programs. It uses interchangeable network transport modules including one based on C++ iostreams and one based on Boost Asio. %package devel Summary: C++ WebSocket Protocol Library Requires: boost-devel %description devel WebSocket++ is an open source (BSD license) header only C++ library that impliments RFC6455 The WebSocket Protocol. It allows integrating WebSocket client and server functionality into C++ programs. It uses interchangeable network transport modules including one based on C++ iostreams and one based on Boost Asio. %prep %autosetup %patch1 -p1 -b .cmake_noarch %build mkdir %{_target_platform} pushd %{_target_platform} %cmake .. make %{?_smp_mflags} popd %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files devel %doc COPYING changelog.md readme.md roadmap.md %{_includedir}/websocketpp/ %dir %{_datadir}/cmake/ %{_datadir}/cmake/websocketpp/ %changelog * Thu Sep 15 2016 Rex Dieter - 0.7.0-0.1 - websocketpp-0.7.0 (#1375610) * Fri Feb 05 2016 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 16 2016 Jonathan Wakely - 0.4.0-8 - Rebuilt for Boost 1.60 * Thu Aug 27 2015 Jonathan Wakely - 0.4.0-7 - Rebuilt for Boost 1.59 * Wed Jul 29 2015 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Wed Jul 22 2015 David Tardon - 0.4.0-5 - rebuild for Boost 1.58 * Fri Jun 19 2015 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jan 27 2015 Petr Machata - 0.4.0-3 - Rebuild for boost 1.57.0 * Thu Nov 13 2014 Rex Dieter 0.4.0-2 - use (upstreamable) cmake_noarch.patch instead of manually moving files around * Wed Nov 05 2014 Rex Dieter 0.4.0-1 - first try * Mon Mar 17 2014 prusnak@opensuse.org - created package (based on a Fedora package by Thomas Sailer)