%global _lto_cflags %{nil} %define _version 11 Name: wine-lbs Version: 11.2 Release: 1%{?dist} Summary: Wine is a program which allows running Microsoft Windows programs on Unix. License: LGPL-2.1-or-later URL: https://www.winehq.org/ Source0: https://dl.winehq.org/wine/source/%{_version}.x/wine-%{version}.tar.xz BuildRequires: make BuildRequires: pkgconfig BuildRequires: flex BuildRequires: bison BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: binutils BuildRequires: glibc-devel BuildRequires: libstdc++-devel BuildRequires: mingw64-gcc BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel BuildRequires: dbus-libs BuildRequires: dbus-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: gnutls-devel BuildRequires: mesa-libEGL-devel BuildRequires: libunwind-devel BuildRequires: wayland-devel BuildRequires: libglvnd-devel BuildRequires: libxkbcommon-devel BuildRequires: gstreamer1-devel, gstreamer1-plugins-base-devel BuildRequires: SDL2-devel BuildRequires: systemd-devel BuildRequires: vulkan-headers, vulkan-loader-devel %description Wine is a program which allows running Microsoft Windows programs on Unix. It consists of a program loader which loads and executes a Microsoft Windows binary, and a library (called Winelib) that implements Windows API calls using their Unix, X11 or Mac equivalents. %prep %autosetup -n wine-%{version} %build %configure \ --sysconfdir=%{_sysconfdir}/wine \ --with-dbus \ --without-x \ --enable-win64 \ --with-system-dllpath=%{mingw64_bindir} \ --disable-tests %make_build TARGETFLAGS="" %install %make_install \ LDCONFIG=/bin/true \ UPDATE_DESKTOP_DATABASE=/bin/true %files %license LICENSE.OLD LICENSE %doc ANNOUNCE.md README.md %{_bindir}/* %{_libdir}/wine/ %{_includedir}/wine/ %{_datadir}/wine/ %{_datadir}/applications/wine.desktop %{_mandir}/*.UTF-8/man1/*.1.gz %{_mandir}/man1/*.gz %changelog %autochangelog