]> git.pld-linux.org Git - packages/dgs.git/blob - dgs.spec
8f8dea5e3e717ae888cb7b3a0d4fe0eb184bfec8
[packages/dgs.git] / dgs.spec
1 Summary:        Display GhostScript - Libraries supporting Display PostScript (DPS)
2 Summary(pl):    Display GhostScript - biblioteki wspieraj±ce Display PostScript
3 Name:           dgs
4 Version:        0.5.9.1
5 Release:        1
6 License:        GPL
7 Vendor:         The Seawood Project
8 Group:          X11/Libraries
9 Source0:        ftp://ftp.gnustep.org/pub/gnustep/%{name}/%{name}-%{version}.tar.gz
10 Patch0:         dgs-DESTDIR.patch
11 BuildRequires:  glib-devel
12 BuildRequires:  libjpeg-devel
13 BuildRequires:  XFree86-devel
14 Requires:       ghostscript
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _aclocaldir     %(aclocal --print-ac-dir)
19
20 %description
21 The Display Ghostscript System is functionally upward-compatible with
22 Adobe Display PostScript, but it has been written independently. The
23 Display Ghostscript System provides a device-independent imaging model
24 for displaying information on a screen. The imaging model uses the
25 PostScript language which has powerful graphics capabilities and frees
26 the programmer from display-specific details like screen resolution
27 and color issues.
28
29 %description -l pl
30 Display Ghostscript System jest kompatybilny w górê pod wzglêdem
31 funkcjonalno¶ci z Adobe Display PostScript, zosta³ jednak napisany
32 niezale¿nie od niego. Dziêki Display Ghostscript System otrzymujemy
33 niezale¿ny od urz±dzenia model wyswietlania informacji na ekranie.
34 Model ten wykorzystuje jêzyk PostScript, który posiada ogromne
35 mozliwo¶ci graficzne i uwalnia programistê od zajmowania siê
36 szczegó³ami zwi±zanymi z wy¶wietlaniem, takimi jak rozdzielczo¶æ
37 ekranu i kwestie zwi±zane z kolorami.
38
39 %package devel
40 Summary:        Header files and etc for develop Display PostScript applications
41 Summary(pl):    Pliki nag³ówkowe i dokumentacja do bibliotek do Display PostScriptu
42 Group:          X11/Development/Libraries
43 Group(pl):      X11/Programowanie/Biblioteki
44 Requires:       %{name} = %{version}
45
46 %description devel
47 Header files and etc for develop Display PostScript applications.
48
49 %description -l pl devel
50 Pliki nag³ówkowe i dokumentacja do bibliotek do Display PostScriptu.
51
52 %package static
53 Summary:        Static Display PostScript libraries
54 Summary(pl):    Biblioteki statyczne DPS
55 Group:          X11/Development/Libraries
56 Group(pl):      X11/Programowanie/Biblioteki
57 Requires:       %{name}-devel = %{version}
58
59 %description static
60 Static Display PostScript libraries.
61
62 %description static -l pl
63 Biblioteki statyczne DPS.
64
65 %prep
66 %setup -q -n %{name}-0.5.9
67 %patch -p1
68
69 %build
70 %configure2_13
71 %{__make} \
72         shared=yes \
73         debug=no \
74         SHARE_JPEG=1 \
75         gsdir=/usr/share/ghostscript \
76         gsdatadir=/usr/share/ghostscript \
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         m4datadir=%{_aclocaldir}
84         shared=yes debug=no
85
86 # remove files provided by normal ghostscript
87 rm -rf $RPM_BUILD_ROOT%{_mandir}
88 (cd $RPM_BUILD_ROOT%{_bindir};\
89 rm -f bdftops font2c gsbj gsdj gsdj500 gslj gslp gsnd printafm wftopfa)
90
91 gzip -9nf ANNOUNCE FAQ NEWS README STATUS TODO ChangeLog
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/dgs
102 %attr(755,root,root) %{_bindir}/dpsexec
103 %attr(755,root,root) %{_bindir}/dpsnx.agent
104 %attr(755,root,root) %{_bindir}/makepsres
105 %attr(755,root,root) %{_bindir}/pswrap
106 %attr(755,root,root) %{_bindir}/texteroids
107 %attr(755,root,root) %{_bindir}/xepsf
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %doc {ANNOUNCE,FAQ,NEWS,README,STATUS,TODO,ChangeLog}.gz
113 %attr(755,root,root) %{_bindir}/dgs-config
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %attr(755,root,root) %{_libdir}/lib*.la
116 %{_includedir}/DPS
117 %{_aclocaldir}/*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
This page took 0.074072 seconds and 2 git commands to generate.