From 4ce2ce5a156eb07f7278713e93380eabd3834224 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 18 May 2025 11:29:25 +0200 Subject: [PATCH] update to 10.0 [release 10.0-1mamba;Sat May 03 2025] --- wine.spec | 106 +++++++++++++++++++++++++++--------------------------- 1 file changed, 52 insertions(+), 54 deletions(-) diff --git a/wine.spec b/wine.spec index d3c18ca..d91edca 100644 --- a/wine.spec +++ b/wine.spec @@ -8,13 +8,13 @@ %define wine_mono_ver 9.0.0 %define wine_staging_ver %(echo %version | cut -d. -f1-2) -%define WINE_GECKO_CHECKED_FOR_VERSION 9.2 +%define WINE_GECKO_CHECKED_FOR_VERSION 10.0 #% global __brp_strip_lto %nil %global __brp_strip_static_archive %nil Name: wine -Version: 9.2 +Version: 10.0 Release: 1mamba Epoch: 3 Summary: An open source implementation of the Windows API on top of X and Unix @@ -23,7 +23,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.winehq.org/ -Source0: https://dl.winehq.org/wine/source/%{MAJver}.x/wine-%{version}.tar.xz +Source0: https://dl.winehq.org/wine/source/%{version}/wine-%{version}.tar.xz Source1: wine-systemd-32 Source2: wine-systemd-64 Source3: wine_hidden_kde-desktop @@ -50,6 +50,9 @@ Source100: https://github.com/wine-staging/wine-staging.git/v%{wine_staging_ Patch0: wine-6.0.2-fix-conflict-ldap_contact.patch License: LGPL ## AUTOBUILDREQ-BEGIN +%ifarch x86_64 +BuildRequires: cuda +%endif BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXext-devel @@ -66,44 +69,51 @@ BuildRequires: libpulseaudio-devel BuildRequires: libudev-devel BuildRequires: libunwind-devel BuildRequires: libusb-devel +BuildRequires: libv4l-devel BuildRequires: libwayland-devel +BuildRequires: libwayland-egl-devel BuildRequires: libxkbcommon-devel -BuildRequires: ocl-icd-devel BuildRequires: perl-devel BuildRequires: sane-backends-devel ## AUTOBUILDREQ-END -BuildRequires: libgphoto2-devel >= 1:2.5.19-1mamba -BuildRequires: libgsm-devel -BuildRequires: libcapi20-devel -# BuildRequires: autoconf -BuildRequires: gcc BuildRequires: binutils BuildRequires: bison +BuildRequires: chrpath +BuildRequires: dbus-devel BuildRequires: flex -BuildRequires: libXi-devel -BuildRequires: libXinerama-devel -BuildRequires: libXrender-devel -BuildRequires: libXrandr-devel -BuildRequires: xorglibGL +BuildRequires: fontforge +BuildRequires: gcc +BuildRequires: icoutils +BuildRequires: libicu-devel +BuildRequires: libcapi20-devel BuildRequires: libcups-devel -BuildRequires: libncurses-devel +BuildRequires: libe2fs-devel BuildRequires: libfontconfig-devel BuildRequires: libjack-devel BuildRequires: libsane-backends-devel BuildRequires: libfreetype-devel BuildRequires: libgif-devel -BuildRequires: libjpeg-devel BuildRequires: libglut-devel +BuildRequires: libgphoto2-devel +BuildRequires: libgsm-devel +BuildRequires: libjpeg-devel +BuildRequires: libkrb5-devel +BuildRequires: libncurses-devel +BuildRequires: libnetapi-devel BuildRequires: libopenssl-devel +BuildRequires: libSDL2-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrender-devel +BuildRequires: libXrandr-devel +BuildRequires: libXxf86vm-devel +BuildRequires: ocl-icd-devel +BuildRequires: opencl-headers +BuildRequires: pkgconf +BuildRequires: xorglibGL BuildRequires: valgrind BuildRequires: valgrind-devel -BuildRequires: fontforge -BuildRequires: libicu-devel -BuildRequires: dbus-devel -BuildRequires: pkgconfig -BuildRequires: icoutils -BuildRequires: chrpath #BuildRequires: docbook-dtds >= 1.0 Requires: libGLUT >= 3.7 Requires: %{name}-core = %{epoch}:%{version}-%{release} @@ -191,12 +201,19 @@ Requires: %{name}-core = %{epoch}:%{version}-%{release} %description devel Header, include files and library definition files for developing applications with the Wine Windows(TM) emulation libraries. -%debug_package +%global _lto_cflags %{nil} +%global __brp_strip_lto %{nil} +%global __spec_rmbuild_cmd /bin/true +%global __rm /bin/true + +# 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 %prep -%setup -q -n %{name}-%{version} -#-D -T -#:<< __EOF +%setup -q -n %{name}-%{version} -D -T +:<< __EOF %if "%{version}" != "%{WINE_GECKO_CHECKED_FOR_VERSION}" echo "ERROR: please check for needed Wine Gecko version at" echo "https://wiki.winehq.org/Gecko" @@ -214,7 +231,6 @@ staging/patchinstall.py DESTDIR="`pwd`" --all --sysconfdir=%{_sysconfdir}/wine \ --with-x \ --with-gstreamer \ - --with-xattr \ %ifarch x86_64 --enable-win64 \ %endif @@ -369,8 +385,6 @@ if [ $1 -eq 0 ]; then fi exit 0 -%post -n libwine -p /sbin/ldconfig -%postun -n libwine -p /sbin/ldconfig %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -449,29 +463,6 @@ exit 0 %dir %{_libdir}/wine/*-windows %{_libdir}/wine/*-windows/* -#%files desktop -#%defattr(-,root,root) -#%{_kde4_sharedir}/applnk/.hidden/wine.desktop -#%{_sysconfdir}/xdg/menus/applications-merged/wine.menu -#%{_datadir}/desktop-directories/wine.directory -#%{_datadir}/applications/%{_vendor}-wine-iexplore.desktop -#%{_datadir}/applications/%{_vendor}-wine-notepad.desktop -#%{_datadir}/applications/%{_vendor}-wine-oleview.desktop -#%{_datadir}/applications/%{_vendor}-wine-regedit.desktop -#%{_datadir}/applications/%{_vendor}-wine-uninstaller.desktop -#%{_datadir}/applications/%{_vendor}-wine-winecfg.desktop -#%{_datadir}/applications/%{_vendor}-wine-winefile.desktop -#%{_datadir}/applications/%{_vendor}-wine-winemine.desktop -#%{_datadir}/applications/%{_vendor}-wine-winhelp.desktop -#%{_datadir}/applications/%{_vendor}-wine-wordpad.desktop -#%{_datadir}/pixmaps/iexplore.png -#%{_datadir}/pixmaps/notepad.png -#%{_datadir}/pixmaps/regedit.png -#%{_datadir}/pixmaps/winefile.png -#%{_datadir}/pixmaps/winemine.png -#%{_datadir}/pixmaps/winhelp.png -#%{_datadir}/pixmaps/wordpad.png - %files devel %defattr(-,root,root) %{_bindir}/function_grep.pl @@ -486,8 +477,6 @@ exit 0 %{_bindir}/wrc %dir %{_includedir}/wine %{_includedir}/wine/* -#%{_libdir}/wine/*.a -#%{_libdir}/wine/*.def %{_mandir}/man1/winebuild.1* %{_mandir}/man1/winecpp.1* %{_mandir}/man1/winedump.1* @@ -503,6 +492,15 @@ exit 0 #%doc documentation/README.* %changelog +* Sat May 03 2025 Silvan Calarco 10.0-1mamba +- update to 10.0 + +* Tue Apr 16 2024 Automatic Build System 9.6-1mamba +- automatic update by autodist + +* Sat Mar 16 2024 Silvan Calarco 9.4-1mamba +- update to 9.4 + * Wed Feb 14 2024 Silvan Calarco 9.2-1mamba - update to 9.2