-
Notifications
You must be signed in to change notification settings - Fork 0
/
qt6webview.spec
236 lines (219 loc) · 11.1 KB
/
qt6webview.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: cmake
# autospec version: v20
# autospec commit: f35655a
#
Name : qt6webview
Version : 6.7.3
Release : 20
URL : https://download.qt.io/official_releases/qt/6.7/6.7.3/submodules/qtwebview-everywhere-src-6.7.3.zip
Source0 : https://download.qt.io/official_releases/qt/6.7/6.7.3/submodules/qtwebview-everywhere-src-6.7.3.zip
Summary : No detailed summary available
Group : Development/Tools
License : BSD-3-Clause GPL-2.0 GPL-3.0 LGPL-3.0
Requires: qt6webview-lib = %{version}-%{release}
Requires: qt6webview-license = %{version}-%{release}
BuildRequires : buildreq-cmake
BuildRequires : qt6base-dev
BuildRequires : qt6declarative-dev
BuildRequires : qtbase-dev
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}
%description
No detailed description available
%package dev
Summary: dev components for the qt6webview package.
Group: Development
Requires: qt6webview-lib = %{version}-%{release}
Provides: qt6webview-devel = %{version}-%{release}
Requires: qt6webview = %{version}-%{release}
%description dev
dev components for the qt6webview package.
%package lib
Summary: lib components for the qt6webview package.
Group: Libraries
Requires: qt6webview-license = %{version}-%{release}
%description lib
lib components for the qt6webview package.
%package license
Summary: license components for the qt6webview package.
Group: Default
%description license
license components for the qt6webview package.
%prep
%setup -q -n qtwebview-everywhere-src-6.7.3
cd %{_builddir}/qtwebview-everywhere-src-6.7.3
pushd ..
cp -a qtwebview-everywhere-src-6.7.3 buildavx2
popd
%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1727912529
mkdir -p clr-build
pushd clr-build
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
export GOAMD64=v2
%cmake .. -G 'Unix Makefiles'
make %{?_smp_mflags}
popd
pushd ../buildavx2/
mkdir -p clr-build-avx2
pushd clr-build-avx2
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
GOAMD64=v3
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
%cmake .. -G 'Unix Makefiles'
make %{?_smp_mflags}
popd
popd
%install
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
export SOURCE_DATE_EPOCH=1727912529
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/qt6webview
cp %{_builddir}/qtwebview-everywhere-src-%{version}/LICENSES/BSD-3-Clause.txt %{buildroot}/usr/share/package-licenses/qt6webview/79453f55fa8ee32d7b95581473edcbfd043e088f || :
cp %{_builddir}/qtwebview-everywhere-src-%{version}/LICENSES/GPL-2.0-only.txt %{buildroot}/usr/share/package-licenses/qt6webview/dc8f2e570bf431427dbc3bab9d4d551b53a60208 || :
cp %{_builddir}/qtwebview-everywhere-src-%{version}/LICENSES/GPL-3.0-only.txt %{buildroot}/usr/share/package-licenses/qt6webview/7713a1753ce88f2c7e6b054ecc8e4c786df76300 || :
cp %{_builddir}/qtwebview-everywhere-src-%{version}/LICENSES/LGPL-3.0-only.txt %{buildroot}/usr/share/package-licenses/qt6webview/c70af14df11e3908dfc10397b1ba4b1f346661f3 || :
export GOAMD64=v2
pushd ../buildavx2/
GOAMD64=v3
pushd clr-build-avx2
%make_install_v3 || :
popd
popd
GOAMD64=v2
pushd clr-build
%make_install
popd
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
%files
%defattr(-,root,root,-)
%files dev
%defattr(-,root,root,-)
/usr/include/QtWebView/6.7.3/QtWebView/private/qabstractwebview_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qnativeviewcontroller_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qwebview_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qwebviewfactory_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qwebviewinterface_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qwebviewloadrequest_p.h
/usr/include/QtWebView/6.7.3/QtWebView/private/qwebviewplugin_p.h
/usr/include/QtWebView/QtWebView
/usr/include/QtWebView/QtWebViewDepends
/usr/include/QtWebView/QtWebViewVersion
/usr/include/QtWebView/qtwebviewfunctions.h
/usr/include/QtWebView/qtwebviewversion.h
/usr/include/QtWebView/qwebview_global.h
/usr/include/QtWebViewQuick/6.7.3/QtWebViewQuick/private/qquickviewcontroller_p.h
/usr/include/QtWebViewQuick/6.7.3/QtWebViewQuick/private/qquickwebview_p.h
/usr/include/QtWebViewQuick/6.7.3/QtWebViewQuick/private/qquickwebviewloadrequest_p.h
/usr/include/QtWebViewQuick/6.7.3/QtWebViewQuick/private/qquickwebviewsettings_p.h
/usr/include/QtWebViewQuick/6.7.3/QtWebViewQuick/private/qtwebviewquickglobal_p.h
/usr/include/QtWebViewQuick/QtWebViewQuick
/usr/include/QtWebViewQuick/QtWebViewQuickDepends
/usr/include/QtWebViewQuick/QtWebViewQuickVersion
/usr/include/QtWebViewQuick/qtwebviewquickversion.h
/usr/lib64/cmake/Qt6BuildInternals/StandaloneTests/QtWebViewTestsConfig.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginAdditionalTargetInfo.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginConfig.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginConfigVersion.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginConfigVersionImpl.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginTargets-relwithdebinfo.cmake
/usr/lib64/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginTargets.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewAdditionalTargetInfo.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewConfig.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewConfigVersion.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewConfigVersionImpl.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewDependencies.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewPlugins.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewTargets-relwithdebinfo.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewTargets.cmake
/usr/lib64/cmake/Qt6WebView/Qt6WebViewVersionlessTargets.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickAdditionalTargetInfo.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickConfig.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickConfigVersion.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickConfigVersionImpl.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickDependencies.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickTargets-relwithdebinfo.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickTargets.cmake
/usr/lib64/cmake/Qt6WebViewQuick/Qt6WebViewQuickVersionlessTargets.cmake
/usr/lib64/libQt6WebView.prl
/usr/lib64/libQt6WebView.so
/usr/lib64/libQt6WebViewQuick.prl
/usr/lib64/libQt6WebViewQuick.so
/usr/lib64/pkgconfig/Qt6WebView.pc
/usr/lib64/pkgconfig/Qt6WebViewQuick.pc
/usr/lib64/qt6/mkspecs/modules/qt_lib_webview.pri
/usr/lib64/qt6/mkspecs/modules/qt_lib_webview_private.pri
/usr/lib64/qt6/mkspecs/modules/qt_lib_webviewquick.pri
/usr/lib64/qt6/mkspecs/modules/qt_lib_webviewquick_private.pri
%files lib
%defattr(-,root,root,-)
/V3/usr/lib64/libQt6WebView.so.6.7.3
/V3/usr/lib64/libQt6WebViewQuick.so.6.7.3
/V3/usr/lib64/qt6/qml/QtWebView/libqtwebviewquickplugin.so
/usr/lib64/libQt6WebView.so.6
/usr/lib64/libQt6WebView.so.6.7.3
/usr/lib64/libQt6WebViewQuick.so.6
/usr/lib64/libQt6WebViewQuick.so.6.7.3
/usr/lib64/qt6/metatypes/qt6webview_relwithdebinfo_metatypes.json
/usr/lib64/qt6/metatypes/qt6webviewquick_relwithdebinfo_metatypes.json
/usr/lib64/qt6/modules/WebView.json
/usr/lib64/qt6/modules/WebViewQuick.json
/usr/lib64/qt6/qml/QtWebView/libqtwebviewquickplugin.so
/usr/lib64/qt6/qml/QtWebView/plugins.qmltypes
/usr/lib64/qt6/qml/QtWebView/qmldir
%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/qt6webview/7713a1753ce88f2c7e6b054ecc8e4c786df76300
/usr/share/package-licenses/qt6webview/79453f55fa8ee32d7b95581473edcbfd043e088f
/usr/share/package-licenses/qt6webview/c70af14df11e3908dfc10397b1ba4b1f346661f3
/usr/share/package-licenses/qt6webview/dc8f2e570bf431427dbc3bab9d4d551b53a60208