commit 5970679302b524dcb3427c25ff8687ec4203c1c76eead59a9d1788c923e971a0 Author: Ismail Dönmez Date: Thu Oct 30 09:18:38 2014 +0000 Accepting request 258918 from home:pansenmann:branches:KDE:Extra OBS-URL: https://build.opensuse.org/request/show/258918 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/websocketpp?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/websocketpp-0.3.0.tar.gz b/websocketpp-0.3.0.tar.gz new file mode 100644 index 0000000..68b3d45 --- /dev/null +++ b/websocketpp-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1fcf60492bd11ae1cac43b6060424173abdf55011be1987fc922aed0254fdd1 +size 621315 diff --git a/websocketpp.changes b/websocketpp.changes new file mode 100644 index 0000000..e05ff81 --- /dev/null +++ b/websocketpp.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Mon Oct 27 21:02:44 UTC 2014 - dev@dominik-schmidt.de + +- run format_spec +- update to 0.3.0 final +- use proper group +- fix build on openSUSE 12.3 + +------------------------------------------------------------------- +Mon Mar 17 12:22:05 UTC 2014 - prusnak@opensuse.org + +- created package (based on a Fedora package by Thomas Sailer) + diff --git a/websocketpp.pc b/websocketpp.pc new file mode 100644 index 0000000..e8258d1 --- /dev/null +++ b/websocketpp.pc @@ -0,0 +1,9 @@ +prefix=/usr +exec_prefix=${prefix} +includedir=${prefix}/include + +Name: websocketpp +Description: WebSocket API +Version: 0.3.0 +URL: http://www.zaphoyd.com/websocketpp/ +Cflags: -I${includedir}/ diff --git a/websocketpp.spec b/websocketpp.spec new file mode 100644 index 0000000..8258ded --- /dev/null +++ b/websocketpp.spec @@ -0,0 +1,80 @@ +# +# spec file for package websocketpp +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: websocketpp +Version: 0.3.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 +Source1: websocketpp.pc +BuildRequires: boost-devel +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildArch: noarch + +%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 +Group: Development/Libraries/C and C++ + +%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 +%setup -q -n %{name}-%{version} + +%build +mkdir build +pushd build +cmake .. \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE=ON + +make %{?_smp_mflags} +popd + +%install +pushd build +%make_install +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 +%{_datadir}/pkgconfig/websocketpp.pc + +%changelog