/[packages]/cauldron/ghostscript/current/SPECS/ghostscript.spec
ViewVC logotype

Diff of /cauldron/ghostscript/current/SPECS/ghostscript.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 64166 by boklm, Fri Mar 4 17:26:58 2011 UTC revision 87327 by lmenut, Sun Apr 17 17:22:08 2011 UTC
# Line 1  Line 1 
1  ##### VERSION NUMBERS  ##### VERSION NUMBERS
2    
3  %define gsversion 9.00  %define gsversion 9.02
4  %define gsextraversion %{nil}  %define gsextraversion %{nil}
5  %define gsreleaseno 4  %define gsreleaseno 1
6  %define gsrelease %mkrel %gsreleaseno  %define gsrelease %mkrel %gsreleaseno
7  %define gssvnrevision -rev183  %define gssvnrevision -rev183
8  %define ijsver 0.35  %define ijsver 0.35
9  %define ijsreloffset 73  %define ijsreloffset 77
10  %define ijsrelno %(echo $((%{gsreleaseno} + %{ijsreloffset})))  %define ijsrelno %(echo $((%{gsreleaseno} + %{ijsreloffset})))
11  %define ijsrel %mkrel %ijsrelno  %define ijsrel %mkrel %ijsrelno
12  %define ijsmajor 1  %define ijsmajor 1
# Line 98  BuildRequires: svgalib-devel Line 98  BuildRequires: svgalib-devel
98    
99  ##### GHOSTSCRIPT SOURCES  ##### GHOSTSCRIPT SOURCES
100    
101  Source0:        http://ghostscript.com/releases/ghostscript-%{gsversion}%{gsextraversion}.tar.xz  Source0:        http://downloads.ghostscript.com/public/ghostscript-%{gsversion}%{gsextraversion}.tar.bz2
102  Source2:        ps2pdfpress.bz2  Source2:        ps2pdfpress.bz2
103  Source3:        http://www.linuxprinting.org/download/printing/sipixa6.upp.bz2  Source3:        http://www.linuxprinting.org/download/printing/sipixa6.upp.bz2
104    
105  ##### GHOSTSCRIPT PATCHES  ##### GHOSTSCRIPT PATCHES
106  Patch3: ghostscript-8.64-x11_shared.patch  Patch3: ghostscript-8.64-x11_shared.patch
 Patch4: ghostscript-linkage.patch  
107    
108  # Fedora patches  # Fedora patches
109  Patch102: ghostscript-scripts.patch  Patch102: ghostscript-scripts.patch
110  Patch105: ghostscript-runlibfileifexists.patch  Patch105: ghostscript-runlibfileifexists.patch
 Patch106: ghostscript-system-jasper.patch  
111  Patch107: ghostscript-pksmraw.patch  Patch107: ghostscript-pksmraw.patch
112    
113  ##### LIBIJS PATCHES  ##### LIBIJS PATCHES
# Line 311  rm -rf jasper jbig2dec libpng jpeg tiff Line 309  rm -rf jasper jbig2dec libpng jpeg tiff
309  # rm -rf zlib <- don't work for unknown reasons  # rm -rf zlib <- don't work for unknown reasons
310    
311  %patch3 -p0 -b .shared  %patch3 -p0 -b .shared
 %patch4 -p0 -b .linkage  
312    
313  # Fedora patches  # Fedora patches
314  # Fix some shell scripts  # Fix some shell scripts
# Line 319  rm -rf jasper jbig2dec libpng jpeg tiff Line 316  rm -rf jasper jbig2dec libpng jpeg tiff
316    
317  # Define .runlibfileifexists.  # Define .runlibfileifexists.
318  %patch105 -p1  %patch105 -p1
 %patch106 -p0 -b .system-jasper  
319    
320  # Fix pksmraw output (RH bug #308211).  Still needed in 8.63.  # Fix pksmraw output (RH bug #308211).  Still needed in 8.63.
321  %patch107 -p1 -b .pksmraw  %patch107 -p1 -b .pksmraw
# Line 373  cd ijs* Line 369  cd ijs*
369  # Rebuild broken build infrastructure  # Rebuild broken build infrastructure
370  # Needed by patch4.  # Needed by patch4.
371  ./autogen.sh  ./autogen.sh
372  %configure2_5x --enable-shared  %configure2_5x \
373    %ifarch %{ix86}
374            --disable-sse2 \
375    %endif
376            --enable-shared
377  %make  %make
378  cd ..  cd ..
379    
# Line 387  cd .. Line 387  cd ..
387  %if !%{bootstrap}  %if !%{bootstrap}
388          --enable-fontconfig \          --enable-fontconfig \
389  %endif  %endif
390    %ifarch %{ix86}
391            --disable-sse2 \
392    %endif
393          --with-drivers=ALL,opvp \          --with-drivers=ALL,opvp \
394          --with-fontpath="/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/type1:/usr/share/ghostscript/fonts:/usr/share/ghostscript/%{gsversion}/Resource:/usr/share/ghostscript/Resource:/usr/share/ghostscript/CIDFont:/usr/share/fonts/ttf:/usr/share/fonts/type1:/usr/share/fonts/default/Type1" \          --with-fontpath="/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/type1:/usr/share/ghostscript/fonts:/usr/share/ghostscript/%{gsversion}/Resource:/usr/share/ghostscript/Resource:/usr/share/ghostscript/CIDFont:/usr/share/fonts/ttf:/usr/share/fonts/type1:/usr/share/fonts/default/Type1" \
395          --with-ijs \          --with-ijs \
# Line 587  chmod -R u+w %{buildroot}%{_docdir} Line 590  chmod -R u+w %{buildroot}%{_docdir}
590  # cups-internal RIP  # cups-internal RIP
591  %attr(0755,root,root) %{_prefix}/lib*/cups/filter/*  %attr(0755,root,root) %{_prefix}/lib*/cups/filter/*
592  %{_datadir}/cups/model/*  %{_datadir}/cups/model/*
593  %config(noreplace) %{_sysconfdir}/cups/pstoraster.convs  %config(noreplace) %{_sysconfdir}/cups/gstoraster.convs
 %config(noreplace) %{_sysconfdir}/cups/pdftoraster.convs  
594  %endif  %endif
595    
596  %files doc  %files doc

Legend:
Removed from v.64166  
changed lines
  Added in v.87327

  ViewVC Help
Powered by ViewVC 1.1.30