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 |
21 |
|
# notify its maintainer of the needed update. |
22 |
|
%define gecko_version 1.4 |
23 |
|
|
24 |
Name: wine |
Name: wine |
25 |
Version: 1.3.35 |
Version: 1.3.35 |
26 |
%define pre 0 |
%define pre 0 |
110 |
Summary: WINE Is Not An Emulator - runs MS Windows programs |
Summary: WINE Is Not An Emulator - runs MS Windows programs |
111 |
Group: Emulators |
Group: Emulators |
112 |
Suggests: wine32 = %{epoch}:%{version}-%{release} |
Suggests: wine32 = %{epoch}:%{version}-%{release} |
113 |
Suggests: wine64-gecko |
Suggests: wine64-gecko = %gecko_version |
114 |
%else |
%else |
115 |
# on 32-bit we always want wine32 package |
# on 32-bit we always want wine32 package |
116 |
Requires: wine32 = %{epoch}:%{version}-%{release} |
Requires: wine32 = %{epoch}:%{version}-%{release} |
166 |
# (Anssi) If wine-gecko is not installed, wine pops up a dialog on first |
# (Anssi) If wine-gecko is not installed, wine pops up a dialog on first |
167 |
# start proposing to download wine-gecko from sourceforge, while recommending |
# start proposing to download wine-gecko from sourceforge, while recommending |
168 |
# to use distribution packages instead. Therefore suggest wine-gecko here: |
# to use distribution packages instead. Therefore suggest wine-gecko here: |
169 |
Suggests: wine-gecko |
Suggests: wine-gecko = %gecko_version |
170 |
|
|
171 |
%description -n wine32 |
%description -n wine32 |
172 |
Wine is a program which allows running Microsoft Windows programs |
Wine is a program which allows running Microsoft Windows programs |
204 |
%patch1 -p0 -b .chinese |
%patch1 -p0 -b .chinese |
205 |
%patch108 -p1 -b .conf |
%patch108 -p1 -b .conf |
206 |
|
|
207 |
|
GECKO_VERSION=$(sed -rn 's,^#define\s+GECKO_VERSION\s+"([^"]*)".*$,\1,p' dlls/appwiz.cpl/addons.c) |
208 |
|
[ "$GECKO_VERSION" = "%gecko_version" ] || { echo wine-gecko version mismatch; exit 1; } |
209 |
|
|
210 |
%build |
%build |
211 |
%ifarch %ix86 |
%ifarch %ix86 |
212 |
# (Anssi 04/2008) bug #39604 |
# (Anssi 04/2008) bug #39604 |