sudo dnf install 'rpm-build'
rm -Rf ~/'rpmbuild' && rpm -ivh ~/'Downloads/wine'*'.src.rpm' && rm -fv ~/'Downloads/wine'*'.src.rpm' && sync
gio open ~/'rpmbuild/SPECS/wine.spec'
1%{?dist}
1
for future package builds.g9
to the end to make 1%{?dist}.g9
Version
changes, start back at release 1
Release: 1%{?dist}.g9
Patch511
2)# sarnex/wine-d3d9-patches Patch600: staging-helper.patch Patch601: wine-d3d9.patch
163
# Silverlight DRM-stuff needs XATTR enabled.
block# Gallium Nine BuildRequires: mesa-libd3d-devel
BuildRequires: libva-devel %endif # 0%{?wine_staging} # Gallium Nine BuildRequires: mesa-libd3d-devel %if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 BuildRequires: openal-soft-devel
294
libva(x86-32)
requireRequires: mesa-libd3d(x86-32)
Requires: vulkan(x86-32) %if 0%{?wine_staging} Requires: libva(x86-32) %endif Requires: mesa-libd3d(x86-32) %endif
319
libva(x86-64)
requireRequires: mesa-libd3d(x86-64)
Requires: vulkan(x86-64) %if 0%{?wine_staging} Requires: libva(x86-64) %endif Requires: mesa-libd3d(x86-64) %endif
704
%build
3)# sarnex/wine-d3d9-patches %patch600 -p1 %patch601 -p1 autoreconf -f
# fix parallelized build sed -i -e 's!^loader server: libs/port libs/wine tools.*!& include!' Makefile.in %endif # 0%{?wine_staging} # sarnex/wine-d3d9-patches %patch600 -p1 %patch601 -p1 autoreconf -f %build
735
%configure
section above --disable-tests
--with-d3d9-nine \
%{?wine_staging: --with-xattr} \ --with-d3d9-nine \ --disable-tests make %{?_smp_mflags} TARGETFLAGS=""
1450
%{_libdir}/wine/d3d10.dll.so
%{_libdir}/wine/d3d9-nine.dll.so
%{_libdir}/wine/d2d1.dll.so %{_libdir}/wine/d3d9-nine.dll.so %{_libdir}/wine/d3d10.dll.so %{_libdir}/wine/d3d10_1.dll.so
rpmbuild -bs ~/'rpmbuild/SPECS/wine.spec' && sync
~/rpmbuild/SRPMS
sudo dnf builddep ~/'rpmbuild/SRPMS/wine'*'.src.rpm' && sync
rpmbuild -ba ~/'rpmbuild/SPECS/wine.spec' && sync
sudo dnf remove 'rpm-build'
rm -Rf ~/'rpmbuild' ~/'Downloads/wine'*'.src.rpm'