]>
Commit | Line | Data |
---|---|---|
7ca2e10f | 1 | Name: dgs |
2 | Summary: Display GhostScript - Libraries supporting Display PostScript (DPS) | |
3 | Version: 0.5.0 | |
4 | Release: bero1 | |
5 | Copyright: Free Software | |
6 | Source: dgs.tar.bz2 | |
7 | Source1: jpeg.tar.bz2 | |
8 | Source2: zlib.tar.bz2 | |
9 | Source3: png.tar.bz2 | |
10 | Group: Applications/Graphics | |
11 | Requires: ghostscript | |
12 | BuildRoot: /var/tmp/dgs-root | |
13 | ||
14 | %description | |
15 | The Display Ghostscript System is functionally upward-compatible with | |
16 | Adobe Display PostScript, but it has been written independently. The | |
17 | Display Ghostscript System provides a device-independent imaging model | |
18 | for displaying information on a screen. The imaging model uses the | |
19 | PostScript language which has powerful graphics capabilities and frees | |
20 | the programmer from display-specific details like screen resolution and | |
21 | color issues. | |
22 | ||
23 | %prep | |
24 | %setup -n dgs -a 1 -a 2 -a 3 | |
25 | mv jpeg gs/jpeg-6a | |
26 | mv zlib gs | |
27 | mv png gs/libpng | |
28 | CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr | |
29 | ||
30 | %build | |
31 | make shared=yes debug=no | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | mkdir -p $RPM_BUILD_ROOT/usr | |
36 | make install prefix=$RPM_BUILD_ROOT/usr shared=yes debug=no | |
37 | ||
38 | # remove files provided by normal ghostscript | |
39 | rm -rf $RPM_BUILD_ROOT/usr/man | |
40 | cd $RPM_BUILD_ROOT/usr/bin | |
41 | rm bdftops font2c gsbj gsdj gsdj500 gslj gslp gsnd pdf2dsc pdf2ps printafm \ | |
42 | ps2ascii ps2epsi ps2pdf wftopfa | |
43 | ||
44 | %files | |
45 | %doc ANNOUNCE FAQ INSTALL NEWS README STATUS SUPPORT TODO | |
46 | /usr/bin/* | |
47 | /usr/include/DPS | |
48 | /usr/lib/DGS | |
49 | /usr/lib/*.a | |
50 | ||
51 | %changelog | |
52 | * Fri Feb 5 1999 Bernhard Rosenkraenzer <bero@microsoft.sucks.eu.org> | |
53 | - initial RPM |