Can someone who understands wine build issues review this RPM spec file for me, please?
The RPMs for Redhat 8 are getting pretty long in the tooth on the Wine downloads page... dating back to May 24. I wanted to build a source RPM to work with, so I modified the 20050524 spec file for 20050830.
It seems that there are changes in fonts and documentation. I removed some lines that were keeping rpmbuild from working. But I feel like I am tampering with issues beyond my grasp. Do the attached changes to the spec file look ok (temporarily marked with "todo")? Any gotchas? Anything missing?
Thanks... mo
--- wine-20050524-1rh8winehq.spec 2005-05-30 19:48:05.000000000 -0700 +++ wine-20050830-1rh8winehq.spec 2005-09-26 11:46:08.000000000 -0700 @@ -1,4 +1,4 @@ -%define DATE 20050524 +%define DATE 20050830 Summary: A Windows 16/32 bit emulator. Name: wine Version: %{DATE} @@ -8,7 +8,7 @@ URL: http://www.winehq.org/ Source0: ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-%{version}.tar.gz Source1: wine.init -Source2: wine-fonts-%{version}.tar.gz +# todo Source2: wine-fonts-%{version}.tar.gz Patch0: wine-%{version}-stabs+2.patch Patch1: wine-%{version}-nvidia-opengl.patch Patch2: wine-%{version}-generated.patch @@ -66,7 +66,7 @@ UPDATE_DESKTOP_DATABASE=/bin/true
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/wine -install -c -m 0644 documentation/samples/config $RPM_BUILD_ROOT%{_sysconfdir}/wine/config +# todo - install -c -m 0644 documentation/samples/config $RPM_BUILD_ROOT%{_sysconfdir}/wine/config
cat >RedHat <<EOF Wine directory structure used in Red Hat Linux: @@ -91,8 +91,8 @@ install -c -m 755 %SOURCE1 $RPM_BUILD_ROOT%{_initrddir}/wine
# Install Wine's fonts -mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts/wine -tar xzf %SOURCE2 -C $RPM_BUILD_ROOT%{_datadir}/fonts/wine +# todo mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts/wine +# todo tar xzf %SOURCE2 -C $RPM_BUILD_ROOT%{_datadir}/fonts/wine
%clean rm -rf $RPM_BUILD_ROOT @@ -154,12 +154,12 @@ %{_libdir}/wine/*.so %{_mandir}/man1/wine.1* %{_mandir}/man1/winedbg.1* -%{_mandir}/man5/wine.conf.5* +# todo %{_mandir}/man5/wine.conf.5* %{_datadir}/aclocal/wine.m4 %{_datadir}/applications/wine.desktop -%attr(0755, root, root) %dir %{_datadir}/fonts/wine -%{_datadir}/fonts/wine/*.fon -%{_datadir}/fonts/wine/*.ttf +# todo %attr(0755, root, root) %dir %{_datadir}/fonts/wine +# todo %{_datadir}/fonts/wine/*.fon +# todo %{_datadir}/fonts/wine/*.ttf %attr(0755, root, root) %dir %{_datadir}/wine %{_datadir}/wine/generic.ppd %{_datadir}/wine/wine.inf @@ -196,6 +196,9 @@ %{_libdir}/wine/*.def
%changelog +* Thu Sep 22 2005 Michael Ost most@museresearch.com 20050830-1rh8winehq +- Update to 20050830 + * Mon May 30 2005 Vincent BĂ©ron vberon@mecano.gme.usherb.ca 20050524-1rh8 - Update to 20050524 - Remove pdf documentation build as it's no more included in the main archive