]> git.pld-linux.org Git - packages/dgs.git/blob - dgs.spec
13fec54ca0b72736c02c8af41c17dcd72bb3deee
[packages/dgs.git] / dgs.spec
1 Name:           dgs
2 Summary:        Display GhostScript - Libraries supporting Display PostScript (DPS)
3 Summary(pl):    Display GhostScript - biblioteki wspieraj±ce Display PostScript
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
72 %{__make} \
73         shared=yes \
74         debug=no \
75         SHARE_JPEG=1 \
76         gsdir=/usr/share/ghostscript \
77         gsdatadir=/usr/share/ghostscript \
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84         m4datadir=%{_aclocaldir}
85         shared=yes debug=no
86
87 # remove files provided by normal ghostscript
88 rm -rf $RPM_BUILD_ROOT%{_mandir}
89 (cd $RPM_BUILD_ROOT%{_bindir};\
90 rm -f bdftops font2c gsbj gsdj gsdj500 gslj gslp gsnd printafm wftopfa)
91
92 gzip -9nf ANNOUNCE FAQ NEWS README STATUS TODO ChangeLog
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_bindir}/dgs
103 %attr(755,root,root) %{_bindir}/dpsexec
104 %attr(755,root,root) %{_bindir}/dpsnx.agent
105 %attr(755,root,root) %{_bindir}/makepsres
106 %attr(755,root,root) %{_bindir}/pswrap
107 %attr(755,root,root) %{_bindir}/texteroids
108 %attr(755,root,root) %{_bindir}/xepsf
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc {ANNOUNCE,FAQ,NEWS,README,STATUS,TODO,ChangeLog}.gz
114 %attr(755,root,root) %{_bindir}/dgs-config
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %attr(755,root,root) %{_libdir}/lib*.la
117 %{_includedir}/DPS
118 %{_aclocaldir}/*
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.a
This page took 0.116218 seconds and 3 git commands to generate.