# compiling the preloader fails with hardening enabled %undefine _hardened_build #%%global _smp_mflags -j1 # https://fedoraproject.org/wiki/Toolchain/PortingToModernC # https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#controlling-type-safety #%%global build_type_safety_c 0 # https://src.fedoraproject.org/rpms/redhat-rpm-config//blob/rawhide/f/buildflags.md %undefine _include_frame_pointers %global no64bit 0 %global winegecko 2.47.4 %global winemono 10.1.0 %if 0%{?fedora} %global opencl 1 %endif %global vkd3d 1.16 # for robocopy patch %global _default_patch_fuzz 2 %global wine32pedir i386-windows %global winepedir x86_64-windows %global winesodir x86_64-unix %ifarch aarch64 %global winepedir aarch64-windows %global winesodir aarch64-unix %global __brp_llvm_compile_lto_elf %nil %global __brp_strip_lto %nil %global __brp_strip_static_archive %nil %endif # build with wine-staging patches, see: https://github.com/wine-staging/wine-staging %if 0%{?fedora} || 0%{?rhel} %global wine_staging 1 %endif # 0%%{?fedora} # build with wine-tkg patches on top of wine-staging %if 0%{?fedora} %global wine_tkg 1 %global wow64 1 %global ntsync 1 %global tkg_use_tag 0 # taken from git tag or https://github.com/Frogging-Family/wine-tkg-git/tags # or from https://github.com/Frogging-Family/wine-tkg-git/blob/master/wine-tkg-git/PKGBUILD %global tkg_version 7.x+ %endif # 0%%{?fedora} Name: wine Version: 10.10 Release: 201%{?wine_tkg:.wine_tkg}%{?wow64:.wow64}%{?ntsync:.ntsync}%{?dist} Summary: A compatibility layer for windows applications (wine_tkg) License: LGPLv2+ URL: https://www.winehq.org/ # wine-tkg-git master or the tag which aligns with the wine version # git clone https://github.com/Frogging-Family/wine-tkg-git.git # update repo with: git pull # tar -cvzf wine-tkg-git.tar.gz wine-tkg-git/ %if 0%{?tkg_use_tag} Source0: wine-tkg-git-%{tkg_version}.tar.gz %else Source0: wine-tkg-git.tar.gz %endif # wine-git master # git clone --mirror https://gitlab.winehq.org/wine/wine.git wine-git # update repo with: git remote update # tar -cvzf wine-git.tar.gz wine-git/ Source20: wine-git.tar.gz # wine-staging-git master # git clone --mirror https://gitlab.winehq.org/wine/wine-staging.git wine-staging-git # update repo with: git remote update # tar -cvzf wine-staging-git.tar.gz wine-staging-git/ Source21: wine-staging-git.tar.gz # wine_tkg customization.cfg prepared for this version Source22: customization.cfg-%{version} Source1: wine.systemd Source2: wine-README-Fedora Source3: wine-32.conf Source4: wine-64.conf Source5: wow64.conf # desktop files Source100: wine-notepad.desktop Source101: wine-regedit.desktop Source102: wine-uninstaller.desktop Source103: wine-winecfg.desktop Source104: wine-winefile.desktop Source105: wine-winemine.desktop Source106: wine-winhelp.desktop Source107: wine-wineboot.desktop Source108: wine-wordpad.desktop Source109: wine-oleview.desktop # AppData files Source150: wine.appdata.xml # desktop dir Source200: wine.menu Source201: wine.directory # mime types Source300: wine-mime-msi.desktop # smooth tahoma (#693180) # disable embedded bitmaps Source501: wine-tahoma.conf # and provide a readme Source502: wine-README-tahoma # patches to apply to wine-tkg #Source800: wine-tkg-koji.patch #Source900: wine-staging-9.0.patch # Autoconf 2.72 support - https://bugzilla.redhat.com/show_bug.cgi?id=2143724 Patch100: wine-7.22-autoconf-2.72.patch Patch511: wine-cjk.patch # upstream patches and MRs Patch990: robocopy_V6.1.patch # end upstream/MR patches BuildRequires: bison BuildRequires: flex %if 0%{?wine_tkg} BuildRequires: git BuildRequires: vim-minimal %endif %ifarch aarch64 BuildRequires: clang >= 5.0 BuildRequires: lld %else BuildRequires: gcc %endif BuildRequires: autoconf automake libtool BuildRequires: make BuildRequires: desktop-file-utils BuildRequires: alsa-lib-devel BuildRequires: audiofile-devel #PL BuildRequires: bluez-libs-devel #PL BuildRequires: ffmpeg-free-devel BuildRequires: freeglut-devel BuildRequires: libieee1284-devel BuildRequires: libgcrypt-devel BuildRequires: librsvg2 BuildRequires: librsvg2-devel BuildRequires: libstdc++-devel #PL BuildRequires: libunwind-devel BuildRequires: pkgconfig(libusb-1.0) %if 0%{?opencl} BuildRequires: ocl-icd-devel BuildRequires: opencl-headers %endif # disable ldap support #BuildRequires: openldap-devel BuildRequires: pcsc-lite-devel BuildRequires: perl-generators BuildRequires: unixODBC-devel BuildRequires: sane-backends-devel BuildRequires: systemd-devel BuildRequires: fontforge freetype-devel BuildRequires: libgphoto2-devel BuildRequires: libpcap-devel # modular x BuildRequires: libX11-devel BuildRequires: mesa-libGL-devel mesa-libGLU-devel #%%if 0%%{?fedora} >= 43 || 0%%{?rhel} >= 11 #BuildRequires: mesa-compat-libOSMesa-devel #%%else #BuildRequires: mesa-libOSMesa-devel #%%endif BuildRequires: libXxf86dga-devel libXxf86vm-devel BuildRequires: libXrandr-devel libXrender-devel BuildRequires: libXext-devel BuildRequires: libXinerama-devel BuildRequires: libXcomposite-devel #PL BuildRequires: libXfixes-devel #PL BuildRequires: libxkbcommon-devel #PL BuildRequires: libglvnd-devel BuildRequires: libXpresent-devel BuildRequires: fontconfig-devel BuildRequires: giflib-devel BuildRequires: cups-devel BuildRequires: libXmu-devel BuildRequires: libXi-devel BuildRequires: libXcursor-devel BuildRequires: dbus-devel BuildRequires: gnutls-devel BuildRequires: pulseaudio-libs-devel BuildRequires: gsm-devel BuildRequires: libv4l-devel BuildRequires: fontpackages-devel BuildRequires: gettext-devel BuildRequires: chrpath BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-plugins-base-devel %if 0%{?fedora} || 0%{?rhel} >= 9 BuildRequires: mpg123-devel %endif BuildRequires: SDL2-devel BuildRequires: spirv-headers-devel BuildRequires: vulkan-devel #PL BuildRequires: wayland-devel #BuildRequires: libFAudio-devel BuildRequires: libappstream-glib # Silverlight DRM-stuff needs XATTR enabled. %if 0%{?wine_staging} BuildRequires: gtk3-devel BuildRequires: libattr-devel BuildRequires: libva-devel %endif # 0%%{?wine_staging} BuildRequires: icoutils %ifarch x86_64 BuildRequires: mingw64-FAudio BuildRequires: mingw64-gcc BuildRequires: mingw64-libgcrypt BuildRequires: mingw64-lcms2 BuildRequires: mingw64-libpng BuildRequires: mingw64-libtiff BuildRequires: mingw64-libxml2 BuildRequires: mingw64-libxslt BuildRequires: mingw64-spirv-headers BuildRequires: mingw64-spirv-tools BuildRequires: mingw64-vkd3d BuildRequires: mingw64-vulkan-headers BuildRequires: mingw64-vulkan-tools BuildRequires: mingw64-zlib BuildRequires: mingw32-FAudio BuildRequires: mingw32-gcc BuildRequires: mingw32-libgcrypt BuildRequires: mingw32-lcms2 BuildRequires: mingw32-libpng BuildRequires: mingw32-libtiff BuildRequires: mingw32-libxml2 BuildRequires: mingw32-libxslt BuildRequires: mingw32-spirv-headers BuildRequires: mingw32-spirv-tools BuildRequires: mingw32-vkd3d BuildRequires: mingw32-vulkan-headers BuildRequires: mingw32-vulkan-tools BuildRequires: mingw32-zlib %endif Requires: wine-common = %{version}-%{release} Requires: wine-desktop = %{version}-%{release} Requires: wine-fonts = %{version}-%{release} # x86-64 parts %ifarch x86_64 Requires: wine-core(x86-64) = %{version}-%{release} #Requires: wine-cms(x86-64) = %%{version}-%%{release} #Requires: wine-ldap(x86-64) = %%{version}-%%{release} #Requires: wine-twain(x86-64) = %%{version}-%%{release} #Requires: wine-pulseaudio(x86-64) = %%{version}-%%{release} #Requires: wine-opencl(x86-64) = %%{version}-%%{release} Requires: mingw64-wine-gecko >= %winegecko Requires: wine-mono = %winemono Requires: mesa-dri-drivers(x86-64) ##Recommends: wine-dxvk(x86-64) #Requires: wine-dxvk(x86-64) ##Requires: libvkd3d(x86-64) ##Recommends: dosbox-staging Requires: mesa-dri-drivers(x86-64) Recommends: gstreamer1-plugins-good(x86-64) %endif %description Wine as a compatibility layer for UNIX to run Windows applications. This package includes a program loader, which allows unmodified Windows 3.x/9x/NT binaries to run on x86 and x86_64 Unixes. Wine can use native system .dll files if they are available. In Fedora wine is a meta-package which will install everything needed for wine to work smoothly. Smaller setups can be achieved by installing some of the wine-* sub packages. %package core Summary: Wine core package Requires(postun): /sbin/ldconfig Requires(posttrans): %{_sbindir}/alternatives Requires(preun): %{_sbindir}/alternatives # require -filesystem Requires: wine-filesystem = %{version}-%{release} %ifarch x86_64 #Requires: (wine-wow64 = %%{version}-%%{release} if wine-core(x86-32)) # CUPS support uses dlopen - rhbz#1367537 Requires: cups-libs(x86-64) Requires: freetype(x86-64) Requires: (nss-mdns(x86-64) if nss-mdns(x86-32)) Requires: gnutls(x86-64) Requires: libXcomposite(x86-64) Requires: libXcursor(x86-64) Requires: libXinerama(x86-64) Requires: libXpresent(x86-64) Requires: libXrandr(x86-64) Requires: libXrender(x86-64) Requires: libgcrypt(x86-64) #dlopen in windowscodesc (fixes rhbz#1085075) Requires: libpng(x86-64) Requires: libpcap(x86-64) %if 0%{?fedora} >= 43 || 0%{?rhel} >= 11 Requires: mesa-compat-libOSMesa(x86-64) %else Requires: mesa-libOSMesa(x86-64) %endif Requires: libv4l(x86-64) Requires: unixODBC(x86-64) Requires: SDL2(x86-64) Requires: vulkan-loader(x86-64) %if 0%{?wine_staging} Requires: libva(x86-64) %endif Requires: mingw64-FAudio Requires: mingw64-lcms2 Requires: mingw64-libjpeg-turbo Requires: mingw64-libpng Requires: mingw64-libtiff Requires: mingw64-libxml2 Requires: mingw64-libxslt Requires: mingw64-vkd3d >= %{vkd3d} Requires: mingw64-win-iconv Requires: mingw64-zlib %endif %ifarch aarch64 # CUPS support uses dlopen - rhbz#1367537 Requires: cups-libs Requires: freetype Requires: nss-mdns Requires: gnutls Requires: libXrender Requires: libXcursor #dlopen in windowscodesc (fixes rhbz#1085075) Requires: libpng Requires: libpcap %if 0%{?fedora} >= 43 || 0%{?rhel} >= 11 Requires: mesa-compat-libOSMesa %else Requires: mesa-libOSMesa %endif Requires: libv4l Requires: unixODBC Requires: SDL2 Requires: vulkan-loader %if 0%{?wine_staging} Requires: libva %endif %endif Provides: bundled(libjpeg) = 9e Provides: bundled(mpg123-libs) = 1.29.3 ## removed as of 7.21 Obsoletes: wine-openal < 7.21 Provides: wine-openal = %{version}-%{release} %description core Wine core package includes the basic wine stuff needed by all other packages. %package systemd Summary: Systemd config for the wine binfmt handler Requires: systemd >= 23 BuildArch: noarch Requires(post): systemd Requires(postun): systemd Obsoletes: wine-sysvinit < %{version}-%{release} %description systemd Register the wine binary handler for windows executables via systemd binfmt handling. See man binfmt.d for further information. %package filesystem Summary: Filesystem directories for wine BuildArch: noarch %description filesystem Filesystem directories and basic configuration for wine. %package common Summary: Common files Requires: wine-core = %{version}-%{release} BuildArch: noarch %description common Common wine files and scripts. %package desktop Summary: Desktop integration features for wine Requires(post): desktop-file-utils >= 0.8 Requires(postun): desktop-file-utils >= 0.8 Requires: wine-core = %{version}-%{release} Requires: wine-common = %{version}-%{release} Requires: wine-systemd = %{version}-%{release} Requires: hicolor-icon-theme BuildArch: noarch %description desktop Desktop integration features for wine, including mime-types and a binary format handler service. %package fonts Summary: Wine font files BuildArch: noarch # arial-fonts are available with wine-staging patchset, only. %if 0%{?wine_staging} Requires: wine-arial-fonts = %{version}-%{release} %else # 0%%{?wine_staging} Obsoletes: wine-arial-fonts <= %{version}-%{release} %endif # 0%%{?wine_staging} Requires: wine-courier-fonts = %{version}-%{release} Requires: wine-fixedsys-fonts = %{version}-%{release} Requires: wine-small-fonts = %{version}-%{release} Requires: wine-system-fonts = %{version}-%{release} Requires: wine-marlett-fonts = %{version}-%{release} Requires: wine-ms-sans-serif-fonts = %{version}-%{release} Requires: wine-tahoma-fonts = %{version}-%{release} # times-new-roman-fonts are available with wine_staging-patchset, only. %if 0%{?wine_staging} Requires: wine-times-new-roman-fonts = %{version}-%{release} %else # 0%%{?wine_staging} Obsoletes: wine-times-new-roman-fonts <= %{version}-%{release} Obsoletes: wine-times-new-roman-fonts-system <= %{version}-%{release} %endif # 0%%{?wine_staging} Requires: wine-symbol-fonts = %{version}-%{release} Requires: wine-webdings-fonts = %{version}-%{release} Requires: wine-wingdings-fonts = %{version}-%{release} # intermediate fix for #593140 Requires: liberation-sans-fonts liberation-serif-fonts liberation-mono-fonts Requires: liberation-narrow-fonts %description fonts %{summary} %if 0%{?wine_staging} %package arial-fonts Summary: Wine Arial font family BuildArch: noarch Requires: fontpackages-filesystem %description arial-fonts %{summary} %endif # 0%%{?wine_staging} %package courier-fonts Summary: Wine Courier font family BuildArch: noarch Requires: fontpackages-filesystem %description courier-fonts %{summary} %package fixedsys-fonts Summary: Wine Fixedsys font family BuildArch: noarch Requires: fontpackages-filesystem %description fixedsys-fonts %{summary} %package small-fonts Summary: Wine Small font family BuildArch: noarch Requires: fontpackages-filesystem %description small-fonts %{summary} %package system-fonts Summary: Wine System font family BuildArch: noarch Requires: fontpackages-filesystem %description system-fonts %{summary} %package marlett-fonts Summary: Wine Marlett font family BuildArch: noarch Requires: fontpackages-filesystem %description marlett-fonts %{summary} %package ms-sans-serif-fonts Summary: Wine MS Sans Serif font family BuildArch: noarch Requires: fontpackages-filesystem %description ms-sans-serif-fonts %{summary} # rhbz#693180 # http://lists.fedoraproject.org/pipermail/devel/2012-June/168153.html %package tahoma-fonts Summary: Wine Tahoma font family BuildArch: noarch Requires: wine-filesystem = %{version}-%{release} %description tahoma-fonts %{summary} Please note: If you want system integration for wine tahoma fonts install the wine-tahoma-fonts-system package. %package tahoma-fonts-system Summary: Wine Tahoma font family system integration BuildArch: noarch Requires: fontpackages-filesystem Requires: wine-tahoma-fonts = %{version}-%{release} %description tahoma-fonts-system %{summary} %if 0%{?wine_staging} %package times-new-roman-fonts Summary: Wine Times New Roman font family BuildArch: noarch Requires: wine-filesystem = %{version}-%{release} %description times-new-roman-fonts %{summary} Please note: If you want system integration for wine times new roman fonts install the wine-times-new-roman-fonts-system package. %package times-new-roman-fonts-system Summary: Wine Times New Roman font family system integration BuildArch: noarch Requires: fontpackages-filesystem Requires: wine-times-new-roman-fonts = %{version}-%{release} %description times-new-roman-fonts-system %{summary} %endif %package symbol-fonts Summary: Wine Symbol font family BuildArch: noarch Requires: fontpackages-filesystem %description symbol-fonts %{summary} %package webdings-fonts Summary: Wine Webdings font family BuildArch: noarch Requires: fontpackages-filesystem %description webdings-fonts %{summary} %package wingdings-fonts Summary: Wine Wingdings font family BuildArch: noarch Requires: fontpackages-filesystem %description wingdings-fonts %{summary} Please note: If you want system integration for wine wingdings fonts install the wine-wingdings-fonts-system package. %package wingdings-fonts-system Summary: Wine Wingdings font family system integration BuildArch: noarch Requires: fontpackages-filesystem Requires: wine-wingdings-fonts = %{version}-%{release} %description wingdings-fonts-system %{summary} #%%package ldap #Summary: LDAP support for wine #Requires: wine-core = %%{version}-%%{release} #%%description ldap #LDAP support for wine #%%package cms #Summary: Color Management for wine #Requires: wine-core = %%{version}-%%{release} #%%description cms #Color Management for wine #%%package twain #Summary: Twain support for wine #Requires: wine-core = %%{version}-%%{release} #Requires: sane-backends-libs(x86-64) #%%ifarch aarch64 #Requires: sane-backends-libs #%%endif #%%description twain #Twain support for wine %package devel Summary: Wine development environment Requires: wine-core = %{version}-%{release} %description devel Header, include files and library definition files for developing applications with the Wine Windows(TM) emulation libraries. #%%package pulseaudio #Summary: Pulseaudio support for wine #Requires: wine-core = %%{version}-%%{release} ## midi output #%%Requires: wine-alsa%%{?_isa} = %%{version}-%%{release} #%%description pulseaudio #This package adds a pulseaudio driver for wine. #%%package alsa #Summary: Alsa support for wine #Requires: wine-core = %%{version}-%%{release} #%%description alsa #This package adds an alsa driver for wine. #%%if 0%%{?opencl} #%%package opencl #Summary: OpenCL support for wine #Requires: wine-core = %%{version}-%%{release} #%%description opencl #This package adds the opencl driver for wine. #%%endif %prep # wine_tkg build setup %if 0%{?wine_tkg} %setup -n wine-tkg-git # set git info for next step git config --global user.email "patrick@laimbock.com" git config --global user.name "Patrick Laimbock" # prevent git errors git config --global --add safe.directory . git config --global --add safe.directory /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/wine-git git config --global --add safe.directory /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/wine-staging-git git config --global --add safe.directory /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/src/wine-git git config --global --add safe.directory /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/src/wine-staging-git # koji patches #cp -v %%{SOURCE800} . #patch -p1 < ./wine-tkg-koji.patch # this patch is applied to wine-staging in the prepare.sh script #cp -v %%{SOURCE900} . # it basically does this: # https://bugs.winehq.org/show_bug.cgi?id=54868 #sed -i 's/DWORD pitch_in, DWORD pitch_out/unsigned int pitch_in, unsigned int pitch_out/' patches/wined3d-WINED3DFMT_B8G8R8X8_UNORM/0001-wined3d-Implement-WINED3DFMT_B8G8R8X8_UNORM-to-WINED.patch # Fix pointer types for i686 build - applies to patches/... #%%patch -P 900 -p0 -b.staging mkdir -p wine-tkg-git/src pushd wine-tkg-git # unpack wine git src tar -xzf %{SOURCE20} # unpack wine-staging git src tar -xzf %{SOURCE21} cd src # in src create a worktree from the wine-git mirror #git clone /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/wine-git git clone ../wine-git #git clone /builddir/build/BUILD/wine-tkg-git/wine-tkg-git/wine-staging-git git clone ../wine-staging-git cd .. mv customization.cfg customization.cfg.org cp %{SOURCE22} customization.cfg # prevent configure from running after prepare.sh sed -i -e's|\./configure|echo DISABLED ./configure|g' non-makepkg-build.sh # don't build sed -i -e's|_build|echo DISABLED _build|' non-makepkg-build.sh # fix mangled _ci_build from previous sed #sed -i -e's|_ciecho DISABLED |_ci|' non-makepkg-build.sh # don't install sed -i -e's|_package_nomakepkg|echo DISABLED _package_nomakepkg|' non-makepkg-build.sh # show the filename of the patch being applied sed -i -e's|_patchmsg="|_patchmsg="${_patchname} - |g' wine-tkg-scripts/prepare.sh # commit after each patch is applied so we exactly know what it's doing sed -i -e's|nonuser_patcher|nonuser_patcher \&\& git commit -a -m"\${_patchmsg}"|g' wine-tkg-scripts/prepare.sh # run non-makepkg-build.sh which applies all patches yes | ./non-makepkg-build.sh popd # upstream/MR patches pushd wine-tkg-git/src/wine-git %patch -P 990 -p1 # end upstream/MR patches # git commit echo "wine-tkg: commit wine-tkg changes by prepare.sh and extra patches" git add . && git commit -a -m "Commit wine-tkg changes by prepare.sh and extra patches" popd # link the wine-tkg patched src to the root dir for easier access ln -s wine-tkg-git/src/wine-git wine-tkg-src %endif # 0%%{?wine_tkg} %build # This package uses top level ASM constructs which are incompatible with LTO. # Top level ASMs are often used to implement symbol versioning. gcc-10 # introduces a new mechanism for symbol versioning which works with LTO. # Converting packages to use that mechanism instead of toplevel ASMs is # recommended. # Disable LTO %define _lto_cflags %{nil} # disable fortify as it breaks wine # http://bugs.winehq.org/show_bug.cgi?id=24606 # http://bugs.winehq.org/show_bug.cgi?id=25073 %undefine _fortify_level # Disable Red Hat specs for package notes (Fedora 38+) and annobin. # MinGW GCC does not support these options. export LDFLAGS="$(echo "%{build_ldflags}" | sed -e 's/-Wl,-z,relro//' -e 's/-Wl,--build-id=sha1//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-package-notes//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//')" %ifarch x86_64 export CFLAGS="$(echo "%{optflags}" | sed -e 's/-O2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//') -O2" %else export CFLAGS="$(echo "%{optflags}" | sed -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//')" %endif # add flags here or in the make_build command below export CFLAGS="$(echo "$CFLAGS" -pipe -msse3 -mfpmath=sse -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -ftree-vectorize)" #export CFLAGS="$(echo "$CFLAGS" -pipe -msse3 -mfpmath=sse -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -ftree-vectorize -std=gnu17)" echo "===============================================================" echo "CFLAGS: $CFLAGS" echo "===============================================================" %ifarch aarch64 %global toolchain clang %endif # required so that both Linux and Windows development files can be found unset PKG_CONFIG_PATH #%%if 0%%{?wine_tkg} echo "" echo "===================================================" echo "Building wine-tkg wine64 for WoW64" echo "===================================================" echo "" echo "Create wine64-build dir for WoW64" mkdir wine64-build pushd wine64-build ../wine-tkg-src/configure \ --prefix=/usr \ --libdir=/usr/lib \ --sysconfdir=%{_sysconfdir}/wine \ --x-includes=%{_includedir} \ --x-libraries=%{_libdir} \ --with-dbus \ --with-x \ --with-wayland \ --with-gstreamer \ --with-ffmpeg \ --with-freetype \ --enable-tools \ --enable-widl \ --disable-tests \ --without-capi \ --without-cups \ --without-gphoto \ --without-netapi \ --without-oss \ --without-pcap \ --without-sane \ --without-v4l2 \ --without-xinerama \ --without-xxf86vm \ --disable-win16 \ --enable-archs=x86_64,i386 # --with-system-dllpath=%%{mingw64_bindir} \ %make_build TARGETFLAGS="" %{_arch}_CFLAGS="-g -O2 -pipe -msse3 -mfpmath=sse -Wno-error=incompatible-pointer-types -Wno-incompatible-pointer-types -ftree-vectorize" popd %install echo "" echo "===================================================" echo "Installing wine-tkg" echo "===================================================" echo "" # do not change this to make_install pushd wine64-build %make_install \ LDCONFIG=/bin/true \ UPDATE_DESKTOP_DATABASE=/bin/true popd ## setup new wow64 #%%ifarch x86_64 #ln -sf /usr/lib/wine/i386-unix %%{buildroot}%%{_libdir}/wine/i386-unix #ln -sf /usr/lib/wine/i386-windows %%{buildroot}%%{_libdir}/wine/i386-windows #%%endif mkdir -p %{buildroot}%{_sysconfdir}/wine # Allow users to launch Windows programs by just clicking on the .exe file mkdir -p %{buildroot}%{_binfmtdir} install -p -c -m 644 %{SOURCE1} %{buildroot}%{_binfmtdir}/wine.conf # add wine dir to desktop mkdir -p %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged install -p -m 644 %{SOURCE200} \ %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/wine.menu mkdir -p %{buildroot}%{_datadir}/desktop-directories install -p -m 644 %{SOURCE201} \ %{buildroot}%{_datadir}/desktop-directories/Wine.directory # add gecko dir mkdir -p %{buildroot}%{_datadir}/wine/gecko # add mono dir mkdir -p %{buildroot}%{_datadir}/wine/mono # extract and install icons mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps # this replacement masks a composite program icon .SVG down # so that only its full-size scalable icon is visible PROGRAM_ICONFIX='s/height="272"/height="256"/;'\ 's/width="632"/width="256"\n'\ ' x="368"\n'\ ' y="8"\n'\ ' viewBox="368, 8, 256, 256"/;' MAIN_ICONFIX='s/height="272"/height="256"/;'\ 's/width="632"/width="256"\n'\ ' x="8"\n'\ ' y="8"\n'\ ' viewBox="8, 8, 256, 256"/;' # this icon file is still in the legacy format %if 0%{?wine_tkg} pushd wine-tkg-src %endif install -p -m 644 dlls/user32/resources/oic_winlogo.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wine.svg sed -i -e "$MAIN_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wine.svg # the rest come from programs/, and contain larger scalable icons # with a new layout that requires the PROGRAM_ICONFIX sed adjustment install -p -m 644 programs/notepad/notepad.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/notepad.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/notepad.svg install -p -m 644 programs/regedit/regedit.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/regedit.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/regedit.svg install -p -m 644 programs/msiexec/msiexec.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/msiexec.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/msiexec.svg install -p -m 644 programs/winecfg/winecfg.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winecfg.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winecfg.svg install -p -m 644 programs/winefile/winefile.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winefile.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winefile.svg install -p -m 644 programs/winemine/winemine.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winemine.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winemine.svg install -p -m 644 programs/winhlp32/winhelp.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winhelp.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/winhelp.svg install -p -m 644 programs/wordpad/wordpad.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wordpad.svg sed -i -e "$PROGRAM_ICONFIX" %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wordpad.svg %if 0%{?wine_tkg} popd %endif # install desktop files desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE100} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE101} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE102} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE103} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE104} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE105} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE106} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE107} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE108} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE109} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ --delete-original \ %{buildroot}%{_datadir}/applications/wine.desktop #mime-types desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE300} %if 0%{?wine_tkg} pushd wine-tkg-src %endif cp -p %{SOURCE2} README-FEDORA cp -p %{SOURCE502} README-tahoma %if 0%{?wine_tkg} popd %endif mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ #%%ifarch %{ix86} #install -p -m644 %%{SOURCE3} %%{buildroot}%%{_sysconfdir}/ld.so.conf.d/ #%%endif #%%ifarch x86_64 aarch64 #install -p -m644 %%{SOURCE4} %%{buildroot}%%{_sysconfdir}/ld.so.conf.d/ #%%endif %if 0%{?wow64} # install wow64.conf to /etc/ld.co.conf.d/ install -p -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/ld.so.conf.d/ %else # install wine-64.conf to /etc/ld.co.conf.d/ install -p -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/ld.so.conf.d/ %endif # install Tahoma font for system package install -p -m 0755 -d %{buildroot}/%{_datadir}/fonts/wine-tahoma-fonts pushd %{buildroot}/%{_datadir}/fonts/wine-tahoma-fonts ln -s ../../wine/fonts/tahoma.ttf tahoma.ttf ln -s ../../wine/fonts/tahomabd.ttf tahomabd.ttf popd # add config and readme for tahoma install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -p -m 0644 %{SOURCE501} %{buildroot}%{_fontconfig_templatedir}/20-wine-tahoma-nobitmaps.conf ln -s %{_fontconfig_templatedir}/20-wine-tahoma-nobitmaps.conf \ %{buildroot}%{_fontconfig_confdir}/20-wine-tahoma-nobitmaps.conf %if 0%{?wine_staging} # install Times New Roman font for system package install -p -m 0755 -d %{buildroot}/%{_datadir}/fonts/wine-times-new-roman-fonts pushd %{buildroot}/%{_datadir}/fonts/wine-times-new-roman-fonts ln -s ../../wine/fonts/times.ttf times.ttf popd %endif # install Wingdings font for system package install -p -m 0755 -d %{buildroot}/%{_datadir}/fonts/wine-wingdings-fonts pushd %{buildroot}/%{_datadir}/fonts/wine-wingdings-fonts ln -s ../../wine/fonts/wingding.ttf wingding.ttf popd # clean readme files %if 0%{?wine_tkg} pushd wine-tkg-src/documentation %else pushd documentation %endif for lang in de es fi fr hu it ja ko nl no pt_br pt ru sv tr uk zh_cn; do iconv -f iso8859-1 -t utf-8 README-$lang.md > \ README-$lang.md.conv && mv -f README-$lang.md.conv README-$lang.md done; popd rm -f %{buildroot}%{_initrddir}/wine # install and validate AppData file mkdir -p %{buildroot}/%{_metainfodir}/ install -p -m 0644 %{SOURCE150} %{buildroot}/%{_metainfodir}/%{name}.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appdata.xml ## install widl #%%if 0%%{?wine_tkg} #pushd wine-tkg-src/tools/widl #%%else #pushd tools/widl #%%endif #%%make_install #popd %if 0%{?ntsync} # load the ntsync kernel module echo "ntsync" | install -Dm644 /dev/stdin "%{buildroot}/usr/lib/modules-load.d/ntsync.conf" %endif %post systemd %binfmt_apply wine.conf %postun systemd #uninstall if [ $1 -eq 0 ]; then /bin/systemctl try-restart systemd-binfmt.service fi %ldconfig_post core %postun core %{?ldconfig} #%%ldconfig_scriptlets ldap #%%ldconfig_scriptlets cms #%%ldconfig_scriptlets twain #%%ldconfig_scriptlets alsa %files # meta package %files core %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %license %{?wine_tkg:wine-tkg-src/}LICENSE %license %{?wine_tkg:wine-tkg-src/}LICENSE.OLD %doc %{?wine_tkg:wine-tkg-src/}AUTHORS %doc %{?wine_tkg:wine-tkg-src/}README-FEDORA #%%doc %%{?wine_tkg:wine-tkg-src/}README %doc %{?wine_tkg:wine-tkg-src/}VERSION # do not include huge changelogs .OLD .ALPHA .BETA (#204302) %doc %{?wine_tkg:wine-tkg-src/}documentation/README-* # drwxr-xr-x. 2 mockbuild mock 36864 Jun 13 13:40 i386-windows # drwxr-xr-x. 2 mockbuild mock 12288 Jun 13 13:40 x86_64-unix #drwxr-xr-x. 2 mockbuild mock 36864 Jun 13 13:40 x86_64-windows %{_bindir}/msidb %{_bindir}/wine %{_bindir}/winedump %{_bindir}/wineserver %if 0%{?wow64} %config %{_sysconfdir}/ld.so.conf.d/wow64.conf %else %config %{_sysconfdir}/ld.so.conf.d/wine-64.conf %endif %if 0%{?ntsync} %config %{_modulesloaddir}/ntsync.conf %endif %{_mandir}/man1/wine.1* %{_mandir}/man1/wineserver.1* %lang(de) %{_mandir}/de.UTF-8/man1/wine.1* %lang(de) %{_mandir}/de.UTF-8/man1/wineserver.1* %lang(fr) %{_mandir}/fr.UTF-8/man1/wine.1* %lang(fr) %{_mandir}/fr.UTF-8/man1/wineserver.1* %lang(pl) %{_mandir}/pl.UTF-8/man1/wine.1* #%%dir %%{_libdir}/wine %dir /usr/lib/wine # /usr/lib/wine/x86_64-windows /usr/lib/wine/%{winepedir}/*.acm /usr/lib/wine/%{winepedir}/*.ax /usr/lib/wine/%{winepedir}/*.com /usr/lib/wine/%{winepedir}/*.cpl /usr/lib/wine/%{winepedir}/*.dll /usr/lib/wine/%{winepedir}/*.drv #/usr/lib/wine/%%{winepedir}/*.ds /usr/lib/wine/%{winepedir}/*.exe /usr/lib/wine/%{winepedir}/*.msstyles /usr/lib/wine/%{winepedir}/*.ocx /usr/lib/wine/%{winepedir}/*.sys /usr/lib/wine/%{winepedir}/*.tlb # /usr/lib/wine/x86_64-unix /usr/lib/wine/%{winesodir}/wine /usr/lib/wine/%{winesodir}/wine-preloader /usr/lib/wine/%{winesodir}/*.so # /usr/lib/wine/i386-windows/ /usr/lib/wine/%{wine32pedir}/*.acm /usr/lib/wine/%{wine32pedir}/*.ax /usr/lib/wine/%{wine32pedir}/*.com /usr/lib/wine/%{wine32pedir}/*.cpl /usr/lib/wine/%{wine32pedir}/*.dll /usr/lib/wine/%{wine32pedir}/*.drv #/usr/lib/wine/%%{wine32pedir}/*.ds /usr/lib/wine/%{wine32pedir}/*.exe /usr/lib/wine/%{wine32pedir}/*.msstyles /usr/lib/wine/%{wine32pedir}/*.ocx /usr/lib/wine/%{wine32pedir}/*.sys /usr/lib/wine/%{wine32pedir}/*.tlb %files filesystem %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %dir %{_datadir}/wine %dir %{_datadir}/wine/gecko %dir %{_datadir}/wine/mono %dir %{_datadir}/wine/fonts %{_datadir}/wine/wine.inf %{_datadir}/wine/nls/ %files common %{_bindir}/msiexec %{_bindir}/notepad %{_bindir}/regedit %{_bindir}/regsvr32 %{_bindir}/wineboot %{_bindir}/winecfg %{_bindir}/wineconsole %{_bindir}/winedbg %{_bindir}/winefile %{_bindir}/winemaker %{_bindir}/winemine %{_bindir}/winepath %{_mandir}/man1/msiexec.1* %{_mandir}/man1/notepad.1* %{_mandir}/man1/regedit.1* %{_mandir}/man1/regsvr32.1* %{_mandir}/man1/wineboot.1* %{_mandir}/man1/winecfg.1* %{_mandir}/man1/wineconsole.1* %{_mandir}/man1/winefile.1* %{_mandir}/man1/winemine.1* %{_mandir}/man1/winepath.1* %files fonts # meta package %if 0%{?wine_staging} %files arial-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/arial* %endif #0%%{?wine_staging} %files courier-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/cou* %files fixedsys-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/*vgafix.fon %files system-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/cvgasys.fon %{_datadir}/wine/fonts/hvgasys.fon %{_datadir}/wine/fonts/jvgasys.fon %{_datadir}/wine/fonts/svgasys.fon %{_datadir}/wine/fonts/vgas1255.fon %{_datadir}/wine/fonts/vgas1256.fon %{_datadir}/wine/fonts/vgas1257.fon %{_datadir}/wine/fonts/vgas874.fon %{_datadir}/wine/fonts/vgasys.fon %{_datadir}/wine/fonts/vgasyse.fon %{_datadir}/wine/fonts/vgasysg.fon %{_datadir}/wine/fonts/vgasysr.fon %{_datadir}/wine/fonts/vgasyst.fon %files small-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/sma* %{_datadir}/wine/fonts/jsma* %files marlett-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/marlett.ttf %files ms-sans-serif-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/sse* %if 0%{?wine_staging} %{_datadir}/wine/fonts/msyh.ttf %endif %files tahoma-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/tahoma*ttf %files tahoma-fonts-system %doc %{?wine_tkg:wine-tkg-src/}README-tahoma %{_datadir}/fonts/wine-tahoma-fonts %{_fontconfig_confdir}/20-wine-tahoma*conf %{_fontconfig_templatedir}/20-wine-tahoma*conf %if 0%{?wine_staging} %files times-new-roman-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/times.ttf %files times-new-roman-fonts-system %{_datadir}/fonts/wine-times-new-roman-fonts %endif %files symbol-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/symbol.ttf %files webdings-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/webdings.ttf %files wingdings-fonts %license %{?wine_tkg:wine-tkg-src/}COPYING.LIB %{_datadir}/wine/fonts/wingding.ttf %files wingdings-fonts-system %{_datadir}/fonts/wine-wingdings-fonts %files desktop %{_datadir}/applications/wine-notepad.desktop %{_datadir}/applications/wine-winefile.desktop %{_datadir}/applications/wine-winemine.desktop %{_datadir}/applications/wine-mime-msi.desktop %{_datadir}/applications/wine.desktop %{_datadir}/applications/wine-regedit.desktop %{_datadir}/applications/wine-uninstaller.desktop %{_datadir}/applications/wine-winecfg.desktop %{_datadir}/applications/wine-wineboot.desktop %{_datadir}/applications/wine-winhelp.desktop %{_datadir}/applications/wine-wordpad.desktop %{_datadir}/applications/wine-oleview.desktop %{_datadir}/desktop-directories/Wine.directory %config %{_sysconfdir}/xdg/menus/applications-merged/wine.menu %{_metainfodir}/%{name}.appdata.xml %{_datadir}/icons/hicolor/scalable/apps/*svg %files systemd %config %{_binfmtdir}/wine.conf ## ldap subpackage #%%files ldap ##%%{_libdir}/wine/%%{winesodir}/wldap32.so #%%{_libdir}/wine/%%{winepedir}/wldap32.dll ## cms subpackage #%%files cms #%%{_libdir}/wine/%%{winepedir}/mscms.dll ## twain subpackage #%%files twain #%%{_libdir}/wine/%%{winepedir}/twain_32.dll #%%{_libdir}/wine/%%{winepedir}/sane.ds #%%{_libdir}/wine/%%{winesodir}/sane.so %files devel %{_bindir}/function_grep.pl %{_bindir}/widl %{_bindir}/winebuild %{_bindir}/winecpp %{_bindir}/winedump %{_bindir}/wineg++ %{_bindir}/winegcc %{_bindir}/winemaker %{_bindir}/wmc %{_bindir}/wrc %{_mandir}/man1/widl.1* %{_mandir}/man1/winebuild.1* %{_mandir}/man1/winecpp.1* %{_mandir}/man1/winedump.1* %{_mandir}/man1/winegcc.1* %{_mandir}/man1/winemaker.1* %{_mandir}/man1/wmc.1* %{_mandir}/man1/wrc.1* %{_mandir}/man1/winedbg.1* %{_mandir}/man1/wineg++.1* %lang(de) %{_mandir}/de.UTF-8/man1/winemaker.1* %lang(fr) %{_mandir}/fr.UTF-8/man1/winemaker.1* %attr(0755, root, root) %dir %{_includedir}/wine %{_includedir}/wine/* #%%{_libdir}/wine/%%{winepedir}/*.a #%%{_libdir}/wine/%%{winesodir}/*.a #%%{_libdir}/wine/%%{wine32pedir}/*.a /usr/lib/wine/%{winepedir}/*.a /usr/lib/wine/%{winesodir}/*.a /usr/lib/wine/%{wine32pedir}/*.a #%%files pulseaudio #%%{_libdir}/wine/%%{winepedir}/winepulse.drv #%%{_libdir}/wine/%%{winesodir}/winepulse.so #%%files alsa #%%{_libdir}/wine/%%{winepedir}/winealsa.drv #%%{_libdir}/wine/%%{winesodir}/winealsa.so #%%if 0%%{?opencl} #%%files opencl #%%{_libdir}/wine/%%{winepedir}/opencl.dll #%%{_libdir}/wine/%%{winesodir}/opencl.so #%%endif %changelog * Mon Jun 16 2025 Patrick Laimbock - 10.10-201 - build with ntsync enabled, disabled fsync & esync - enable loading of the ntsync module * Sat Jun 14 2025 Patrick Laimbock - 10.10-200 - update to version 10.10 - remove deprecated mesa-libOSMesa-devel BR - require wine-mono 10.1.0 * Thu Jun 12 2025 Patrick Laimbock - 10.9-200 - add logic for WoW64 build - based on https://gitlab.archlinux.org/archlinux/packaging/packages/wine/-/tree/main - disable win16 support - merge alsa subpackage into core - merge cms subpackage into core - merge opencl subpackage into core - merge pulseaudio subpackage into core - disable ldap subpackage - disable twain subpackage - build without capi - build without netapi - build without oss - build without sane * Thu Jun 12 2025 Patrick Laimbock - 10.9-101 - require wine-mono-10.0.0 instead of 10.1.0 * Tue Jun 10 2025 Patrick Laimbock - 10.9-100 - update to wine-10.9 - require wine-mono-10.1.0 - remove lingering %%{arm} occurences - sync with koji - add Wow64 packages - remove deprecated --with-xattr configure arg - disable -std=gnu17 - add -pipe -msse3 -mfpmath=sse flags - see https://github.com/Frogging-Family/wine-tkg-git/commit/c410844ab1551c6c118b14374e10e02eb731fe5e * Mon Apr 21 2025 Patrick Laimbock - 9.21-16 - require wine-mono-9.3.0 * Mon Apr 21 2025 Patrick Laimbock - 9.21-15 - do not require wine-dxvk * Sun Apr 20 2025 Patrick Laimbock - 9.21-14 - rebuild for F42 - build with -std=gnu17 because build fails with c23 on gcc-15.0.1 - see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117629 * Tue Dec 10 2024 Patrick Laimbock - 9.21-13 - back to requiring wine-mono-9.3.0 - add MR 6990 * Tue Dec 10 2024 Patrick Laimbock - 9.21-12 - add MR 6125 * Sat Nov 09 2024 Patrick Laimbock - 9.21-11 - require wine-mono >= 9.3.0 so installation of 9.4.0 works too - add MR 6914 * Sat Nov 09 2024 Patrick Laimbock - 9.21-10 - update to version 9.21 * Wed Oct 30 2024 Patrick Laimbock - 9.20-11 - rebuild for F41 - esync/fsync fixes * Sat Oct 19 2024 Patrick Laimbock - 9.20-10 - update to version 9.20 * Tue Oct 08 2024 Patrick Laimbock - 9.19-11 - add two upstream patches - silence symlink logic * Mon Oct 07 2024 Patrick Laimbock - 9.19-10 - update to version 9.19 * Tue Oct 01 2024 Patrick Laimbock - 9.18-10 - update to version 9.18 - require wine-mono 9.3.0 * Tue Oct 01 2024 Patrick Laimbock - 9.16-12 - fix x86 -> %%{ix86} - require vkd3d 1.13 - add %%undefine _include_frame_pointers * Mon Sep 30 2024 Patrick Laimbock - 9.16-11 - hopefully fix the missing symlinks after removing alternatives * Sat Aug 24 2024 Patrick Laimbock - 9.16-10 - update to version 9.16 * Sun Aug 11 2024 Patrick Laimbock - 9.15-0.4 - remove alternatives logic - symlink wine32 -> wine - symlink wine32-preloader -> wine-preloader - symlink wineserver64 -> wineserver - enable MR patches again * Sun Aug 11 2024 Patrick Laimbock - 9.15-0.3 - disable MR patches * Sun Aug 11 2024 Patrick Laimbock - 9.15-0.2 - update to version 9.15 * Sat Aug 10 2024 Patrick Laimbock - 9.15-0.1 - update to git rev 9c69ccf8ef2995548ef5fee9d0b68f68dec5dd62 * Thu Aug 01 2024 Patrick Laimbock - 9.14-0.2 - disable MR patches * Mon Jul 29 2024 Patrick Laimbock - 9.14-0.1 - update to version 9.14 * Thu Jul 18 2024 Patrick Laimbock - 9.13-0.1 - update to version 9.13 * Wed Jul 10 2024 Patrick Laimbock - 9.12-0.4 - apply robocopy_V6.1.patch directly to wine proper * Wed Jul 10 2024 Patrick Laimbock - 9.12-0.3 - use wint-tkg git rev fbba3830a9d55d4febd04abbbb45b5d475115da5 - add robocopy_V6.patch - remove wine-tkg-PR1213.patch (upstreamed) * Sat Jun 29 2024 Patrick Laimbock - 9.12-0.2 - add wine-tkg-PR1213.patch * Sat Jun 29 2024 Patrick Laimbock - 9.12-0.1 - update to version 9.12 - use wine-staging 9ba0efb9 * Sat Jun 15 2024 Patrick Laimbock - 9.11-11 - remove PR1197 as it's been committed * Sat Jun 15 2024 Patrick Laimbock - 9.11-10 - update to version 9.11 - add wine-tkg PR1197 which should fix the childwindow-proton.patch * Sat Jun 01 2024 Patrick Laimbock - 9.10-10 - update to version 9.10 - remove MR5573 patch as wine-tkg enabled it again - build against vkd3d-1.12 (in tree) * Wed May 22 2024 Patrick Laimbock - 9.9-11 - add MR5573.patch * Sat May 18 2024 Patrick Laimbock - 9.9-10 - update to version 9.9 - add -ftree-vectorize to CFLAGS and %%{_arch}_CFLAGS * Fri May 17 2024 Patrick Laimbock - 9.9-0.2 - remove -ftree-vectorize - update to latest git * Thu May 16 2024 Patrick Laimbock - 9.9-0.1 - build HEAD somehwere between 9.8 and 9.9 - add -Wno-error=implicit-function-declaration and - add -Wno-error=incompatible-pointer-types and - add -ftree-vectorize to CFLAGS and %%{_arch}_CFLAGS - remove odbc32.so * Thu May 09 2024 Patrick Laimbock - 9.8-12 - remove MR5573, it's a bit early - for MR5573 checkout copr MR5573 instead * Tue May 07 2024 Patrick Laimbock - 9.8-11 - try to apply MR5563 (vulkan childwindow patch) to 9.8 in prepare.sh * Sun May 05 2024 Patrick Laimbock - 9.8-10 - update to version 9.8 - require wine-mono-9.1.0 - note: this build has _no_ vulkan childwindow patch * Sat Mar 09 2024 Patrick Laimbock - 9.4-10 - update to version 9.4 - add x86_64_CFLAGS="-g -O2 -Wno-error=incompatible-pointer-types -Wno-incompatible-pointer-types" to %%make_build - add commented _staging_args changes in advanced_customization.cfg - add commented option %global build_type_safety_c 0 - see https://src.fedoraproject.org/rpms/redhat-rpm-config//blob/rawhide/f/buildflags.md * Sat Feb 24 2024 Patrick Laimbock - 9.3-10 - update to version 9.3 * Sat Jan 27 2024 Patrick Laimbock - 9.2-10 - update to version 9.2 - require wine-mono-9.0.0 * Sat Jan 27 2024 Patrick Laimbock - 9.1-10 - update to version 9.1 * Wed Jan 17 2024 Patrick Laimbock - 9.0-16 - update to version 9.0 * Sat Jan 13 2024 Patrick Laimbock - 9.0-15 - update to version 9.0-rc5 * Sat Jan 06 2024 Patrick Laimbock - 9.0-14 - update to version 9.0-rc4 * Sun Dec 31 2023 Patrick Laimbock - 9.0-13 - update to version 9.0-rc3 * Sat Dec 16 2023 Patrick Laimbock - 9.0-12 - update to version 9.0-rc2 - remove upstreamed patches * Thu Dec 14 2023 Patrick Laimbock - 9.0-11 - add a winex11 and two wayland patches * Sat Dec 09 2023 Patrick Laimbock - 9.0-10 - update to version 9.0-rc1 - require vkd3d 1.10 * Sat Nov 25 2023 Patrick Laimbock - 8.21-10 - remove Pawel's patch - upstreamed - remove patch900 shell32: Don't fall back to $HOME for - upstreamed * Sat Nov 11 2023 Patrick Laimbock - 8.20-11 - add Pawel's patch for Kontakt 7 * Sat Nov 11 2023 Patrick Laimbock - 8.20-10 - update to version 8.20 * Wed Nov 01 2023 Patrick Laimbock - 8.19-10 - update to version 8.19 - require wine-mono 8.1.0 * Fri Oct 27 2023 Patrick Laimbock - 8.18-11 - bump release for updateing to this wine when upgrading to FC39 * Wed Oct 25 2023 Patrick Laimbock - 8.18-10 - update to version 8.18 * Thu Oct 05 2023 Patrick Laimbock - 8.17-10 - update to version 8.17 * Sat Sep 02 2023 Patrick Laimbock - 8.16-10 - update to version 8.16 * Sat Sep 02 2023 Patrick Laimbock - 8.15-10 - update to version 8.15 * Mon Aug 21 2023 Patrick Laimbock - 8.14-11 - use wine-staging v8.14 * Sun Aug 20 2023 Patrick Laimbock - 8.14-10 - update to version 8.14 - use wine-staging HEAD due to v8.14 not yet tagged * Sun Jul 23 2023 Patrick Laimbock - 8.13-10 - update to version 8.13 * Thu Jul 20 2023 Patrick Laimbock - 8.12.-14 - enable childwindow patch again * Mon Jul 17 2023 Patrick Laimbock - 8.12.-13 - test build: disable childwindow patch * Mon Jul 17 2023 Patrick Laimbock - 8.12.-12 - remove more lingering alternatives logic - prevent alternatives removal from failing * Mon Jul 17 2023 Patrick Laimbock - 8.12.-11 - add 710eec8fac7952679e2ddb4eba54367b50c47930.patch * Sun Jul 09 2023 Patrick Laimbock - 8.12-10 - update to version 8.12 * Sat Jul 01 2023 Patrick Laimbock - 8.11-10 * Sat Jul 01 2023 Patrick Laimbock - 8.11-10 - update to version 8.11 - build against wine-mono-8.0.0 - build against vkd3d-1.8 * Sun Jun 11 2023 Patrick Laimbock - 8.10-10 - update to version 8.10 * Mon May 15 2023 Patrick Laimbock - 8.8-12 - disable the GloriousEggroll game patches - disable steam.patch - disable Return_nt_filename_and_resolve_DOS_drive_path.mypatch - disable nostale_mouse_fix.mypatch * Mon May 15 2023 Patrick Laimbock - 8.8-11 - use properly tagged source for wine-staging - set game related options to false in customization-8.8 * Sat May 13 2023 Patrick Laimbock - 8.8-10 - update to version 8.8 * Wed May 03 2023 Patrick Laimbock - 8.7-11 - rebuild against wine-gecko-2.47.3 * Wed Apr 19 2023 Patrick Laimbock - 8.7-10 - update to wine(-staging)-8.7 - build against wine-gecko 2.47.4 * Wed Apr 19 2023 Patrick Laimbock - 8.6-11 - update to wine-8.6 and wine-staging-8.6.1 - require winegecko 2.47.3 due to https://bugs.winehq.org/show_bug.cgi?id=53400 - sync with wine.spec on koji - remove separate wine-widl subpackage, just use wine-devel for widl * Sat Apr 01 2023 Patrick Laimbock - 8.5-10 - update to wine-8.5 - temporarily remove wine-tkg-patches/hotfixes/ow2 - see https://github.com/Frogging-Family/wine-tkg-git/issues/979 * Thu Mar 30 2023 Patrick Laimbock - 8.4-10 - update to wine-8.4 - build against vkd3d-1.7 * Wed Feb 22 2023 Patrick Laimbock - 8.2-10 - update to wine-8.2 * Tue Feb 07 2023 Patrick Laimbock - 8.1-10 - update to wine-8.1 * Wed Jan 25 2023 Patrick Laimbock - 8.0-10 - update to wine-8.0 * Sun Jan 22 2023 Patrick Laimbock - 8.0-0.7 - build against latest vkd3d * Sun Jan 22 2023 Patrick Laimbock - 8.0-0.6 - update to 8.0-rc5 * Mon Jan 16 2023 Patrick Laimbock - 8.0-0.5 - update to 8.0-rc4 * Sun Jan 08 2023 Patrick Laimbock - 8.0-0.4 - add libgcrypt-devel and libXpresent to BRs * Sun Jan 08 2023 Patrick Laimbock - 8.0-0.3 - update to 8.0-rc3 * Mon Dec 26 2022 Patrick Laimbock - 8.0-0.2 - rebuild against vkd3d-1.6-1 * Mon Dec 26 2022 Patrick Laimbock - 8.0-0.1 - update to version 8.0-rc2 - require vkd3d-1.6 * Fri Nov 18 2022 Patrick Laimbock - 7.20-11 - bootstrap build against vkd3d-1.5 * Wed Nov 02 2022 Patrick Laimbock - 7.20-10 - update to version 7.20 - require winemono 7.4.0 * Sat Oct 01 2022 Patrick Laimbock - 7.18-10 - update to version 7.18 - set _LOCAL_PRESET="default-tkg" - require vkd3d >= 1.5 * Sat Sep 10 2022 Patrick Laimbock - 7.17-10 - update to version 7.17 - disable _proton_battleye_support and _proton_eac_support in customization.cfg * Sun Aug 28 2022 Patrick Laimbock - 7.16-10 - update to version 7.16 * Sun Aug 14 2022 Patrick Laimbock - 7.15-10 - update to version 7.15 * Sat Jul 30 2022 Patrick Laimbock - 7.14-10 - update to version 7.14 * Wed Jul 20 2022 Patrick Laimbock - 7.13-12 - add logic to build a wine_tkg version * Sun Jul 17 2022 Patrick Laimbock - 7.13-11 - also build and package widl (needed to build external vkd3d) - add mingw{32,64}-vkd3d requires * Sat Jul 16 2022 Patrick Laimbock - 7.13-10 - update to version 7.13 - remove global _smp_mflags -j1 as parallel builds seem to work - update wine-gecko version to 2.47.3 - remove lowlatency_audio_pulse_rebased.patch - in files section remove {_libdir}/wine/{winesodir}/wineusb.sys.so - in files section add {_libdir}/wine/{winepedir}/msvcp140_2.dll * Sat Jul 09 2022 Patrick Laimbock - 7.12-10 - add several patches from wine-tkg aimed at music production - add robocopy patches * Tue Jul 05 2022 Michael Cronenworth - 7.12-1 - versuon update - Unbundle vkd3d * Wed Jun 22 2022 Michael Cronenworth - 7.11-1 - version update * Mon Jun 06 2022 Michael Cronenworth - 7.10-2 - Require new Mono * Mon Jun 06 2022 Michael Cronenworth - 7.10-1 - version update * Mon May 23 2022 Michael Cronenworth - 7.9-1 - version update * Tue Mar 29 2022 Michael Cronenworth - 7.5-1 - version update - drop 32-bit ARM - require on Fedora MinGW dependencies * Fri Mar 25 2022 Sandro Mani - 7.3-2 - Rebuild with mingw-gcc-12 * Fri Mar 11 2022 Michael Cronenworth - 7.3-1 - version update * Sun Feb 13 2022 Björn Esser - 7.2-1 - version update * Mon Jan 31 2022 Björn Esser - 7.1-2 - Revert to wine-mono 7.0.0 * Sat Jan 29 2022 Björn Esser - 7.1-1 - version update * Sat Jan 22 2022 Fedora Release Engineering - 7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 19 2022 Björn Esser - 7.0-1 - version update * Sat Jan 15 2022 Björn Esser - 7.0-0.6rc6 - version update * Sun Jan 09 2022 Björn Esser - 7.0-0.5rc5 - version update * Mon Jan 03 2022 Michael Cronenworth 7.0-0.4rc4 - version update * Mon Jan 03 2022 FeRD (Frank Dana) 7.0-0.3rc3 - Silence messages from expected failures during rpm scriptlets * Mon Dec 27 2021 Björn Esser - 7.0-0.2rc3 - version update * Mon Dec 20 2021 Michael Cronenworth 7.0-0.1rc2 - version update * Wed Nov 10 2021 Michael Cronenworth 6.21-1 - version update * Mon Oct 04 2021 Michael Cronenworth 6.18-1 - version update * Mon Aug 30 2021 Michael Cronenworth 6.16-1 - version update * Wed Jul 07 2021 Michael Cronenworth 6.12-1 - version update * Sat Jun 19 2021 Michael Cronenworth 6.11-1 - version update * Mon Jun 07 2021 Michael Cronenworth 6.10-1 - version update * Mon May 24 2021 Michael Cronenworth 6.9-1 - version update * Sat May 08 2021 Michael Cronenworth 6.8-1 - version update * Sat Apr 24 2021 Michael Cronenworth 6.7-1 - version update * Sun Apr 11 2021 Michael Cronenworth 6.6-1 - version update * Mon Mar 15 2021 Michael Cronenworth 6.4-1 - version update * Sat Feb 27 2021 Michael Cronenworth 6.3-1 - version update * Sat Feb 13 2021 Michael Cronenworth 6.2-1 - version update * Mon Feb 01 2021 Michael Cronenworth 6.1-1 - version update * Wed Jan 27 2021 Fedora Release Engineering - 6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 2021 Michael Cronenworth 6.0-1 - version update * Sun Jan 10 2021 Michael Cronenworth 6.0-0.6rc6 - version update * Thu Jan 07 2021 Michael Cronenworth 6.0-0.5rc5 - version update * Sat Dec 26 2020 Michael Cronenworth 6.0-0.4rc4 - version update * Sat Dec 19 2020 Michael Cronenworth 6.0-0.3rc3 - version update * Sat Dec 12 2020 Michael Cronenworth 6.0-0.2rc2 - version update * Tue Dec 08 2020 Michael Cronenworth 6.0-0.1rc1 - version update * Sat Nov 21 2020 Michael Cronenworth 5.22-1 - version update * Tue Nov 10 2020 Michael Cronenworth 5.21-1 - version update * Sat Oct 24 2020 Michael Cronenworth 5.20-1 - version update * Sat Oct 10 2020 Michael Cronenworth 5.19-1 - version update * Mon Sep 28 2020 Michael Cronenworth 5.18-2 - Enable vkd3d shader support * Mon Sep 28 2020 Michael Cronenworth 5.18-1 - version update * Tue Sep 15 2020 Michael Cronenworth 5.17-1 - version update * Tue Sep 01 2020 Michael Cronenworth 5.16-1 - version update * Sun Aug 16 2020 Michael Cronenworth 5.15-1 - version update * Mon Aug 10 2020 Frantisek Zatloukal - 5.14-2 - Recommend wine-dxvk as part of https://fedoraproject.org/wiki/Changes/DXVKwined3d * Mon Aug 03 2020 Michael Cronenworth 5.14-1 - version update * Wed Jul 29 2020 Fedora Release Engineering - 5.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Michael Cronenworth 5.13-1 - version update * Tue Jul 14 2020 Michael Cronenworth 5.12-1 - version update * Wed Jul 01 2020 Jeff Law 5.10-2 - Disable LTO * Sun Jun 07 2020 Michael Cronenworth 5.10-1 - version update * Tue Jun 02 2020 Michael Cronenworth 5.9-2 - drop typelibs from 32-bit devel package - add patch for wine bug 49208 * Fri May 29 2020 Michael Cronenworth 5.9-1 - version update * Sat May 02 2020 Michael Cronenworth 5.7-2 - fix crash in wineserver affecting many apps and games (RHBZ#1829956) * Sun Apr 26 2020 Michael Cronenworth 5.7-1 - version update * Sat Apr 11 2020 Michael Cronenworth 5.6-1 - version update * Sun Mar 29 2020 Michael Cronenworth 5.5-1 - version update * Mon Mar 16 2020 Michael Cronenworth 5.4-1 - version update * Mon Mar 02 2020 Michael Cronenworth 5.3-1 - version update * Tue Feb 18 2020 Michael Cronenworth 5.2-1 - version update * Mon Feb 03 2020 Michael Cronenworth 5.1-1 - version update * Fri Jan 31 2020 Fedora Release Engineering - 5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 22 2020 Michael Cronenworth 5.0-1 - version update * Mon Jan 13 2020 Michael Cronenworth 5.0-0.rc5.0 - version update * Mon Jan 06 2020 Michael Cronenworth 5.0-0.rc4.0 - version update * Mon Dec 30 2019 Michael Cronenworth 5.0-0.rc3.0 - version update * Sat Nov 30 2019 Michael Cronenworth 4.21-1 - version update * Sat Nov 16 2019 Michael Cronenworth 4.20-1 - version and wine-mono update * Sat Nov 02 2019 Michael Cronenworth 4.19-1 - version update * Mon Oct 21 2019 Michael Cronenworth 4.18-1 - version update * Sun Sep 29 2019 Michael Cronenworth 4.17-2 - sync wine-mono version * Sat Sep 28 2019 Michael Cronenworth 4.17-1 - version update * Thu Sep 26 2019 Michael Cronenworth 4.16-2 - Drop isdn4k-utils BR (RHBZ#1756118) * Sat Sep 14 2019 Michael Cronenworth 4.16-1 - version update * Sun Sep 01 2019 Michael Cronenworth 4.15-1 - version update * Mon Aug 19 2019 Michael Cronenworth 4.14-2 - sync wine-mono version * Mon Aug 19 2019 Michael Cronenworth 4.14-1 - version update * Sun Aug 11 2019 Michael Cronenworth 4.13-5 - remove correct dlls on upgrade * Thu Aug 08 2019 Michael Cronenworth 4.13-4 - support upgrades in new alternatives * Wed Aug 07 2019 Michael Cronenworth 4.13-3 - fix slave alternatives for d3d dlls * Mon Aug 05 2019 Michael Cronenworth 4.13-2 - fix alternatives for d3d dlls * Sun Aug 04 2019 Michael Cronenworth 4.13-1 - version update - add alternatives for d3d dlls to play with dxvk * Sat Jul 27 2019 Fedora Release Engineering - 4.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 10 2019 Michael Cronenworth 4.12.1-1 - version update * Sun Jun 23 2019 Michael Cronenworth 4.11-1 - version update * Thu Jun 13 2019 Michael Cronenworth 4.10-1 - version update - compile with MinGW support * Sun May 26 2019 Michael Cronenworth 4.9-1 - version update * Wed May 15 2019 Michael Cronenworth 4.8-2 - Fix default wine svg (RHBZ#1598994) * Tue May 14 2019 Michael Cronenworth 4.8-1 - version update * Sun Apr 28 2019 Michael Cronenworth 4.7-1 - version update * Sun Apr 14 2019 Michael Cronenworth 4.6-1 - version update * Tue Apr 02 2019 Michael Cronenworth 4.5-1 - version update * Tue Mar 19 2019 Michael Cronenworth 4.4-1 - version update * Sun Mar 03 2019 Michael Cronenworth 4.3-1 - version update * Tue Feb 19 2019 Kalev Lember - 4.2-3 - Rebuilt against fixed atk (#1626575) * Tue Feb 19 2019 Björn Esser - 4.2-2 - Fix version requirement on wine-mono * Sun Feb 17 2019 Michael Cronenworth 4.2-1 - version update * Sun Feb 03 2019 Fedora Release Engineering - 4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Michael Cronenworth 4.0-1 - version update