forked from pool/socket.io-client-cpp
C++11 implementation of Socket.IO client
dependency of freedv (but probably in a git version) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/socket.io-client-cpp?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
socket.io-client-cpp-3.1.0.tar.gz
Normal file
3
socket.io-client-cpp-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f54dd36b8e5618d028c7c42f0c1a83a0d3a58f9239cf4b770f6b02b925909597
|
||||
size 376292
|
||||
10
socket.io-client-cpp.changes
Normal file
10
socket.io-client-cpp.changes
Normal file
@@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 15:11:27 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- fixup for Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 16 09:22:05 UTC 2023 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||
|
||||
- version (release) 3.1.0
|
||||
- initial package
|
||||
81
socket.io-client-cpp.spec
Normal file
81
socket.io-client-cpp.spec
Normal file
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package socket.io-client-cpp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define sover 1
|
||||
%define libname libsioclient
|
||||
Name: socket.io-client-cpp
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Socket.IO C++ Client
|
||||
License: MIT
|
||||
URL: https://github.com/socketio/socket.io-client-cpp
|
||||
Source: https://github.com/socketio/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(RapidJSON)
|
||||
BuildRequires: cmake(websocketpp)
|
||||
BuildRequires: pkgconfig(asio)
|
||||
|
||||
%description
|
||||
C++11 implementation of Socket.IO client
|
||||
|
||||
%package -n %{libname}%{sover}
|
||||
Summary: Socket.IO C++ Client
|
||||
|
||||
%description -n %{libname}%{sover}
|
||||
C++11 implementation of Socket.IO client
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libm2k
|
||||
Requires: %{libname}%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
Development files for Socket.IO client
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
chmod -x README.md LICENSE
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
%{nil}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%ldconfig_scriptlets -n %{libname}%{sover}
|
||||
|
||||
%files -n %{libname}%{sover}
|
||||
%license LICENSE
|
||||
%doc API.md CHANGELOG.md README.md
|
||||
%{_libdir}/%{libname}.so.*
|
||||
%{_libdir}/%{libname}_tls.so.*
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%{_includedir}/sio_*.h
|
||||
%{_libdir}/%{libname}*.so
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user