auto-import ghostscript-7.05-20 from ghostscript-7.05-20.src.rpm

This commit is contained in:
cvsdist 2004-09-09 05:16:09 +00:00
parent 08ff115cf3
commit 48221a52cd
1 changed files with 25 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Version: %{gs_ver}
BuildRequires: gimp-print-devel
BuildRequires: patchutils >= 0.2.13
Release: 19
Release: 20
%define hpijs 1.1
%define hpijs_release %{release}
@ -53,6 +53,9 @@ Source21: gnu-drivers.tar.gz
# New gomni.c from IBM (bug #65269).
Source22: gomni.c
# CUPS device (from ESP gs 7.05.4).
Source23: gdevcups.c
Patch0: ghostscript-7.05-config.patch
Patch3: ghostscript-6.51-gcc296.patch
Patch5: ghostscript-7.05-gsj.patch
@ -419,6 +422,24 @@ $(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
# Repair the gsj code
%patch6 -p1 -b ._ds
# Add ESP gs CUPS device
cp %{SOURCE23} src
GS_DEVS=$GS_DEVS'$(DD)cups.dev '
echo '
### ----------------- CUPS Ghostscript Driver ---------------------- ###
cups_= $(GLOBJ)gdevcups.$(OBJ)
$(DD)cups.dev: $(cups_) $(GLD)page.dev
$(SETPDEV2) $(DD)cups $(cups_)
$(ADDMOD) $(DD)cups -lib cupsimage -lib cups
$(GLOBJ)gdevcups.$(OBJ): $(GLSRC)gdevcups.c $(PDEVH)
$(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) $(GLSRC)gdevcups.c
' >> src/contrib.mak
# Patch to make gcc296 happier
%patch3 -p1 -b .gcc296
@ -560,6 +581,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libijs.a
%changelog
* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 7.05-20
- Add cups device (bug #69573).
* Mon Aug 12 2002 Tim Waugh <twaugh@redhat.com> 7.05-19
- Fix the gb18030 patch (bug #71135, bug #71303).