Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

19 changed files with 9916 additions and 495 deletions

55
README.SUSE Normal file
View File

@ -0,0 +1,55 @@
Start wine:
-----------
Check whether wine runs by entering (e.g.) 'wine notepad.exe' or
'wine progman'.
General Notes:
--------------
1. All configuration data is in the registry, and can be accessed
directly by editing system.reg or user.reg, "wine regedit.exe" or
with the graphical configuration frontend "winecfg".
2. Drives are configured by symlinking in ~/.wine/dosdevices/,
or by using "winecfg".
3. You have to set the WINEPREFIX variable to the wine base dir,
if it is different than ~/.wine.
There usually is no need for additionaly configuring wine.
If no ~/.wine is present, Wine will setup a fake windows
environment in ~/.wine by itself, including all necessary config
file and registry settings using the "wine.inf" file.
Windows DLLs not supported by Wine:
--------------------------------------
A shell script called "winetricks" is included in this RPM which
can be used to quickly install missing DLLs from public redistributable
archives.
winetricks help shows all installation possibilities
winetricks gecko Installs the Mozilla Gecko rendering engine, which
provides generic HTML rendering support to Wine.
This engine is also in the wine-gecko RPM.
winetricks mfc40 installs the MFC40.DLL
winetricks mfc42 installs the MFC42.DLL (Applications might need it)
Violation of existing windows:
------------------------------
Wine can corrupt MS Windows installation.
It is not recommended to point Wine to an existing Windows
installation. Also it should no longer be necessary to copy
stuff from Windows installations.
Error and warning messages:
---------------------------
Wine is intensively developed but is not always complete.
Therefore things might not work and wine might print error and
warning messages.

View File

@ -1,5 +1,7 @@
<multibuild>
<!-- <package>nine</package> -->
<package>staging</package>
<package>wow64</package>
<package>staging</package>
<package>staging-wow64</package>
<!-- <package>staging-nine</package> -->
</multibuild>

View File

@ -3,7 +3,7 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="url">https://github.com/wine-staging/wine-staging.git</param>
<param name="revision">refs/tags/v10.0-rc3</param>
<param name="revision">refs/tags/v9.17</param>
<param name="match-tag">v*.*</param>
<param name="scm">git</param>
</service>

View File

@ -1,26 +0,0 @@
#!/usr/bin/sh
set -e
if [[ -z "$1" ]]; then
echo "Please enter the version you want to update to";
exit 1;
fi
VERSION="$1"
# for the rc1 releases we translate 10.0-rc1 to 10.0~rc1 , as 10.0~x is < 10.0
REALVERSION=`echo $1|sed -e's/-/~/';`
echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "patching spec file and downloading the tarball"
echo "++++++++++++++++++++++++++++++++++++++++++++++"
sed -i -e 's|Version: .*|Version: '${REALVERSION}'|g' wine.spec
sed -i -e 's|downloadver .*|downloadver '${VERSION}'|g' wine.spec
osc service mr download_files
sed -i -e "s|tags/v.*<|tags/v${VERSION}<|g" _service
osc service dr
echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "Done! Have fun building and testing"
echo "++++++++++++++++++++++++++++++++++++++++++++++"

3
ubuntuwine.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:787f52cd668e644a7a5e2eea85ff0025b7163f449dd9b9867b6eb91fb624c238
size 26725

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dcc00fd683eb17198968d72c933bd1e8b1fb8efdf7b6d718b6a6de6abbac79b8
size 32012224

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmdl4AAACgkQzvrI6q8X
UZ3QVRAAhzwuVilt89SeVLGYNJWsGQtx4sbK+mhG8/DKzDXt7Zo8qNwn6BxR8qNa
yx6FYRitgmEuG8vEOKQne6HGrcRzmOV+z38CfQ+zwCr81Md/zciySmT36QNr0aUd
CnwcGbRLYjyZAVpvbsnxf8kUt3vikV5RNMqxyeVrz5LC0EpEKxNPRcKrYpeYknLk
klYN9cioBp7T8kxa/whnIUjdJ8Qy2nZAHJGLEfrrMKOpcV3dCdgoMJk3NoaqIMPk
b+xlWRWZ0xzTy6iMK6VQC4QL31BB4hCinQ0Xgi6RmEXO5WnzqHcpprgXZ07a6t76
7plr6XeivfAu4Or8BsSYKyIIJxOGorXpDClF7hQEtPnVJCduTFFn9gx/f8sRRNH2
W74thk7a5Zjtqlw3s9ahUlZHSsJauWlNJyi/wz7QqDmMX4gwyL/bWebdx/d6nZ+g
UBtk5L0AjhQbSi4Z0bjQwyYetA7DRDBwocWEBhCngfFwKkUZDuIP85LLiZ9LrvAc
wpAdeNEuHbAwihAHe+DM2Rv+zHSwDc1Yx4fHx+nrd3r9fZNoRMSke2o5O0tIsytX
m+yOVYSKpMMKfaGNLWEXqeY+GZfNlV2H8YeKidCpOhAysdwKTSsyOd9KcswcujCv
FNM9yBY+9ft1Bu9TdudbksxMuSGutnD3YrFDX9IqrCKcVMLd0JI=
=roJn
-----END PGP SIGNATURE-----

3
wine-9.17.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3edb7eb6f31bb5c3f7378dd5623da9d95f7d4d6d7c8378afd89c8e3a30aa080c
size 30684564

