8
0
forked from pool/websocketpp

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
This commit is contained in:
Ismail Dönmez
2014-10-30 09:18:38 +00:00
committed by Git OBS Bridge
commit 5970679302
6 changed files with 129 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

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

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

13
websocketpp.changes Normal file
View File

@@ -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)

9
websocketpp.pc Normal file
View File

@@ -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}/

80
websocketpp.spec Normal file
View File

@@ -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