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
Le lun 26/09/2005 à 14:59, Michael Ost a écrit :
Can someone who understands wine build issues review this RPM spec file for me, please?
Attached is the spec file I'm using for 20050830 on RH8 (not finished building on all other distributions yet).
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.
I know, that's my fault (and real life's fault in general).
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?
--sysconfdir is not needed anymore by configure (harmless if present). dlls/wineps had a installable file not installed by default (fixed since then). See the diff for the rest of it, but your changes pretty much covered it.
The fonts part is because not everyone has fontforge installed, so I prefer to provide already built fonts. Not sure what was your problem with the fonts.
Vincent
On September 26, 2005 11:59 am, Michael Ost wrote:
Can someone who understands wine build issues review this RPM spec file for me, please?
...
So what is the status of getting RedHat RPMS again? Are you having any luck, Michael?
I am going to be needing RedHat RPMS for Wine very soon, for testing purposes. I'd be quite willing to help out but it would suit me best if you were to take the lead.
On Mon, 2005-10-03 at 14:31, Bill Medland wrote:
So what is the status of getting RedHat RPMS again? Are you having any luck, Michael?
I am going to be needing RedHat RPMS for Wine very soon, for testing purposes. I'd be quite willing to help out but it would suit me best if you were to take the lead.
I can provide you with a source RPM that works on my redhat 8-ish system. I don't have the machines to build bona fide rh8, rh9, etc binary RPMs but I'd be happy to post the source one. Is there a good spot?
I based it on the spec file from Vincent, with a couple of mods to the patches for the new sources.
There was some sort of change involving fonts that I didn't satisfactorily resolve. His spec includes wine-fonts-VERSION.tar.gz. I couldn't find that file via google, so I copied the 20050524 file over. I don't _think_ that's right, but I am not sure...
Anyway it's all yours (or anyone else's) if you want it.
- mo
Le mar 04/10/2005 à 00:08, Michael Ost a écrit :
On Mon, 2005-10-03 at 14:31, Bill Medland wrote:
So what is the status of getting RedHat RPMS again? Are you having any luck, Michael?
I am going to be needing RedHat RPMS for Wine very soon, for testing purposes. I'd be quite willing to help out but it would suit me best if you were to take the lead.
I can provide you with a source RPM that works on my redhat 8-ish system. I don't have the machines to build bona fide rh8, rh9, etc binary RPMs but I'd be happy to post the source one. Is there a good spot?
I posted the RH7.3 & RH8 to sf.net. I intended to make them available once all distributions would be compiled/uploaded, but since there's demand for them, go to
I based it on the spec file from Vincent, with a couple of mods to the patches for the new sources.
For 20050930, I removed some lines from the opengl patch as they were already included, and the context of the stabs one changed a bit. Anything else?
There was some sort of change involving fonts that I didn't satisfactorily resolve. His spec includes wine-fonts-VERSION.tar.gz. I couldn't find that file via google, so I copied the 20050524 file over. I don't _think_ that's right, but I am not sure...
I generate that file by installing the latest fontforge (http://fontforge.sf.net), untarring Wine in a temp dir, running ./configure && make -C libs && make -C tools && make -C fonts, then tarring the output fonts in fonts/. It's because fontforge is not (yet?) part of the packages available on a stock RH/FC install, so instead of simply not having the fonts, I compile them once and then include the resulting files in the binary packages via the spec file. The fonts sometimes change from release to release, so usually it's best to use the matching one, but they still should be valid fonts, so any version is probably better than no version (especially for marlett.ttf).
Vincent
On Tue, 2005-10-04 at 04:38, Vincent Béron wrote:
I posted the RH7.3 & RH8 to sf.net. I intended to make them available once all distributions would be compiled/uploaded, but since there's demand for them, go to
Thanks! That's a great help. ... mo