16
wine-9.17.tar.xz.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmbbZ2IACgkQzvrI6q8X
UZ3Tow//dybRiUPYZRq3jgHNHNwOGMpYTrVXOrc/BmEUwWsLGOkwWqd2hPoP1lQd
RYn5p8Mx6UKH+O7mK8wjlzjMl4NEta+0D66oLRLj/di2AG7hIf1sSwgFVGDeRWVj
z+mVdt7L3qD5hKx4fDq272keIfuPRcNsenEgrTcu8nqigdYnG7qBJ+zWNGs3O67c
1o1oiRr/xqL/U/PbQmf54JwdAy5GBR3Hew1CkeZq2a6G5d3osTSIansb6cnK9l2+
xvbemr/Zdua0yCD4pdWOWMUM2fhrZEXFhcvOUjI+swo4vb8lqiFEsguUadjxISL5
lYjo+3/83u1KA08QSKUVAVv0+RBhuMMN/ELZVAtvucVD91Hy7J8Sa6+Z1S6K0A0b
Lk7JfNAmHGAdUpYhxfW8yBoQjrcGeI9cQsWqn9JH5Guf8rGVzfN9j47HkTARs1Hu
05m8SAMV8uEHj/epemzNRQwazYdlpjeh/tyJzOG3aFWy/FHqQak86KoPJUl6Fmqk
k1P2fmkl3OjGvtxcmmhvL97f4IAZNf04c0jzXZ5A4fCd3F7sEsQENzvjz3Gbr/vM
L/FbjjtPaI25jaH1BHAuXccNNy+BxlA97YgvXBrDeuYbaH9z1Jpke2U7pSNy+DI3
XdugPLXCoxcXkxhLpTvJI92n4vGNxdLS/66Pwe76OaOsF7SwjWI=
=KPQU
-----END PGP SIGNATURE-----

10
wine-msi.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Exec=msiexec /i %f
Name=Wine MSI Installer
NoDisplay=true
GenericName=Run MSI Installers
Icon=wine
Type=Application
MimeType=application/x-msi;
Encoding=UTF-8
X-KDE-StartupNotify=false

4
wine-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# Some of our .a files are data only, rpmlint check does not cover that
addFilter("lto-no-text-in-archive")
# we have a libwine.so.1, but it is really just for wine usage only.
addFilter("shlib-policy-name-error")

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d935c4d075fdd26578bee17e081f4b3c41e6b2204e1f7f8afa0a30233955c70
size 7202772

3
wine-staging-9.17.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b43b951c3bf603b2819488b5aa52989ea63cbba7e8bbc1acffaa6644a4dd2940
size 7156036

View File

@ -1,96 +1,3 @@
-------------------------------------------------------------------
Sun Dec 22 08:23:18 UTC 2024 - Marcus Meissner <meissner@suse.com>
- update to 10.0-rc3 release:
- Bug fixes only, we are in code freeze.
- update staging to 10.0-rc3 release
-------------------------------------------------------------------
Sat Dec 14 09:38:46 UTC 2024 - Marcus Meissner <meissner@suse.com>
- update to 10.0-rc2 release:
- Bug fixes only, we are in code freeze.
- update staging to 10.0-rc2 release
-------------------------------------------------------------------
Sat Dec 7 12:52:09 UTC 2024 - Marcus Meissner <meissner@suse.com>
- update to 10.0-rc1 release:
- Bundled vkd3d upgraded to version 1.14.
- Mono engine updated to version 9.4.0.
- Initial version of a Bluetooth driver.
- UTF-8 support in the C runtime functions.
- Support for split debug info using build ids.
- Various bug fixes.
- update staging to 10.0-rc1 release
-------------------------------------------------------------------
Sat Nov 23 08:39:34 UTC 2024 - Marcus Meissner <meissner@suse.com>
- update to 9.22 release:
- Support for display mode virtualization.
- Locale data updated to Unicode CLDR 46.
- More support for network sessions in DirectPlay.
- Wayland driver enabled in default configuration.
- Various bug fixes.
- update staging to 9.22 release
-------------------------------------------------------------------
Sun Nov 10 09:35:28 UTC 2024 - Marcus Meissner <meissner@suse.com>
- readd wine-devel to baselibs.conf
- readd _service and adjust get-sources.sh
- readd find-requires
-------------------------------------------------------------------
Sat Nov 9 00:56:55 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 9.21 release:
- More support for network sessions in DirectPlay.
- Header fixes for C++ compilation.
- I/O completion fixes.
- More formats supported in D3DX9.
- Various bug fixes.
- update staging to 9.21 release
- remove wisotool, as it should not be useful anymore
- remove dosbox as a runtime dependency
- remove desktop integration, as most users who use wine directly,
don't use them, and most people use wine bottle managers
- spec file overhauled, using pkgconfig, removing Leap < 1500
-------------------------------------------------------------------
Sat Oct 19 09:50:06 UTC 2024 - Marcus Meissner <meissner@suse.com>
- Updated to 9.20 release
- Bundled Capstone library for disassembly in WineDbg.
- More formats supported in D3DX9.
- Static analysis and JUnit test reports in Gitlab CI.
- More support for network sessions in DirectPlay.
- Various bug fixes.
- update staging to 9.20 release
-------------------------------------------------------------------
Sun Oct 6 13:43:41 UTC 2024 - Marcus Meissner <meissner@suse.com>
- Updated to 9.19 release
- Character tables updates to Unicode 16.0.0.
- Better window positioning in the Wayland driver.
- More support for network sessions in DirectPlay.
- Support for plug&play device change notifications.
- Various bug fixes.
- update staging to 9.19 release
-------------------------------------------------------------------
Sun Sep 22 14:50:04 UTC 2024 - Marcus Meissner <meissner@suse.com>
- Updated to 9.18 release
- New Media Foundation backend using FFMpeg.
- Initial support for network sessions in DirectPlay.
- New Desktop Control Panel applet.
- Various bug fixes.
- update staging to 9.18 release
- buildrequire ffmpeg
-------------------------------------------------------------------
Sat Sep 7 07:42:59 UTC 2024 - Marcus Meissner <meissner@suse.com>

