]>
Commit | Line | Data |
---|---|---|
739bd839 | 1 | Summary: Display GhostScript - libraries supporting Display PostScript (DPS) |
b7f47708 | 2 | Summary(pl.UTF-8): Display GhostScript - biblioteki wspierające Display PostScript |
12610d86 | 3 | Name: dgs |
b911ec77 | 4 | Version: 0.5.10 |
739bd839 | 5 | Release: 2 |
9f9c517e | 6 | License: GPL |
e7208873 | 7 | Vendor: The Seawood Project |
a03f8a90 | 8 | Group: X11/Libraries |
2cae0263 | 9 | Source0: ftp://ftp.gnustep.org/pub/gnustep/%{name}/%{name}-%{version}.tar.gz |
f551f4c1 | 10 | # Source0-md5: 85bf4c0be3e5325bc3bf2da3196aa299 |
98e5bf78 | 11 | Patch0: %{name}-DESTDIR.patch |
b911ec77 | 12 | Patch1: %{name}-time.patch |
739bd839 | 13 | Patch2: %{name}-am18.patch |
b911ec77 | 14 | BuildRequires: XFree86-devel |
870e6188 | 15 | BuildRequires: automake |
a03f8a90 | 16 | BuildRequires: glib-devel |
17 | BuildRequires: libjpeg-devel | |
b911ec77 | 18 | BuildRequires: libwrap-devel |
e7208873 | 19 | Requires: ghostscript |
020f1e6d | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7ca2e10f | 21 | |
22 | %description | |
23 | The Display Ghostscript System is functionally upward-compatible with | |
a03f8a90 | 24 | Adobe Display PostScript, but it has been written independently. The |
7ca2e10f | 25 | Display Ghostscript System provides a device-independent imaging model |
a03f8a90 | 26 | for displaying information on a screen. The imaging model uses the |
7ca2e10f | 27 | PostScript language which has powerful graphics capabilities and frees |
9f9c517e | 28 | the programmer from display-specific details like screen resolution |
29 | and color issues. | |
7ca2e10f | 30 | |
21af4758 JR |
31 | %description -l pl.UTF-8 |
32 | Display Ghostscript System jest kompatybilny w górę pod względem | |
33 | funkcjonalności z Adobe Display PostScript, został jednak napisany | |
34 | niezależnie od niego. Dzięki Display Ghostscript System otrzymujemy | |
35 | niezależny od urządzenia model wyświetlania informacji na ekranie. | |
36 | Model ten wykorzystuje język PostScript, który posiada ogromne | |
37 | możliwości graficzne i uwalnia programistę od zajmowania się | |
38 | szczegółami związanymi z wyświetlaniem, takimi jak rozdzielczość | |
39 | ekranu i kwestie związane z kolorami. | |
293332f6 | 40 | |
a03f8a90 | 41 | %package devel |
739bd839 | 42 | Summary: Header files etc for Display PostScript applications development |
b7f47708 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do bibliotek do Display PostScriptu |
a03f8a90 | 44 | Group: X11/Development/Libraries |
ecb10ca8 | 45 | Requires: %{name} = %{version}-%{release} |
a03f8a90 | 46 | |
47 | %description devel | |
739bd839 | 48 | Header files etc for Display PostScript applications development. |
a03f8a90 | 49 | |
21af4758 JR |
50 | %description devel -l pl.UTF-8 |
51 | Pliki nagłówkowe i dokumentacja do bibliotek do Display PostScriptu. | |
a03f8a90 | 52 | |
53 | %package static | |
54 | Summary: Static Display PostScript libraries | |
b7f47708 | 55 | Summary(pl.UTF-8): Biblioteki statyczne DPS |
a03f8a90 | 56 | Group: X11/Development/Libraries |
ecb10ca8 | 57 | Requires: %{name}-devel = %{version}-%{release} |
a03f8a90 | 58 | |
59 | %description static | |
60 | Static Display PostScript libraries. | |
61 | ||
21af4758 | 62 | %description static -l pl.UTF-8 |
a03f8a90 | 63 | Biblioteki statyczne DPS. |
64 | ||
7ca2e10f | 65 | %prep |
b911ec77 | 66 | %setup -q |
739bd839 | 67 | %patch0 -p1 |
b911ec77 | 68 | %patch1 -p1 |
739bd839 | 69 | %patch2 -p1 |
7ca2e10f | 70 | |
71 | %build | |
870e6188 | 72 | cp -f /usr/share/automake/config.sub DPS |
6e61e40e | 73 | %configure2_13 |
3634a52c | 74 | %{__make} \ |
a03f8a90 | 75 | shared=yes \ |
76 | debug=no \ | |
77 | SHARE_JPEG=1 \ | |
7b4bab18 | 78 | gsdir=/usr/share/ghostscript/5.50 \ |
739bd839 | 79 | gsdatadir=/usr/share/ghostscript/5.50 |
e7208873 | 80 | |
7ca2e10f | 81 | %install |
82 | rm -rf $RPM_BUILD_ROOT | |
e7208873 | 83 | |
3634a52c | 84 | %{__make} install \ |
a03f8a90 | 85 | DESTDIR=$RPM_BUILD_ROOT \ |
b911ec77 | 86 | m4datadir=%{_aclocaldir} \ |
739bd839 JB |
87 | shared=yes \ |
88 | debug=no | |
7ca2e10f | 89 | |
90 | # remove files provided by normal ghostscript | |
14e87d94 | 91 | rm -rf $RPM_BUILD_ROOT%{_mandir} |
b911ec77 JB |
92 | (cd $RPM_BUILD_ROOT%{_bindir}; |
93 | rm -f bdftops font2c gsbj gsdj gsdj500 gslj gslp gsnd printafm wftopfa | |
94 | ) | |
7ca2e10f | 95 | |
b911ec77 JB |
96 | mv -f $RPM_BUILD_ROOT%{_datadir}/ghostscript/*/doc ./htmldoc |
97 | ||
a9f32d13 JR |
98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
2ab882ce | 101 | %post -p /sbin/ldconfig |
102 | %postun -p /sbin/ldconfig | |
ade436ea | 103 | |
7ca2e10f | 104 | %files |
ade436ea | 105 | %defattr(644,root,root,755) |
c4245446 | 106 | %doc ANNOUNCE FAQ NEWS README STATUS TODO ChangeLog |
a03f8a90 | 107 | %attr(755,root,root) %{_bindir}/dpsexec |
108 | %attr(755,root,root) %{_bindir}/dpsnx.agent | |
109 | %attr(755,root,root) %{_bindir}/makepsres | |
110 | %attr(755,root,root) %{_bindir}/pswrap | |
111 | %attr(755,root,root) %{_bindir}/texteroids | |
112 | %attr(755,root,root) %{_bindir}/xepsf | |
113 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
870e6188 JB |
114 | %dir %{_datadir}/ghostscript/5.50 |
115 | %{_datadir}/ghostscript/5.50/*.ps | |
116 | %{_datadir}/ghostscript/5.50/Fontmap | |
a03f8a90 | 117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
b911ec77 | 120 | %doc htmldoc/* |
a03f8a90 | 121 | %attr(755,root,root) %{_bindir}/dgs-config |
122 | %attr(755,root,root) %{_libdir}/lib*.so | |
7be5368d | 123 | %{_libdir}/lib*.la |
80c66c7f | 124 | %{_includedir}/DPS |
a03f8a90 | 125 | %{_aclocaldir}/* |
126 | ||
127 | %files static | |
9f9c517e | 128 | %defattr(644,root,root,755) |
129 | %{_libdir}/lib*.a |