1 Summary: The pslib C-library to create PostScript on the fly
2 Summary(pl.UTF-8): Biblioteka do generowania w locie plików PostScript
8 Source0: http://downloads.sourceforge.net/pslib/%{name}-%{version}.tar.gz
9 # Source0-md5: 03f39393628a6d758799b9f845047e27
10 Patch0: %{name}-giflib.patch
11 URL: http://pslib.sourceforge.net/
12 BuildRequires: autoconf >= 2.52
13 BuildRequires: automake
14 BuildRequires: docbook-to-man
15 BuildRequires: docbook-utils
16 BuildRequires: gettext-tools
17 BuildRequires: giflib-devel >= 5
18 BuildRequires: glib2-devel
19 BuildRequires: intltool
20 BuildRequires: libjpeg-devel
21 BuildRequires: libpng-devel
22 BuildRequires: libtiff-devel
23 BuildRequires: libtool
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 pslib is a C-library to create PostScript files on the fly. It offers
28 many drawing primitives, inclusion of PNG and EPS images and a very
29 sophisticated text rendering including hyphenation, kerning and
30 ligatures. It can read external Type1 fonts and embed them into the
31 output file. It supports pdfmarks which makes it in combination with
32 ghostscript's pdfwriter an alternative for libraries creating PDF.
34 %description -l pl.UTF-8
35 pslib to biblioteka C do tworzenia w locie plików PostScript. Oferuje
36 rysowanie wielu prymitywów, włączanie obrazów PNG i EPS oraz bardzo
37 wyszukane renderowanie tekstu włącznie z przenoszeniem, kerningiem i
38 ligaturami. Może wczytywać zewnętrzne fonty Type1 i osadzać je w pliku
39 wyjściowym. Obsługuje pdfmarki, co, w połączeniu z pdfwriterem z
40 ghostscripta, czyni ją alternatywą dla bibliotek tworzących PDF.
43 Summary: Development files for the pslib C-library to create PostScript
44 Summary(pl.UTF-8): Pliki programistyczne dla biblioteki C pslib tworzącej PostScript
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Development files for the pslib C-library to create PostScript files
52 %description devel -l pl.UTF-8
53 Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki
57 Summary: Static pslib library
58 Summary(pl.UTF-8): Statyczna biblioteka pslib
59 Group: Development/Libraries
60 Requires: %{name} = %{version}-%{release}
65 %description static -l pl.UTF-8
66 Statyczna biblioteka pslib.
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libps.la
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog README
100 %attr(755,root,root) %{_libdir}/libps.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libps.so.0
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libps.so
108 %{_pkgconfigdir}/libps.pc
109 %{_mandir}/man3/pslib.3*
110 %{_mandir}/man3/PS_*.3*
113 %defattr(644,root,root,755)