From: Mark H. <be...@uk...> - 2000-04-28 19:42:57
|
I've created the following: http://www.beanz.uklinux.net/download/ghostscript-5.50.spec http://www.beanz.uklinux.net/download/gs.spec.diff http://www.beanz.uklinux.net/download/gimp-print.spec They are basically spec files for building RPMs from print-3.1.3.tar.gz. The .diff file is a patch against the original RedHat 6.2 ghostscript spec file. To build binary RPMs, you'll need to do the following: Get print-3.1.3.tar.gz and put it in /usr/src/redhat/SOURCES Copy gimp-print.spec and gs.spec.diff to /usr/src/redhat/SPECS Install ghostscript-5.50-1.src.rpm (the RH 6.2 ghostscript source RPM). Apply the patch to the spec file. That is: cd /usr/src/redhat/SPECS patch -p0 <gs.spec.diff Rebuild the RPMs. That is: rpm -ba /usr/src/redhat/SPECS/ghostscript-5.50.spec rpm -ba /usr/src/redhat/SPECS/gimp-print.spec You should be left with source/binary RPMs in /usr/src/redhat/SRPMS/ and /usr/src/redhat/RPMS/$ARCH resp. I've been a little lazy and not changed the name of the ghostscript package (or the version) so you might have to use --force to install it over the RedHat ghostscript RPM. Hopefully someone with a faster/cheaper net connection will make source/binary RPMs available? Cheers, Mark. |