]> git.pld-linux.org Git - packages/dgs.git/blob - dgs.spec
- "s-/usr/lib/-%{_libdir}-"
[packages/dgs.git] / dgs.spec
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
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
22 %setup -n dgs
23
24 %build
25 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
26 CXXFLAGS="$RPM_OPT_FLAGS" \
27 ./configure %{_target} \
28         --prefix=/usr
29
30 make shared=yes debug=no
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/usr
35
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%{_mandir}
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 %{_libdir}/DGS
49 %{_libdir}/*.a
50
51 %changelog
52 * Fri Feb  5 1999 Bernhard Rosenkraenzer <bero@microsoft.sucks.eu.org>
53 - initial RPM
This page took 0.061339 seconds and 3 git commands to generate.