]>
Commit | Line | Data |
---|---|---|
e7208873 | 1 | Name: dgs |
2 | Summary: Display GhostScript - Libraries supporting Display PostScript (DPS) | |
c78af670 | 3 | Version: 0.5.7 |
e7208873 | 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" \ | |
85e767da | 27 | ./configure %{_target_platform} \ |
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 | |
14e87d94 | 39 | rm -rf $RPM_BUILD_ROOT%{_mandir} |
90c9a10e | 40 | cd $RPM_BUILD_ROOT%{_bindir} |
7ca2e10f | 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 | |
90c9a10e | 46 | %{_bindir}/* |
80c66c7f | 47 | %{_includedir}/DPS |
f633738f | 48 | %{_libdir}/DGS |
49 | %{_libdir}/*.a | |
7ca2e10f | 50 | |
51 | %changelog | |
52 | * Fri Feb 5 1999 Bernhard Rosenkraenzer <bero@microsoft.sucks.eu.org> | |
53 | - initial RPM |