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