]>
Commit | Line | Data |
---|---|---|
e7208873 | 1 | Name: dgs |
2 | Summary: Display GhostScript - Libraries supporting Display PostScript (DPS) | |
3 | Version: 0.5.0 | |
4 | Release: 1 | |
5 | Copyright: GPL | |
6 | Vendor: The Seawood Project | |
7 | Source: ftp://alpha.gnu.org/gnu/gnustep/%{name}-%{version}.tar.gz | |
8 | Group: Applications/Graphics | |
9 | Requires: ghostscript | |
10 | BuildRoot: /tmp/%{name}-%{version}-root | |
7ca2e10f | 11 | |
12 | %description | |
13 | The Display Ghostscript System is functionally upward-compatible with | |
14 | Adobe Display PostScript, but it has been written independently. The | |
15 | Display Ghostscript System provides a device-independent imaging model | |
16 | for displaying information on a screen. The imaging model uses the | |
17 | PostScript language which has powerful graphics capabilities and frees | |
18 | the programmer from display-specific details like screen resolution and | |
19 | color issues. | |
20 | ||
21 | %prep | |
e7208873 | 22 | %setup -n dgs |
7ca2e10f | 23 | |
24 | %build | |
e7208873 | 25 | CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ |
26 | CXXFLAGS="$RPM_OPT_FLAGS" \ | |
680c6e87 | 27 | ./configure %{_target} \ |
e7208873 | 28 | --prefix=/usr |
29 | ||
7ca2e10f | 30 | make shared=yes debug=no |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
e7208873 | 34 | install -d $RPM_BUILD_ROOT/usr |
35 | ||
7ca2e10f | 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 |