63
wine.desktop Normal file
View File

@ -0,0 +1,63 @@
[Desktop Entry]
Exec=wine start /unix %f
Name=Wine
NoDisplay=true
Name[af]=Wyn
Name[lo]=
Name[ta]=¨Åý
Name[ven]=Veini
Name[zu]=Iwayini
GenericName=Run Windows Programs
GenericName[af]=Hardloop Vensters Programme
GenericName[be]=Выканаць Windows праграмы
GenericName[bg]=Програма за Изпълнение на Windows Програми
GenericName[bs]=Pokretanje Windows programa
GenericName[ca]=Engega programes Windows
GenericName[cs]=Provozujte programy z Windows
GenericName[da]=Kører Windows programmer
GenericName[de]=Windows-Programme ausführen
GenericName[el]=Εκτέλεση προγραμμάτων Windows
GenericName[eo]=Lanĉu Vindozaj Programoj
GenericName[es]=Ejecución de programas de Windows
GenericName[et]=Windows rakenduste käivitamine
GenericName[eu]=Windows Programak Abiarazten Ditu
GenericName[fa]=اجرای برنامههای ویندوز
GenericName[fi]=Aja Windows ohjelmia
GenericName[fr]=Fait fonctionner des programmes Windows
GenericName[he]=הפעלת תוכניות של Windows
GenericName[hu]=Windows-emulátor
GenericName[is]=Keyra Windows forrit
GenericName[it]=Esecuzione programmi windows
GenericName[ja]=Windows
GenericName[lo]=
GenericName[lt]=Leisti Windows programas
GenericName[lv]=Darbina Windows Programmas
GenericName[mk]=Стартувај Windows програми
GenericName[mn]=Виндовсын-Програм ажиллуулах
GenericName[nb]=Kjør Windows-programmer
GenericName[nl]=Windows-programma's draaien
GenericName[nn]=Køyr Windows-program
GenericName[nso]=Tsamaisa Mananeo a di-Window
GenericName[pl]=Środowisko do uruchamiania programów Windows
GenericName[pt]=Executar Programas de Windows
GenericName[pt_BR]=Executar Programas do Windows
GenericName[ro]=Rulează programe de Windows
GenericName[ru]=Выполнение программ Windows
GenericName[se]=Vuoje Windows-prográmmaid
GenericName[sk]=Beh aplikácií Windows
GenericName[sl]=Poganjanje programov za Windows
GenericName[sv]=Kör Windows-program
GenericName[ta]=Å¢ý§¼¡Š ¿¢Ãø¸¨Ç þÂìÌ
GenericName[tr]=Windows Programlarını Çalıştır
GenericName[uk]=Запуск програм Windows
GenericName[ven]=Mbekanyamushumo yau tshimbidza dziwindow
GenericName[vi]=Chy chương trình ca Windows
GenericName[xh]=Sebenzisa Udweliso lweenkqubo lwe Windows
GenericName[zh_CN]= Windows
GenericName[zh_TW]= Windows
GenericName[zu]=Sebenzisa izinhlelo zemisebenzi zama-WIndow
Icon=wine
Type=Application
MimeType=application/x-msdos-program;application/x-ms-dos-executable;application/x-msi;application/x-win-lnk;application/x-ms-shortcut;
Encoding=UTF-8
X-KDE-StartupNotify=false

View File

@ -1,8 +1,6 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Hostname:
Version: Hockeypuck 2.2
xsFNBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk
mQINBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk
lUbKDCBOUMtPFsAXMpcxOGwscCr3WMuI8WszTjKDs3mdQ37o/pzXMbRhY0oZV29Z
EhNLds14qhMLlQiDEm5lJ5bOsLevHJ9hR4wvwY6UR881xsiXsNU+iNMRP0cWeRjQ
84pSCLOt9i+D8rdllVob871gN/tjY4Ll13Tg7qmtFE1YEFJaLb2yik0bO7gPkig/
@ -13,111 +11,42 @@ QK0bHqIwChMtAJvzdoC77XIJhbCtStmvo2FdSA8YcG4stlz+Wk1ZtNMen83ZEscS
OXEVpxcPGlbmWmkWj8DF5zbB1dRdh4T6LLM4nZViBu7oGD76z3c/x2zc7l3pyVHx
Cw70a+r+6LvUwnvCiApCBS72uDc4zZtnkNUQHlXHkz9wEeYUtUB0wkCYWPZy7BZy
0aFfKWK4J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/6PVOejH/AnO38pCb
hoj0/zvnKQARAQABiQIfBBgBAgAJBQJWOEgWAhsMAAoJEM76yOqvF1Gde00QAJMF
OZhnPeiDFigLsqiqPGQzqSlZ5r4rQ3t6txfBYDclTq3rMqmk75bxteZHpSgMvdHF
SgqrvcyCJP5F8IRbk+J/tUb10icnl7+vsb6PfNXXflX0cIeAC9yqB3Z6RO77NoMy
HzMlw4EcNUXdmC46s+h6y74BeWWLBwYR18XgTSuw3gYpL7P0lqM2d7H6HCQMkZD/
on9pT3lOc5k9YeM+B+Ak0nDyJGrdj6EES/ukrmq/szJhx+2zMbKU6Ds/uIRE0zuS
VUPnCy+3KPuJk+xLWtuVD2v2G0PXBrKKcgLfQzTQeGT5R/8rTt2w3ah4dXYRG5Ad
N5fIaTfjJTZGmht3pvHuucoloqMWl6DD7a3XZjWtUBMhPboAZiCmXiBWn3c26ITu
N9j4gSpl3hbWYJXjTWocGs2YyiuMRsO6Minfz5l2/iZjp8xHJ8GajuLGQES7CwGH
uShQ0hknHZmrH0d6xOhD64czgmTI2HraujWz+u31sHM1yEJgQKAtEL2AKWGSadly
/eI2rCQDEn6mIe34I04SPr/XrTpFClmUBbZBBir7KMRhB8B9ERdJElbtb4ubGZ0D
FCYpueJgVv9agvV2ONVb/K0BIevJy9v5+FbSFIQG/spkwf/71olib93iUr9tKTaE
mOMR1xJlCiQvAQYsmqwM9FHDmGJYTQE1WbVZu4gZ
=6vF7
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1 +0,0 @@
addFilter('lto-no-text-in-archive')

