17 |
# wine64 - all 64-bit files (suggests 'wine32') |
# wine64 - all 64-bit files (suggests 'wine32') |
18 |
# - Anssi 07/2010 |
# - Anssi 07/2010 |
19 |
|
|
20 |
# When altering this, make sure the new wine-gecko is submitted or at least |
# When altering these, make sure corresponding wine-gecko/wine-mono is |
21 |
# notify its maintainer of the needed update. |
# submitted, or notify their maintainer about the new version: |
22 |
%define gecko_version 1.7 |
%define gecko_version 1.7 |
23 |
|
%define mono_version 0.0.4 |
24 |
|
|
25 |
Name: wine |
Name: wine |
26 |
Version: 1.5.10 |
Version: 1.5.10 |
129 |
Requires: libfontconfig.so.1%{mark64} |
Requires: libfontconfig.so.1%{mark64} |
130 |
Requires: libncurses.so.5%{mark64} |
Requires: libncurses.so.5%{mark64} |
131 |
Requires: libXrender.so.1%{mark64} libpng15.so.15%{mark64} |
Requires: libXrender.so.1%{mark64} libpng15.so.15%{mark64} |
132 |
|
# (Anssi) If not installed, wine pops up a dialog on first start proposing to |
133 |
|
# download pre-built binaries (unlike wine-gecko, same wine-mono works with |
134 |
|
# both wine and wine64): |
135 |
|
Suggests: wine-mono = %mono_version |
136 |
Requires(post): desktop-file-utils |
Requires(post): desktop-file-utils |
137 |
Requires(postun): desktop-file-utils |
Requires(postun): desktop-file-utils |
138 |
Requires(post): desktop-common-data |
Requires(post): desktop-common-data |
207 |
|
|
208 |
GECKO_VERSION=$(sed -rn 's,^#define\s+GECKO_VERSION\s+"([^"]*)".*$,\1,p' dlls/appwiz.cpl/addons.c) |
GECKO_VERSION=$(sed -rn 's,^#define\s+GECKO_VERSION\s+"([^"]*)".*$,\1,p' dlls/appwiz.cpl/addons.c) |
209 |
[ "$GECKO_VERSION" = "%gecko_version" ] || { echo %{name}-gecko version mismatch; exit 1; } |
[ "$GECKO_VERSION" = "%gecko_version" ] || { echo %{name}-gecko version mismatch; exit 1; } |
210 |
|
MONO_VERSION=$(sed -rn 's,^#define\s+MONO_VERSION\s+"([^"]*)".*$,\1,p' dlls/appwiz.cpl/addons.c) |
211 |
|
[ "$MONO_VERSION" = "%mono_version" ] || { echo wine-mono version mismatch; exit 1; } |
212 |
|
|
213 |
%build |
%build |
214 |
%ifarch %ix86 |
%ifarch %ix86 |