Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e82f96910a
!18 [sync] PR-17: update to upstream version 5.15.10
From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-08-30 09:50:42 +00:00
huayadong
d5b616da5d update to upstream version 5.15.10
(cherry picked from commit e44e547733187f3ff6a8bfcea9b45b6e14053f1d)
2023-08-24 20:51:33 +08:00
openeuler-ci-bot
6b2f5a9e6f
!16 [sync] PR-9: update qt5-qtwebsockets.spec.
From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-08-21 05:35:51 +00:00
华亚东
bd31fd6aa4 update qt5-qtwebsockets.spec.
Signed-off-by: 华亚东 <huayadong@kylinos.cn>
(cherry picked from commit fbbd0c28933f4ea3b60678a3be0ddcae601e44f5)
2023-08-21 11:15:40 +08:00
openeuler-ci-bot
654e5391aa
!7 update to upstream version 5.15.2
Merge pull request !7 from pei-jiankang/master
2022-01-10 06:01:32 +00:00
pei-jiankang
29db448c06 update to upstream version 5.15.2 2021-12-28 20:57:16 +08:00
openeuler-ci-bot
a97d9327a6 !4 Fix Source0
From: @kkkl12
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-09-14 20:17:12 +08:00
kkkl12
fd406065f8 Fix Source0 2020-09-14 15:58:12 +08:00
openeuler-ci-bot
0861b1a08a !3 add yaml file
Merge pull request !3 from sugarfillet/master
2020-05-15 10:38:02 +08:00
sugarfillet
a151a23511 add yaml file 2020-05-08 16:00:30 +08:00
5 changed files with 51 additions and 25 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/websockets/qwebsocketprotocol.cpp b/src/websockets/qwebsocketprotocol.cpp
index df87a93..9556d18 100644
--- a/src/websockets/qwebsocketprotocol.cpp
+++ b/src/websockets/qwebsocketprotocol.cpp
@@ -38,6 +38,7 @@
****************************************************************************/
#include "qwebsocketprotocol_p.h"
+#include <limits>
#include <QtCore/QString>
#include <QtCore/QSet>
#include <QtCore/QtEndian>

View File

@ -1,44 +1,44 @@
# spec file for qt5-qtwebsockets
%global qt_module qtwebsockets %global qt_module qtwebsockets
Summary: Qt5 - WebSockets component Summary: Qt5 - WebSockets component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.11.1 Version: 5.15.10
Release: 5 Release: 1
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://qt-project.org/ Url: http://qt-project.org/
%global major_minor %(echo %{version} | cut -d. -f1-2) %global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/archive/qt/%{major_minor}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
Patch0: %{name}-gcc11.patch
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$ %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
BuildRequires: make
BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
%description
The QtWebSockets module implements the WebSocket protocol as specified in RFC
6455. It solely depends on Qt (no external dependencies).
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel%{?_isa} Requires: qt5-qtbase-devel%{?_isa}
%description devel
%{summary}.
%package help %package examples
Summary: Programming examples for %{name} Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%description %{summary}.
This module implements the WebSocket protocol as specified in RFC
6455. It depends on Qt solely.
%description devel
This package include development files for %{name}
%description help
This package include examples for %{name}
%prep %prep
%setup -q -n %{qt_module}-everywhere-src-%{version} %setup -q -n %{qt_module}-everywhere-src-%{version}
%patch0 -p1
%build %build
@ -50,6 +50,8 @@ This package include examples for %{name}
%install %install
make install INSTALL_ROOT=%{buildroot} make install INSTALL_ROOT=%{buildroot}
## .prl/.la file love
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
pushd %{buildroot}%{_qt5_libdir} pushd %{buildroot}%{_qt5_libdir}
for prl_file in libQt5*.prl ; do for prl_file in libQt5*.prl ; do
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" "${prl_file}" sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" "${prl_file}"
@ -71,16 +73,24 @@ popd
%{_qt5_headerdir}/QtWebSockets/ %{_qt5_headerdir}/QtWebSockets/
%{_qt5_libdir}/libQt5WebSockets.so %{_qt5_libdir}/libQt5WebSockets.so
%{_qt5_libdir}/libQt5WebSockets.prl %{_qt5_libdir}/libQt5WebSockets.prl
%dir %{_qt5_libdir}/cmake/Qt5WebSockets/ %dir %{_qt5_libdir}/cmake/Qt5WebSockets/
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_websockets*.pri %{_qt5_archdatadir}/mkspecs/modules/qt_lib_websockets*.pri
%{_qt5_libdir}/cmake/Qt5WebSockets/Qt5WebSocketsConfig*.cmake %{_qt5_libdir}/cmake/Qt5WebSockets/Qt5WebSocketsConfig*.cmake
%{_qt5_libdir}/pkgconfig/Qt5WebSockets.pc %{_qt5_libdir}/pkgconfig/Qt5WebSockets.pc
%{_qt5_libdir}/qt5/qml/QtWebSockets/ %{_qt5_libdir}/qt5/qml/QtWebSockets/
%files help %files examples
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%changelog %changelog
* Wed Aug 23 2023 peijiankang <peijiankang@kylinos.cn> - 5.15.10-1
- update to upstream version 5.15.10
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
- Fix Source0
* Fri Feb 14 2020 Ling Yang <lingyang2@huawei.com> - 5.11.1-5 * Fri Feb 14 2020 Ling Yang <lingyang2@huawei.com> - 5.11.1-5
- Package init - Package init

4
qt5-qtwebsockets.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://code.qt.io/qt/qtwebsockets.git
tag_prefix: "^v"
separator: "."

Binary file not shown.