-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconnections.spec
261 lines (234 loc) · 11.1 KB
/
connections.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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: meson
# autospec version: v21
# autospec commit: 94c6be0
#
Name : connections
Version : 47.2.1
Release : 3
URL : https://gitlab.gnome.org/GNOME/connections/-/archive/47.2.1/connections-47.2.1.tar.gz
Source0 : https://gitlab.gnome.org/GNOME/connections/-/archive/47.2.1/connections-47.2.1.tar.gz
Summary : No detailed summary available
Group : Development/Tools
License : GPL-3.0
Requires: connections-bin = %{version}-%{release}
Requires: connections-data = %{version}-%{release}
Requires: connections-license = %{version}-%{release}
Requires: connections-locales = %{version}-%{release}
BuildRequires : buildreq-gnome
BuildRequires : buildreq-meson
BuildRequires : gtk-frdp
BuildRequires : gtk-frdp-dev
BuildRequires : pkgconfig(gtk-vnc-2.0)
BuildRequires : pkgconfig(libhandy-1)
BuildRequires : pkgconfig(libsecret-1)
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}
%description
# Connections
A remote desktop client for the GNOME desktop environment.
<img src="https://gitlab.gnome.org/GNOME/connections/-/raw/master/data/screenshot.png" width="800"/>
%package bin
Summary: bin components for the connections package.
Group: Binaries
Requires: connections-data = %{version}-%{release}
Requires: connections-license = %{version}-%{release}
%description bin
bin components for the connections package.
%package data
Summary: data components for the connections package.
Group: Data
%description data
data components for the connections package.
%package doc
Summary: doc components for the connections package.
Group: Documentation
%description doc
doc components for the connections package.
%package license
Summary: license components for the connections package.
Group: Default
%description license
license components for the connections package.
%package locales
Summary: locales components for the connections package.
Group: Default
%description locales
locales components for the connections package.
%prep
%setup -q -n connections-47.2.1
cd %{_builddir}/connections-47.2.1
pushd ..
cp -a connections-47.2.1 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=1738011129
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
meson --libdir=lib64 --prefix=/usr --buildtype=plain builddir
ninja -v -C builddir
GOAMD64=v3
CFLAGS="$CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " CXXFLAGS="$CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " LDFLAGS="$LDFLAGS -march=x86-64-v3 " meson --libdir=lib64 --prefix=/usr --buildtype=plain builddiravx2
ninja -v -C builddiravx2
%check
export LANG=C.UTF-8
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
meson test -C builddir --print-errorlogs || :
cd ../buildavx2;
meson test -C builddir --print-errorlogs || : || :
%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 GOAMD64=v2
mkdir -p %{buildroot}/usr/share/package-licenses/connections
cp %{_builddir}/connections-%{version}/COPYING %{buildroot}/usr/share/package-licenses/connections/4aafa844fab55582342f86019d5710e5fa0cde75 || :
GOAMD64=v3
DESTDIR=%{buildroot}-v3 ninja -C builddiravx2 install
GOAMD64=v2
DESTDIR=%{buildroot} ninja -C builddir install
%find_lang gnome-connections
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
%files
%defattr(-,root,root,-)
%files bin
%defattr(-,root,root,-)
/V3/usr/bin/gnome-connections
/usr/bin/gnome-connections
%files data
%defattr(-,root,root,-)
/usr/share/applications/org.gnome.Connections.desktop
/usr/share/dbus-1/services/org.gnome.Connections.service
/usr/share/glib-2.0/schemas/org.gnome.Connections.gschema.xml
/usr/share/icons/hicolor/scalable/apps/org.gnome.Connections.svg
/usr/share/icons/hicolor/symbolic/apps/org.gnome.Connections-symbolic.svg
/usr/share/metainfo/org.gnome.Connections.appdata.xml
/usr/share/mime-packages/org.gnome.Connections.xml
%files doc
%defattr(0644,root,root,0755)
/usr/share/help/C/gnome-connections/connect.page
/usr/share/help/C/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/C/gnome-connections/index.page
/usr/share/help/C/gnome-connections/legal.xml
/usr/share/help/ca/gnome-connections/connect.page
/usr/share/help/ca/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/ca/gnome-connections/index.page
/usr/share/help/ca/gnome-connections/legal.xml
/usr/share/help/cs/gnome-connections/connect.page
/usr/share/help/cs/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/cs/gnome-connections/index.page
/usr/share/help/cs/gnome-connections/legal.xml
/usr/share/help/da/gnome-connections/connect.page
/usr/share/help/da/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/da/gnome-connections/index.page
/usr/share/help/da/gnome-connections/legal.xml
/usr/share/help/de/gnome-connections/connect.page
/usr/share/help/de/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/de/gnome-connections/index.page
/usr/share/help/de/gnome-connections/legal.xml
/usr/share/help/en_GB/gnome-connections/connect.page
/usr/share/help/en_GB/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/en_GB/gnome-connections/index.page
/usr/share/help/en_GB/gnome-connections/legal.xml
/usr/share/help/es/gnome-connections/connect.page
/usr/share/help/es/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/es/gnome-connections/index.page
/usr/share/help/es/gnome-connections/legal.xml
/usr/share/help/eu/gnome-connections/connect.page
/usr/share/help/eu/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/eu/gnome-connections/index.page
/usr/share/help/eu/gnome-connections/legal.xml
/usr/share/help/fr/gnome-connections/connect.page
/usr/share/help/fr/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/fr/gnome-connections/index.page
/usr/share/help/fr/gnome-connections/legal.xml
/usr/share/help/gl/gnome-connections/connect.page
/usr/share/help/gl/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/gl/gnome-connections/index.page
/usr/share/help/gl/gnome-connections/legal.xml
/usr/share/help/hu/gnome-connections/connect.page
/usr/share/help/hu/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/hu/gnome-connections/index.page
/usr/share/help/hu/gnome-connections/legal.xml
/usr/share/help/id/gnome-connections/connect.page
/usr/share/help/id/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/id/gnome-connections/index.page
/usr/share/help/id/gnome-connections/legal.xml
/usr/share/help/ko/gnome-connections/connect.page
/usr/share/help/ko/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/ko/gnome-connections/index.page
/usr/share/help/ko/gnome-connections/legal.xml
/usr/share/help/nl/gnome-connections/connect.page
/usr/share/help/nl/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/nl/gnome-connections/index.page
/usr/share/help/nl/gnome-connections/legal.xml
/usr/share/help/pl/gnome-connections/connect.page
/usr/share/help/pl/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/pl/gnome-connections/index.page
/usr/share/help/pl/gnome-connections/legal.xml
/usr/share/help/pt/gnome-connections/connect.page
/usr/share/help/pt/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/pt/gnome-connections/index.page
/usr/share/help/pt/gnome-connections/legal.xml
/usr/share/help/pt_BR/gnome-connections/connect.page
/usr/share/help/pt_BR/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/pt_BR/gnome-connections/index.page
/usr/share/help/pt_BR/gnome-connections/legal.xml
/usr/share/help/ru/gnome-connections/connect.page
/usr/share/help/ru/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/ru/gnome-connections/index.page
/usr/share/help/ru/gnome-connections/legal.xml
/usr/share/help/sv/gnome-connections/connect.page
/usr/share/help/sv/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/sv/gnome-connections/index.page
/usr/share/help/sv/gnome-connections/legal.xml
/usr/share/help/tr/gnome-connections/connect.page
/usr/share/help/tr/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/tr/gnome-connections/index.page
/usr/share/help/tr/gnome-connections/legal.xml
/usr/share/help/uk/gnome-connections/connect.page
/usr/share/help/uk/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/uk/gnome-connections/index.page
/usr/share/help/uk/gnome-connections/legal.xml
/usr/share/help/zh_CN/gnome-connections/connect.page
/usr/share/help/zh_CN/gnome-connections/figures/org.gnome.Connections.svg
/usr/share/help/zh_CN/gnome-connections/index.page
/usr/share/help/zh_CN/gnome-connections/legal.xml
%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/connections/4aafa844fab55582342f86019d5710e5fa0cde75
%files locales -f gnome-connections.lang
%defattr(-,root,root,-)