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://dl.sourceforge.net/pslib/%{name}-%{version}.tar.gz
9 # Source0-md5: 78693d87d89fe7fcc7bc45e54b7b64a6
10 Patch0: %{name}-getline.patch
11 URL: http://pslib.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: docbook-to-man
15 BuildRequires: docbook-utils
16 BuildRequires: gettext-devel
17 BuildRequires: glib2-devel
18 BuildRequires: intltool
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 pslib is a C-library to create PostScript files on the fly. It offers
24 many drawing primitives, inclusion of PNG and EPS images and a very
25 sophisticated text rendering including hyphenation, kerning and
26 ligatures. It can read external Type1 fonts and embed them into the
27 output file. It supports pdfmarks which makes it in combination with
28 ghostscript's pdfwriter an alternative for libraries creating PDF.
30 %description -l pl.UTF-8
31 pslib to biblioteka C do tworzenia w locie plików PostScript. Oferuje
32 rysowanie wielu prymitywów, włączanie obrazów PNG i EPS oraz bardzo
33 wyszukane renderowanie tekstu włącznie z przenoszeniem, kerningiem i
34 ligaturami. Może wczytywać zewnętrzne fonty Type1 i osadzać je w pliku
35 wyjściowym. Obsługuje pdfmarki, co, w połączeniu z pdfwriterem z
36 ghostscripta, czyni ją alternatywą dla bibliotek tworzących PDF.
39 Summary: Development files for the pslib C-library to create PostScript
40 Summary(pl.UTF-8): Pliki programistyczne dla biblioteki C pslib tworzącej PostScript
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
45 Development files for the pslib C-library to create PostScript files
48 %description devel -l pl.UTF-8
49 Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki
53 Summary: Static pslib library
54 Summary(pl.UTF-8): Statyczna biblioteka pslib
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
61 %description static -l pl.UTF-8
62 Statyczna biblioteka pslib.
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.so
105 %defattr(644,root,root,755)