664
wine.spec
View File

@ -16,93 +16,140 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%define psuffix %{nil}
%define wow64 0
%define staging 0
%if "%{flavor}" == "wow64"
%define psuffix -wow64
%define wow64 1
%define projectname wine
%global flavor @BUILD_FLAVOR@%nil
%define staging 0
%ifarch x86_64 aarch64
%define wow64_build 0
%endif
%if "%{flavor}" == "staging"
%define psuffix -staging
%define staging 1
%endif
%if "%{flavor}" == "staging-wow64"
%define psuffix -staging-wow64
%define wow64 1
%define staging 1
%ifarch %ix86
%define wow64_build 0
%endif
%define _lto_cflags %{nil}
Name: wine%{psuffix}
%define downloadver 10.0-rc3
Version: 10.0~rc3
Release: 0
Summary: An MS Windows Emulator
License: LGPL-2.1-or-later
URL: https://winehq.org
Source0: https://dl.winehq.org/wine/source/10.0/wine-%{downloadver}.tar.xz
Source1: https://dl.winehq.org/wine/source/10.0/wine-%{downloadver}.tar.xz.sign
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xda23579a74d4ad9af9d3f945cefac8eaaf17519d#/wine.keyring
%if %{staging}
Source3: https://github.com/wine-staging/wine-staging/archive/v%{downloadver}.tar.gz#/wine-staging-%{downloadver}.tar.xz
%if "%flavor" == "staging"
%define staging 1
%endif
Source97: baselibs.conf
Source98: wine.rpmlintrc
Source99: get-sources.sh
%if "%flavor" == "wow64"
%define wow64_build 1
%endif
%if "%flavor" == "staging-wow64"
%define staging 1
%define wow64_build 1
%endif
# needs to be on top due to usage of %version macro below
%define realver 9.17
Version: 9.17
Release: 0
%if "%{flavor}" != ""
Name: wine%{?flavor:-}%{?flavor}
Provides: wine = %{version}-%{release}
%else
Name: wine
%endif
Conflicts: otherproviders(wine)
# the wow64 is now a 64bit flavor of the 32bit build.
%if "%{flavor}" == "wow64" || "%{flavor}" == "staging-wow64"
Conflicts: otherproviders(wine-32bit)
Provides: wine-32bit = %{version}-%{release}
%endif
BuildRequires: alsa-devel
BuildRequires: autoconf
BuildRequires: bison
%ifarch aarch64
BuildRequires: clang >= 5
BuildRequires: lld
BuildRequires: llvm
%endif
BuildRequires: cups-devel
%if 0%{?suse_version} >= 1550
BuildRequires: libcapi20-devel
BuildRequires: vkd3d-devel
%endif
BuildRequires: FAudio-devel
BuildRequires: dbus-1-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: fontconfig-devel
BuildRequires: freeglut-devel
BuildRequires: freetype2-devel
BuildRequires: giflib-devel
BuildRequires: glib2-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: krb5-devel
BuildRequires: libgnutls-devel
BuildRequires: libgphoto2-devel
BuildRequires: libgsm-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libpcap-devel
BuildRequires: libpng-devel
BuildRequires: libpulse-devel
BuildRequires: libtiff-devel
BuildRequires: libv4l-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
%if 0%{?suse_version} >= 1330
BuildRequires: mpg123-devel
BuildRequires: vulkan-devel
%ifarch %{ix86} x86_64
Requires: libvulkan_intel
%endif
Requires: libvulkan_radeon
Provides: wine-mp3 = %version
Obsoletes: wine-mp3 < %version
%else
Recommends: wine-mp3
%endif
BuildRequires: SDL2-devel
BuildRequires: git
BuildRequires: ncurses-devel
BuildRequires: ocl-icd-devel
BuildRequires: openal-soft-devel
BuildRequires: openldap2-devel
BuildRequires: openssl-devel
BuildRequires: pcsc-lite-devel
BuildRequires: pkgconfig
BuildRequires: sane-backends-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(OpenCL)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: valgrind-devel
%if 0%{?suse_version} >= 1550
%ifarch x86_64
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-zlib-devel
Requires: mingw64-libz
%if %{wow64_build}
BuildRequires: mingw32-cross-gcc
%endif
%endif
%ifarch %ix86
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-zlib-devel
Requires: mingw32-libz
%endif
%endif
BuildRequires: systemd-devel
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glut)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(ldap)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libgphoto2)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(libpcap)
BuildRequires: pkgconfig(libpcsclite)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libunwind)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libvkd3d)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(odbc)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(osmesa)
BuildRequires: pkgconfig(sane-backends)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(valgrind)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-dri3)
BuildRequires: pkgconfig(xcb-present)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi)
@ -113,61 +160,66 @@ BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
%ifarch aarch64
BuildRequires: clang >= 5
BuildRequires: lld
BuildRequires: llvm
%endif
%ifarch %{ix86}
BuildRequires: mingw32-cross-gcc
%endif
%ifarch x86_64
BuildRequires: mingw64-cross-gcc
%if %{wow64}
BuildRequires: mingw32-cross-gcc
%endif
%endif
%if 0%{?suse_version} < 1600
BuildRequires: gcc14-c++
%endif
%if 0%{?suse_version} >= 1600
BuildRequires: pkgconfig(FAudio)
BuildRequires: pkgconfig(capi20)
BuildRequires: pkgconfig(cups)
BuildRequires: pkgconfig(libattr)
%else
BuildRequires: FAudio-devel
BuildRequires: cups-devel
BuildRequires: libattr-devel
%ifnarch %{ix86}
BuildRequires: libcapi20-devel
%endif
%endif
%if %{staging}
BuildRequires: git-core
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libva)
%endif
%ifarch x86_64
Requires: wine-32bit = %{version}
%endif
Requires: samba-winbind
Summary: An MS Windows Emulator
License: LGPL-2.1-or-later
Group: System/Emulators/PC
URL: https://www.winehq.org/
Source0: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz
Source41: wine.keyring
Source42: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz.sign
Source2: http://kegel.com/wine/wisotool
Source3: README.SUSE
Source4: wine.desktop
Source6: wine-msi.desktop
Source5: ubuntuwine.tar.bz2
Source7: baselibs.conf
Source8: wine-rpmlintrc
# SUSE specific patches
# - currently none, but add them here
Recommends: wine-gecko >= 2.47.4
Recommends: wine-mono >= 9.4.0
Recommends: winetricks
Conflicts: wine-gecko < 2.47.4
Conflicts: wine-mono < 9.4.0
Conflicts: otherproviders(wine)
Provides: wine-mp3 = %version
Obsoletes: wine-mp3 < %version
%if "%{flavor}" != ""
Provides: wine = %{version}-%{release}
Recommends: wine-mono >= 9.2.0
Conflicts: wine-mono < 9.2.0
# not packaged in distro...
Recommends: wine-mono
Recommends: alsa-plugins
Recommends: dosbox
Recommends: pipewire-alsa
Recommends: winetricks
Requires: samba-winbind
%if "%{flavor}" != "wow64" && "%{flavor}" != "staging-wow64"
%ifarch x86_64
Requires: %{name}-32bit = %{version}
%endif
%if "%{flavor}" == "wow64" || "%{flavor}" == "staging-wow64"
Conflicts: otherproviders(wine-32bit)
Provides: wine-32bit = %{version}-%{release}
%endif
ExclusiveArch: aarch64 %{ix86} x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc armv7l armv7hl aarch64
%if %{staging}
# upstream patch target version
%define staging_version 9.17
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
BuildRequires: libva-devel
BuildRequires: python3
%endif
# wine bundles multiple unix libraries to be able to build PE files without dependencies
# current versions are from 7.22 (update this if you update the versions below):
Provides: bundled(FAudio) = 24.06
Provides: bundled(fluidsynth) = 2.3.5
Provides: bundled(jpeg) = 9f
Provides: bundled(libgsm) = 1.10.19
Provides: bundled(libjxr) = 1.1
Provides: bundled(liblcms2) = 2.16
Provides: bundled(libpng) = 1.6.43
Provides: bundled(libxml2) = 2.11.7
Provides: bundled(libxslt) = 1.1.39
Provides: bundled(mpg123) = 1.32.5
Provides: bundled(musl) = 1.2.3
Provides: bundled(openldap2) = 2.5.17
Provides: bundled(tiff) = 4.6.0
Provides: bundled(vkd3d) = 1.13
Provides: bundled(zlib) = 1.3.1
%description
Wine is a compatibility layer capable of running Windows
@ -182,8 +234,20 @@ This WINE flavor contains the "staging" development patchset
on top of the regular Wine release.
%endif
You can run your Windows executables with it and write your Windows
programs under Linux and link against the WINE libraries. It is not
necessary to have a Windows installation to run WINE.
Refer to %{_datadir}/doc/packages/wine/README.SUSE. There is more
documentation available in that directory. Read 'man wine' for further
information.
You can invoke wine by entering 'wine program.exe'. Configure it by
running 'winecfg'.
%package devel
Summary: Files for Wine development
Group: Development/Libraries/C and C++
%if "%{flavor}" != ""
Provides: wine-devel = %{version}
%endif
@ -194,83 +258,170 @@ This RPM contains the header files and development tools for the WINE
libraries.
%prep
%autosetup -n wine-%{downloadver}
%setup -q -n wine-%{realver}
%autopatch -p1
#
cp %{S:3} .
#
%if %{staging}
tar xf %{SOURCE3}
python3 wine-staging-%{downloadver}/staging/patchinstall.py --all
# apply wine staging patch set on top of the wine release.
tar xf %{SOURCE100}
python3 ./wine-staging-%staging_version/staging/patchinstall.py --all
%endif
%build
%if 0%{?suse_version} < 1600
export CC="/usr/bin/gcc-14"
export CXX="/usr/bin/g++-14"
%endif
%ifarch %{ix86}
export CFLAGS="%{optflags} -fno-omit-frame-pointer"
export CXXFLAGS="%{optflags} -fno-omit-frame-pointer"
%endif
# currently not building with LTO
%define _lto_cflags %{nil}
cat VERSION
export WIDL_TIME_OVERRIDE="0" # for reproducible builds.
%ifarch %ix86
# e.g. Steam and other copy protections hate EBP being used for something else.
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'`
%endif
%ifarch aarch64
# ARM64 now requires clang
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95
export CC="/usr/bin/clang"
%endif
%if %{staging}
autoreconf -i -f
%endif
# keep just for susepatches with configure changes
#autoconf
#autoheader -I include
CFLAGS="$RPM_OPT_FLAGS" \
%configure \
--with-x \
--with-wayland \
--with-gstreamer \
%ifarch aarch64 x86_64
%ifarch %{arm}
--with-float-abi=hard \
%endif
%ifarch x86_64 aarch64
--enable-win64 \
%if %{wow64}
%if %{wow64_build}
--enable-archs=x86_64,i386 \
%endif
%endif
--verbose || cat config.log
grep "have_x=yes" config.log || exit 1
# generate baselibs.conf
%ifarch %ix86 aarch64
echo "# autogenerated in .spec file" >%SOURCE97
echo "%name" >> %SOURCE97
echo " +^/usr/bin/wine\$" >> %SOURCE97
echo " +^/usr/bin/wine-preloader\$" >> %SOURCE97
echo " +^/usr/lib/wine/i386-windows" >> %SOURCE97
echo " +^/usr/lib/wine/i386-unix" >> %SOURCE97
echo "# autogenerated in .spec file" >%SOURCE7
echo "%name" >> %SOURCE7
echo " +^/usr/bin/wine\$" >> %SOURCE7
echo " +^/usr/bin/wine-preloader\$" >> %SOURCE7
echo " +^/usr/lib/wine/i386-windows" >> %SOURCE7
echo " +^/usr/lib/wine/i386-unix" >> %SOURCE7
grep SONAME_ config.log
grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/ requires \1/;'|sort -u >>%SOURCE97
echo " recommends \"libpulse0-32bit\"" >> %SOURCE97
echo " recommends \"pipewire-alsa-32bit\"" >> %SOURCE97
echo " recommends \"alsa-plugins-32bit\"" >> %SOURCE97
echo " recommends \"Mesa-libGL1-32bit\"" >> %SOURCE97
grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/ requires \1/;'|sort -u >>%SOURCE7
echo " recommends \"libpulse0-32bit\"" >> %SOURCE7
echo " recommends \"pipewire-alsa-32bit\"" >> %SOURCE7
echo " recommends \"alsa-plugins-32bit\"" >> %SOURCE7
echo " recommends \"Mesa-libGL1-32bit\"" >> %SOURCE7
%if 0%{?suse_version} >= 1330
# indirect deps of libvulkan
echo " requires \"libvulkan_intel-32bit\"" >> %SOURCE97
echo " requires \"libvulkan_radeon-32bit\"" >> %SOURCE97
echo " requires \"libvulkan_intel-32bit\"" >> %SOURCE7
echo " requires \"libvulkan_radeon-32bit\"" >> %SOURCE7
# now included
echo " obsoletes \"wine-mp3-32bit\"" >> %SOURCE97
echo " requires \"p11-kit-32bit\"" >> %SOURCE97
%if "%{flavor}" != ""
echo " provides \"wine-<targettype> = <version>\"" >> %SOURCE97
echo " obsoletes \"wine-mp3-32bit\"" >> %SOURCE7
%else
echo " recommends \"wine-mp3-32bit\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-<targettype>)\"" >> %SOURCE97
echo "%name-devel" >> %SOURCE97
echo " +^/usr/lib/wine/.*def" >> %SOURCE97
%if "%{flavor}" != ""
echo " provides \"wine-devel-<targettype> = <version>\"" >> %SOURCE97
%if 0%{?suse_version} >= 1310
echo " requires \"p11-kit-32bit\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-devel-<targettype>)\"" >> %SOURCE97
%if "%{flavor}" != ""
echo " provides \"wine-<targettype> = <version>\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-<targettype>)\"" >> %SOURCE7
echo "%name-devel" >> %SOURCE7
echo " +^/usr/lib/wine/.*def" >> %SOURCE7
%if "%{flavor}" != ""
echo " provides \"wine-devel-<targettype> = <version>\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-devel-<targettype>)\"" >> %SOURCE7
cat %SOURCE97
cat %SOURCE7
%endif
%make_build all
make %{?_smp_mflags} all
%install
%make_install DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot}
%ifarch %{ix86} x86_64
%ifarch x86_64
%if !%{wow64_build}
mkdir -p \
%{buildroot}/usr/lib/wine/i386-windows \
%{buildroot}/usr/lib/wine/i386-unix
ln -s \
/usr/lib/wine/i386-windows \
/usr/lib/wine/i386-unix \
%buildroot/usr/%_lib/wine/
%endif
%endif
# install desktop file
install -d %{buildroot}%{_datadir}/applications/
%suse_update_desktop_file %{SOURCE4} System Emulator
install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
install -m 0755 %SOURCE2 %{buildroot}%{_bindir}/
mv %{buildroot}/%{_mandir}/de.UTF-8 %{buildroot}/%{_mandir}/de
mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
%ifnarch x86_64
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
%if %{wow64_build}
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
%ifarch %ix86 x86_64
# Use plain strip, which unlike the MinGW variant preserves the wine builtin marker
find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} +
%endif
rm -rf %{buildroot}%{_mandir}/{pl,de,fr}.UTF-8
%ifarch aarch64
# Do not ship static *.a libs
rm %{buildroot}%{_libdir}/wine/*-windows/*.a
%endif
tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages
# taken on 1.2rc2 time.
cd ubuntuwine
install -d %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged
install -c -m 644 wine.menu %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged
# Install application-specific desktop files
install -d %{buildroot}%{_datadir}/applications
install -c -m 644 *.desktop %{buildroot}%{_datadir}/applications/
sed -i "/X-SuSE-translate/d" %{buildroot}%{_datadir}/applications/*.desktop
install -d %{buildroot}%{_datadir}/desktop-directories/
install -c -m 644 *.directory %{buildroot}%{_datadir}/desktop-directories/
# Correct desktop files' categories
%suse_update_desktop_file -n -r wine-notepad Utility TextEditor
%suse_update_desktop_file -n -r wine-uninstaller System Emulator
%suse_update_desktop_file -n -r wine-winecfg System Emulator
%suse_update_desktop_file -n -r wine-regedit System Emulator
%suse_update_desktop_file -n -r wine-winehelp System Emulator
%suse_update_desktop_file -n -r wine-msi System Emulator
%suse_update_desktop_file -n -r wine-browsedrive System Emulator
%suse_update_desktop_file -n -r wine-winefile System FileManager
%suse_update_desktop_file -n -r wine-winemine Game BoardGame
# Install icons
install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
cd ..
# find the implicit dependencies
%define winedir %_builddir/wine-%downloadver
%define winedir %_builddir/%projectname-%realver
cat >%winedir/my-find-requires.sh <<EOF
#!/bin/bash
%{__find_requires}
@ -284,11 +435,16 @@ chmod 755 %winedir/my-find-requires.sh
%define _use_internal_dependency_generator 0
%define __find_requires %winedir/my-find-requires.sh
%ldconfig_scriptlets
# breaks btrfs installation, see bnc#723402
# %%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE LICENSE.OLD
%doc ANNOUNCE.md AUTHORS README.md
%doc ANNOUNCE.md AUTHORS README*
%{_bindir}/function_grep.pl
%{_bindir}/msidb
%{_bindir}/msiexec
@ -303,70 +459,97 @@ chmod 755 %winedir/my-find-requires.sh
%{_bindir}/winemine
%{_bindir}/winepath
%{_bindir}/wineserver
%{_datadir}/applications/wine.desktop
%{_mandir}/man?/winedbg.?%{?ext_man}
%{_mandir}/man?/wineserver.?%{?ext_man}
%{_mandir}/man?/msiexec.?%{?ext_man}
%{_mandir}/man?/notepad.?%{?ext_man}
%{_mandir}/man?/regedit.?%{?ext_man}
%{_mandir}/man?/regsvr32.?%{?ext_man}
%{_mandir}/man?/wineboot.?%{?ext_man}
%{_mandir}/man?/winebuild.?%{?ext_man}
%{_mandir}/man?/winecfg.?%{?ext_man}
%{_mandir}/man?/wineconsole.?%{?ext_man}
%{_mandir}/man?/winecpp.?%{?ext_man}
%{_mandir}/man?/winefile.?%{?ext_man}
%{_mandir}/man?/winemine.?%{?ext_man}
%{_mandir}/man?/winepath.?%{?ext_man}
%{_bindir}/wisotool
%{_datadir}/wine
%dir %{_libdir}/wine
%ifarch aarch64
%ifnarch x86_64
%doc %{_mandir}/man1/wine.1*
%endif
%if %{wow64_build}
%doc %{_mandir}/man1/wine.1*
%endif
%doc %{_mandir}/man1/winedbg.1*
%doc %{_mandir}/man1/wineserver.1*
%ifnarch x86_64
%doc %dir %doc %{_mandir}/pl
%doc %dir %doc %{_mandir}/pl/man1
%doc %{_mandir}/*/man1/wine.1*
%endif
%if %{wow64_build}
%doc %dir %doc %{_mandir}/pl
%doc %dir %doc %{_mandir}/pl/man1
%doc %{_mandir}/*/man1/wine.1*
%endif
%doc %{_mandir}/*/man1/wineserver.1*
%doc %{_mandir}/man1/msiexec.1.*
%doc %{_mandir}/man1/notepad.1.*
%doc %{_mandir}/man1/regedit.1.*
%doc %{_mandir}/man1/regsvr32.1.*
%doc %{_mandir}/man1/wineboot.1.*
%doc %{_mandir}/man1/winebuild.1.*
%doc %{_mandir}/man1/winecfg.1.*
%doc %{_mandir}/man1/wineconsole.1.*
%doc %{_mandir}/man1/winecpp.1.*
%doc %{_mandir}/man1/winefile.1.*
%doc %{_mandir}/man1/winemine.1.*
%doc %{_mandir}/man1/winepath.1.*
%dir %{_sysconfdir}/xdg/menus/
%dir %{_sysconfdir}/xdg/menus/applications-merged
%config %{_sysconfdir}/xdg/menus/applications-merged/*.menu
%{_datadir}/applications/*.desktop
%dir %{_datadir}/desktop-directories/
%{_datadir}/desktop-directories/*.directory
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%ifarch %ix86 aarch64
%{_bindir}/wine
%{_bindir}/wine-preloader
%{_mandir}/man?/wine.?%{?ext_man}
%if !%{wow64}
%{_libdir}/wine/aarch64-windows
%exclude %{_libdir}/wine/aarch64-windows/*.a
%endif
%{_libdir}/wine/aarch64-unix
%if %{wow64}
%{_libdir}/wine/i386-windows
%exclude %{_libdir}/wine/i386-windows/*.a
%{_libdir}/wine/x86_64-windows
%exclude %{_libdir}/wine/x86_64-windows/*.a
%endif
%endif
%ifarch %{ix86}
%ifarch ppc %arm
%{_bindir}/wine
%{_bindir}/wine-preloader
%{_mandir}/man?/wine.?%{?ext_man}
%{_libdir}/wine/i386-windows
%exclude %{_libdir}/wine/i386-windows/*.a
%{_libdir}/wine/i386-unix
%exclude %{_libdir}/wine/i386-unix/*.a
%endif
%ifarch x86_64
%if %{wow64}
%if %{wow64_build}
%{_bindir}/wine
%{_bindir}/wine-preloader
%{_mandir}/man?/wine.?%{?ext_man}
%{_libdir}/wine/i386-windows
%exclude %{_libdir}/wine/i386-windows/*.a
%{_libdir}/wine/x86_64-windows
%exclude %{_libdir}/wine/x86_64-windows/*.a
%{_libdir}/wine/x86_64-unix
%exclude %{_libdir}/wine/x86_64-unix/*.a
%else
%{_bindir}/wine64
%{_bindir}/wine64-preloader
%{_libdir}/wine/x86_64-unix
%exclude %{_libdir}/wine/x86_64-unix/*.a
%{_libdir}/wine/x86_64-windows
%exclude %{_libdir}/wine/x86_64-windows/*.a
%endif
%endif
%ifarch x86_64
%if !%{wow64_build}
%dir /usr/lib/wine/
%dir /usr/lib/wine/i386-windows
%dir /usr/lib/wine/i386-unix
%{_libdir}/wine/i386-unix
%{_libdir}/wine/i386-windows
%else
%dir %{_libdir}/wine/i386-windows
%exclude %{_libdir}/wine/i386-windows/*.a
%endif
%dir %{_libdir}/wine/x86_64-windows
%dir %{_libdir}/wine/x86_64-unix
%dir %{_libdir}/wine
%else
%dir %{_libdir}/wine
%dir %{_libdir}/wine/*-windows
%dir %{_libdir}/wine/*-unix
%endif
%{_libdir}/wine/*-windows/*.[b-z]*
%{_libdir}/wine/*-windows/*.ax
%{_libdir}/wine/*-windows/*.acm
#ifarch aarch64
#{_libdir}/wine/*-windows/st*
#endif
%{_libdir}/wine/*-unix/*.so*
%files devel
%defattr(-,root,root)
%{_includedir}/wine
%{_bindir}/widl
%{_bindir}/winebuild
@ -377,35 +560,34 @@ chmod 755 %winedir/my-find-requires.sh
%{_bindir}/winemaker
%{_bindir}/wmc
%{_bindir}/wrc
%{_mandir}/man?/winemaker.?%{?ext_man}
%{_mandir}/man?/widl.?%{?ext_man}
%{_mandir}/man?/winedump.?%{?ext_man}
%{_mandir}/man?/wineg++.?%{?ext_man}
%{_mandir}/man?/winegcc.?%{?ext_man}
%{_mandir}/man?/wmc.?%{?ext_man}
%{_mandir}/man?/wrc.?%{?ext_man}
%ifarch aarch64
%if !%{wow64}
%{_libdir}/wine/aarch64-windows/*.a
%endif
%if %{wow64}
%{_libdir}/wine/i386-windows/*.a
%{_libdir}/wine/x86_64-windows/*.a
%endif
%endif
%ifarch %{ix86}
%{_libdir}/wine/i386-unix/*.a
%if 0%{?suse_version} >= 1600
%{_libdir}/wine/i386-windows/*.a
%endif
%endif
%ifnarch aarch64
%ifarch x86_64
%if %{wow64}
%{_libdir}/wine/i386-windows/*.a
%{_libdir}/wine/x86_64-windows/*.a
%if 0%{?suse_version} < 1600
%{_libdir}/wine/*-unix/*.a
%endif
%else
%{_libdir}/wine/x86_64-windows/*.a
%{_libdir}/wine/*-unix/*.a
%endif
%endif
%if 0%{?suse_version} >= 1550
%ifarch %{ix86} x86_64
%ifarch x86_64
%dir %{_libdir}/wine/x86_64-windows
%dir %{_libdir}/wine/x86_64-unix
%endif
# only generated with mingw
%{_libdir}/wine/*-windows/*.a
%endif
%endif
%doc %{_mandir}/man1/winemaker.1*
%doc %{_mandir}/*/man1/winemaker.1*
%doc %{_mandir}/man1/widl.1*
%doc %{_mandir}/man1/winedump.1*
%doc %{_mandir}/man1/wineg++.1*
%doc %{_mandir}/man1/winegcc.1*
%doc %{_mandir}/man1/wmc.1*
%doc %{_mandir}/man1/wrc.1*
# {_datadir}/aclocal/wine.m4
%changelog

9293
wisotool Normal file

File diff suppressed because it is too large Load Diff