%define libqual %{nil}
%endif
-%ifarch %{x8664}
+%ifarch %{x8664}
%define winelib x86_64
%else
%define winelib i386
Summary(pl.UTF-8): Program pozwalający uruchamiać aplikacje Windows
Summary(pt_BR.UTF-8): Executa programas Windows no Linux
Name: wine
-Version: 7.3
-Release: 2
+Version: 7.6
+Release: 1
Epoch: 1
License: LGPL
Group: Applications/Emulators
Source0: https://dl.winehq.org/wine/source/7.x/%{name}-%{version}.tar.xz
-# Source0-md5: 5a52776788f27cb4181dda24fc5eaf45
+# Source0-md5: 2a15c22b7a7f56503291381a9f608ecb
Source1: https://dl.winehq.org/wine/wine-gecko/%{gecko_ver}/%{name}-gecko-%{gecko_ver}-x86.msi
# Source1-md5: e0a26e37397961b2c7f624575590ef66
Source2: https://dl.winehq.org/wine/wine-gecko/%{gecko_ver}/%{name}-gecko-%{gecko_ver}-x86_64.msi
Patch6: desktop.patch
Patch7: %{name}-wine64_man.patch
URL: http://www.winehq.org/
-BuildConflicts: crossmingw32-gcc
-BuildConflicts: crossmingw64-gcc
BuildRequires: Mesa-libOSMesa-devel
BuildRequires: OpenAL-devel >= 1.1
BuildRequires: OpenCL-devel
BuildRequires: OpenGL-GLU-devel
+BuildRequires: SDL2-devel
%{?with_alsa:BuildRequires: alsa-lib-devel}
%{?with_arts:BuildRequires: artsc-devel}
BuildRequires: autoconf >= 2.62
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel >= 2.0.5
BuildRequires: gettext-devel
+BuildConflicts: crossmingw32-gcc
+BuildConflicts: crossmingw64-gcc
%ifarch %{x8664}
BuildRequires: gcc >= 6:4.4
%endif
BuildRequires: icoutils >= 0.29.0
BuildRequires: lcms2-devel >= 2
BuildRequires: libcap-devel
+BuildRequires: libglvnd-libEGL-devel
BuildRequires: libgphoto2-devel
BuildRequires: libpcap-devel
+BuildRequires: libv4l-devel
%{?with_ldap:BuildRequires: openldap-devel}
BuildRequires: pkgconfig
BuildRequires: pulseaudio-devel
--with-xshm \
--with-xxf86vm \
--with-x
-
+
%{__make} depend
%{__make}
done
%ifarch %{x8664}
-install loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine64.1
+cp -p loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine64.1
for lang in de fr pl ; do
install -d $RPM_BUILD_ROOT%{_mandir}/${lang}/man1
-install loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine64.1
+cp -p loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine64.1
done
%else
-install loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine.1
+cp -p loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine.1
for lang in de fr pl ; do
install -d $RPM_BUILD_ROOT%{_mandir}/${lang}/man1
-install loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine.1
+cp -p loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine.1
done
%endif
/sbin/chkconfig --del wine
fi
-%files
+%files
%defattr(644,root,root,755)
%doc README AUTHORS ANNOUNCE
%lang(de) %doc documentation/README.de
%attr(755,root,root) %{_bindir}/wrc
# no shared variants, so not separated
%{_libdir}/wine/%{winelib}-unix/lib*.a
-%{_libdir}/wine/%{winelib}-windows/lib*.a
+#%{_libdir}/wine/%{winelib}-windows/lib*.a
%{_includedir}/wine
%{_mandir}/man1/widl.1*
%{_mandir}/man1/winebuild.1*