avatar
survolog has added 1c128f839a
Update to 3.8
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,4 +1,4 @@
1 1
sources:
2
  PortWGC-16: 1af53c7e33ef16141c20262d336ea2134d93342f
2
  PortWGC-38: 88e162bbb0a9b750beb806efd535e0f91a946e5b
3
  latest_web_install_ru: 3e5a126b576b27f883c7fde22f1fa92e17f78ff3
3 4
  portwot-install.png: 6a2f4d4d94150d12e93bc9772321c47b2c06f0a0
4
  latest_web_install_ru: c3a42c264ded0310283d8f96211c39b04b1c66d6
view file @ a7bdf2e96c
... ... --- a/README32.urpmi
... ... +++ /dev/null
... ... @@ -1,8 +0,0 @@
0
Known issue:
1
- Port is no longer supported for 32 bits
2
3
=== Russian ===
4
5
Известные проблемы:
6
- Port более не поддерживается для 32 бит 
7
view file @ a7bdf2e96c
... ... --- a/README64.urpmi
... ... +++ /dev/null
... ... @@ -1,7 +0,0 @@
0
Known issue:
1
- With dxvk game does not work, immediately crashes
2
3
=== Russian ===
4
5
Известные проблемы:
6
- С dxvk игра не работает, сразу вылетает
view file @ 1c128f839a
... ... --- a/portwot-install.spec
... ... +++ b/portwot-install.spec
... ... @@ -1,73 +1,61 @@
1
%define ver64 %(echo %{version}|tr -d .)
2
%define oname64 PortWGC-%{ver64}
3
%define oname32 latest_web_install_ru
4
5
%ifarch x86_64
6
%define portw portw
7
%define oname %{oname64}
8
%else
9
%define portw w
10
%define oname %{oname32}
11
%endif
1
%define ver %(echo %{version}|tr -d .)
2
%define oname PortWGC-%{ver}
12 3
13 4
Summary:	Installer for World Of Tanks and other games
14 5
Name:		portwot-install
15
Version:	1.6
16
Release:	3
6
Version:	3.8
7
Release:	1
17 8
Epoch:		1
18 9
License:	Proprietary
19 10
Group:		Games/Arcade
20 11
Url:		http://portwine-linux.ru/port-wargaming-game-center/
21
Source0:	http://portwine-linux.ru/port-wargaming-game-center/%{oname64}
22
Source1:	%{name}.png
23
Source2:	README64.urpmi
24
Source3:	https://redirect.wargaming.net/WoT/%{oname32}
25
Source4:	README32.urpmi
26
Requires:	%{portw}gc-install = %{EVRD}
12
Source0:	http://portwine-linux.ru/port-wargaming-game-center/%{oname}
13
Source1:	https://redirect.wargaming.net/WoT/latest_web_install_ru
14
Source2:	%{name}.png
15
Requires:	portwgc-install = %{EVRD}
27 16
28 17
%description
29
%{summary}.
30
31
%files
18
Installer for World Of Tanks and other games.
32 19
33 20
#----------------------------------------------------------------------------
34 21
35
%package -n %{portw}gc-install
22
%package -n portwgc-install
36 23
Summary:	Installer for World Of Tanks and other games
37 24
Group:		Games/Arcade
38 25
Suggests:	portwine-suggests = %{EVRD}
39
Provides:	%{portw}ows-install = %{EVRD}
26
Provides:	portwows-install = %{EVRD}
27
Provides:	wgc-install = %{EVRD}
28
Provides:	portwot-install = %{EVRD}
40 29
Obsoletes:	portwows-install <= 0:2.8
41 30
Obsoletes:	portwot-install <= 1:1.6-1
42
Conflicts:	portwot-install = 1:1.6-1
31
Obsoletes:	wgc-install <= 1:1.6-1
32
Conflicts:	portwot-install <= 1:1.6-1
43 33
44
%description -n %{portw}gc-install
34
%description -n portwgc-install
45 35
Installer for World Of Tanks and other games.
46 36
47
%files -n %{portw}gc-install
48
%attr (0755,root,root) %{_bindir}/%{portw}gc-install
49
%{_datadir}/applications/%{portw}gc-install.desktop
50
%{_bindir}/%{oname}
37
%files -n portwgc-install
38
%attr (0755,root,root) %{_bindir}/%{name}
39
%attr (0755,root,root) %{_bindir}/%{oname}
40
%{_datadir}/applications/portwgc-install.desktop
51 41
%{_datadir}/pixmaps/%{name}.png
52
%{_docdir}/%{name}/README.urpmi
53
54
%posttrans
55
su $(who |grep -v root |cut -d' ' -f1 |head -n1) -c "%{portw}gc-install" || :
56 42
57 43
#----------------------------------------------------------------------------
58 44
59 45
%package -n portwine-suggests
60
Summary:	Requires for PortWINE
46
Summary:	Requires for PortWINE projects
61 47
Group:		Games/Other
62 48
%ifarch x86_64
63 49
Suggests:	wine64
64
Suggests:	lib64wx_baseu2.8_0 lib64wx_baseu_net2.8_0 lib64wx_baseu_xml2.8_0 lib64wx_gtk2u_adv2.8_0 lib64wx_gtk2u_aui2.8_0 lib64wx_gtk2u_core2.8_0 lib64wx_gtk2u_gizmos2.8_0 lib64wx_gtk2u_gl2.8_0 lib64wx_gtk2u_html2.8_0 lib64wx_gtk2u_media2.8_0 lib64wx_gtk2u_richtext2.8_0 lib64wx_gtk2u_stc2.8_0 lib64wx_gtk2u_xrc2.8_0
50
Suggests:	lib64wx_baseu_net2.8_0 lib64wx_baseu_xml2.8_0 lib64wx_baseu2.8_0
51
Suggests:	lib64vulkan-drivers # For AMD
65 52
%else
66 53
Suggests:	wine
67
Suggests:	libwx_baseu2.8_0 libwx_baseu_net2.8_0 libwx_baseu_xml2.8_0 libwx_gtk2u_adv2.8_0 libwx_gtk2u_aui2.8_0 libwx_gtk2u_core2.8_0 libwx_gtk2u_gizmos2.8_0 libwx_gtk2u_gl2.8_0 libwx_gtk2u_html2.8_0 libwx_gtk2u_media2.8_0 libwx_gtk2u_richtext2.8_0 libwx_gtk2u_stc2.8_0 libwx_gtk2u_xrc2.8_0
54
Suggests:	libwx_baseu_net2.8_0 libwx_baseu_xml2.8_0 libwx_baseu2.8_0
68 55
%endif
69
Suggests:	cyrus-sasl gio2.0-32 heimdal-libs icoutils libaa1 libacl1 libalsa-plugins-jack libalsa-plugins-pulseaudio libappindicator1 libasyncns0 libatk1.0_0 libattr1 libavahi-client3 libavahi-common3 libavcodec56 libavformat56 libavutil54 libbluray1 libbsd0 libcairo2 libcanberra0 libcanberra-gtk0 libcap2 libcares2 libcg0 libcups2 libcurl4 libdatrie1 libdb5.2 libdbus-1_3 libdbus-glib-1_2 libdbusmenu-glib4 libdbusmenu-gtk4 libdconf1 libdconf-gio-modules libdirect1.6_0 libdirectfb1.6_0 libegl1 libflac8 libfontconfig1 libfreebl3 libfreeglut3 libfribidi0 libfusion1.6_0 libgail18 libgamin-1_0 libgbm1 libGConf2_4 libgcrypt11 libgcrypt20 libgdk_pixbuf2.0_0 libgdk_pixbuf_xlib2.0_0 libggi2 libgii1 libglu1 libgomp1 libgpg-error0 libgpm2 libgstbase0.10_0 libgstcheck0.10_0 libgstcontroller0.10_0 libgstdataprocol0.10_0 libgstnet0.10_0 libgstreamer0.10_0 libgstreamer-plugins-base0.10 libgthread2.0_0 libgtk+2.0_0 libgtk-aurora-engine libgtk-engines2 libgtk-modules2.0 libgudev1.0_0 libice6 libidn2_0 libindicator7 libjack0 libjacknet0 libjasper1 libjson0 libjson-c2 libllvm3.9 liblua5.3 liblz4_1-r131 libmodplug1 libmurrine libnm-glib4 libnm-util2 libnotify4 libnspr4 libnss3 libnut0 libonig2 libopenssl-engines1.0.0 liborc-test0.4_0 libpango1.0_0 libpangocairo1.0_0 libpangoft2_1.0_0 libpangox1.0_0 libpangoxft1.0_0 libpci3 libpcrecpp0 libpixman1_0 libpng0 libpng15 libpulseaudio0 libpulsecommon10.0 libpulsecommon12.2 libreadline7 librtmp0 libsasl2-plug-sasldb libschroedinger1.0_0 libSDL1.2_0 libSDL2_2.0_0 libSDL2_image2.0_0 libSDL2_mixer2.0_0 libSDL2_net2.0_0 libSDL2_ttf2.0_0 libSDL_image1.2_0 libSDL_mixer1.2_0 libSDL_ttf2.0_0 libselinux1 libslang2 libslang-modules libsm6 libsmpeg0.4 libsndfile1 libsqlite3_0 libssh2_1 libssh4 libswresample1 libswscaler4 libsystemd0 libtdb1 libthai0 libtheora0 libtinfo5 libunistring0 libuuid1 libva1 libvdpau-trace libvo-aacenc0 libvo-amrwbenc0 libvorbisfile3 libvpx1 libwayland-server0 libwrap0 libx265_68 libxcb-composite0 libxcb-damage0 libxcb-dpms0 libxcb-randr0 libxcb-record0 libxcb-render0 libxcb-res0 libxcb-screensaver0 libxcb-shape0 libxcb-shm0 libxcb-xf86dri0 libxcb-xinerama0 libxcb-xkb1 libxcb-xtest0 libxcb-xv0 libxcb-xvmc0 libxcomposite1 libxft2 libxinerama1 libxmu6 libxpm4 libxrandr2 libxscrnsaver1 libxt6 libxtst6 libxv1 libxvmc1 wxgtk2.8 wxPythonGTK wxPythonGTK-wxversion
70
Suggests:	libvulkan-drivers
56
Suggests:	libaa1 libacl1 libalsa-plugins-jack libalsa-plugins-pulseaudio libappindicator1 libasyncns0 libatk1.0_0 libattr1 libavahi-client3 libavahi-common3 libavcodec56 libavformat56 libavutil54 libbluray1 libbsd0 libcairo2 libcanberra0 libcap2 libcares2 libcg0 libcups2 libcurl4 libdatrie1 libdb5.2 libdbus-1_3 libdbus-glib-1_2 libdbusmenu-glib4 libdbusmenu-gtk4 libdconf-gio-modules libdconf1 libdirect1.6_0 libdirectfb1.6_0 libegl1 libflac8 libfontconfig1 libfreebl3 libfreeglut3 libfribidi0 libfusion1.6_0 libgamin-1_0 libgbm1 libGConf2_4 libgcrypt11 libgcrypt20 libgdk_pixbuf_xlib2.0_0 libgdk_pixbuf2.0_0 libggi2 libgii1 libglu1 libgomp1 libgpg-error0 libgpm2 libgstbase0.10_0 libgstcheck0.10_0 libgstcontroller0.10_0 libgstdataprocol0.10_0 libgstnet0.10_0 libgstreamer-plugins-base0.10 libgstreamer0.10_0 libgthread2.0_0 libgtk+2.0_0 libgudev1.0_0 libice6 libidn11 libidn2_0 libindicator7 libjack0 libjacknet0 libjasper1 libjson-c2 libjson0 libllvm3.9 liblua5.3 liblz4_1 libmodplug1 libmurrine libnm-glib4 libnm-util2 libnotify4 libnspr4 libnss3 libnut0 libonig2 libopenssl-engines1.0.0 libopenssl-gost-engine1.0.0 liborc-test0.4_0 libpango1.0_0 libpangocairo1.0_0 libpangoft2_1.0_0 libpangox1.0_0 libpangoxft1.0_0 libpci3 libpcrecpp0 libpixman1_0 libpng0 libpng15 libpulseaudio0 libpulsecommon10.0 libpulsecommon12.2 libreadline7 librtmp0 libsasl2-plug-sasldb libschroedinger1.0_0 libSDL_image1.2_0 libSDL_mixer1.2_0 libSDL_ttf2.0_0 libSDL1.2_0 libSDL2_image2.0_0 libSDL2_mixer2.0_0 libSDL2_net2.0_0 libSDL2_ttf2.0_0 libselinux1 libslang-modules libslang2 libsm6 libsmpeg0.4 libsndfile1 libsqlite3_0 libssh2_1 libssh4 libswresample1 libswscaler4 libsystemd0 libtdb1 libthai0 libtheora0 libtinfo5 libunistring0 libuuid1 libva1 libvdpau-trace libvo-aacenc0 libvorbisfile3 libvpx1 libvulkan-drivers libwayland-server0 libwrap0 libx265_68 libxcb-composite0 libxcb-damage0 libxcb-dpms0 libxcb-randr0 libxcb-record0 libxcb-render0 libxcb-res0 libxcb-screensaver0 libxcb-shape0 libxcb-shm0 libxcb-xf86dri0 libxcb-xinerama0 libxcb-xkb1 libxcb-xtest0 libxcb-xv0 libxcb-xvmc0 libxcomposite1 libxft2 libxinerama1 libxmu6 libxpm4 libxrandr2 libxscrnsaver1 libxt6 libxtst6
57
Suggests:	libvulkan-drivers # For AMD
58
Suggests:	cyrus-sasl gio2.0-32 wxgtk2.8
71 59
Provides:	portwine-requires = %{EVRD}
72 60
Provides:	task-portwine-requires = %{EVRD}
73 61
Provides:	task-portwine-suggests = %{EVRD}
... ... @@ -87,44 +75,32 @@ Requires for PortWINE.
75 75
%install
76 76
# desktop file
77 77
mkdir -p %{buildroot}%{_datadir}/applications
78
cat > %{buildroot}%{_datadir}/applications/%{portw}gc-install.desktop << EOF
78
cat > %{buildroot}%{_datadir}/applications/portwgc-install.desktop << EOF
79 79
[Desktop Entry]
80 80
Type=Application
81
%ifarch	x86_64
82
Name=PortWGC-%{ver64} reinstall (portwot)
83
Name[ru]=Переустановка PortWGC-%{ver64} (portwot)
81
Name=%{oname} reinstall
82
Name[ru]=Переустановка %{oname}
84 83
Comment=Installer port for Wargaming.net Game Center
85 84
Comment[ru]=Установщик порта Wargaming.net Game Center
86
%else
87
Name=WGC reinstall (ex. portwot)
88
Name[ru]=Переустановка WGC (ex. portwot)
89
Comment=Installer for Wargaming.net Game Center
90
Comment[ru]=Установщик Wargaming.net Game Center
91
%endif
92
Exec=%{portw}gc-install
85
Exec=portwot-install
93 86
Icon=portwot-install
94 87
StartupNotify=false
95 88
Terminal=false
96 89
Categories=Game;
97 90
EOF
98 91
99
# scripts and readme files
92
# scripts
100 93
mkdir -p %{buildroot}%{_bindir}/
101
mkdir -p %{buildroot}%{_docdir}/%{name}
102
cat > %{buildroot}%{_bindir}/%{portw}gc-install << EOF
94
cat > %{buildroot}%{_bindir}/portwot-install << EOF
103 95
#!/bin/sh
104 96
%{_bindir}/%{oname}
105 97
EOF
106 98
%ifarch	x86_64
107
install -m755 %{SOURCE0} %{buildroot}%{_bindir}/
108
install -m644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}/README.urpmi
109
sed -i 's!cd "${PORT_WINE_PATH}/data/scripts"!cd "${PORT_WINE_PATH}/data/scripts"; sed -i -e \x27s|FALSE "${port_start4}"|TRUE "${port_start4}" --timeout 3|\x27 -e \x27s|TRUE "${port_start8}"|FALSE "${port_start8}"|\x27 start!' %{buildroot}%{_bindir}/%{oname}
99
install -m755 %{SOURCE0} %{buildroot}%{_bindir}/%{oname}
110 100
%else
111
install -m755 %{SOURCE3} %{buildroot}%{_bindir}/
112
install -m644 %{SOURCE4} %{buildroot}%{_docdir}/%{name}/README.urpmi
101
install -m755 %{SOURCE1} %{buildroot}%{_bindir}/%{oname}
113 102
%endif
114 103
115 104
# icon file
116 105
mkdir -p %{buildroot}%{_datadir}/pixmaps
117
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
118
106
install -m644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/

Comments