]>
Commit | Line | Data |
---|---|---|
e15c59e6 | 1 | Summary: The pslib C-library to create PostScript on the fly |
df67e5e4 | 2 | Summary(pl.UTF-8): Biblioteka do generowania w locie plików PostScript |
e15c59e6 | 3 | Name: pslib |
ddc744e3 | 4 | Version: 0.4.1 |
81f683db | 5 | Release: 2 |
e15c59e6 | 6 | License: LGPL |
9c0a9421 | 7 | Group: Libraries |
58649c81 | 8 | Source0: http://dl.sourceforge.net/pslib/%{name}-%{version}.tar.gz |
ddc744e3 AM |
9 | # Source0-md5: 78693d87d89fe7fcc7bc45e54b7b64a6 |
10 | Patch0: %{name}-getline.patch | |
e15c59e6 | 11 | URL: http://pslib.sourceforge.net/ |
b504356f | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
2fd68bb4 | 14 | BuildRequires: docbook-to-man |
15 | BuildRequires: docbook-utils | |
16 | BuildRequires: gettext-devel | |
17 | BuildRequires: glib2-devel | |
18 | BuildRequires: intltool | |
ddc744e3 | 19 | BuildRequires: libtool |
e15c59e6 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | pslib is a C-library to create PostScript files on the fly. It offers | |
9c0a9421 | 24 | many drawing primitives, inclusion of PNG and EPS images and a very |
e15c59e6 | 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. | |
29 | ||
8ed6c149 JR |
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. | |
9c0a9421 | 37 | |
e15c59e6 | 38 | %package devel |
39 | Summary: Development files for the pslib C-library to create PostScript | |
df67e5e4 | 40 | Summary(pl.UTF-8): Pliki programistyczne dla biblioteki C pslib tworzącej PostScript |
e15c59e6 | 41 | Group: Development/Libraries |
9c0a9421 | 42 | Requires: %{name} = %{version}-%{release} |
e15c59e6 | 43 | |
44 | %description devel | |
45 | Development files for the pslib C-library to create PostScript files | |
9c0a9421 JB |
46 | on the fly. |
47 | ||
8ed6c149 JR |
48 | %description devel -l pl.UTF-8 |
49 | Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki | |
9c0a9421 | 50 | PostScript. |
e15c59e6 | 51 | |
52 | %package static | |
9c0a9421 | 53 | Summary: Static pslib library |
df67e5e4 | 54 | Summary(pl.UTF-8): Statyczna biblioteka pslib |
e15c59e6 | 55 | Group: Development/Libraries |
9c0a9421 | 56 | Requires: %{name} = %{version}-%{release} |
e15c59e6 | 57 | |
58 | %description static | |
9c0a9421 | 59 | Static pslib library. |
e15c59e6 | 60 | |
8ed6c149 | 61 | %description static -l pl.UTF-8 |
9c0a9421 | 62 | Statyczna biblioteka pslib. |
e15c59e6 | 63 | |
64 | %prep | |
65 | %setup -q | |
ddc744e3 | 66 | %patch0 -p1 |
e15c59e6 | 67 | |
68 | %build | |
ddc744e3 | 69 | %{__libtoolize} |
e15c59e6 | 70 | %{__aclocal} |
71 | %{__autoconf} | |
72 | %{__automake} | |
73 | %configure | |
74 | %{__make} | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
9c0a9421 JB |
79 | %{__make} install \ |
80 | DESTDIR=$RPM_BUILD_ROOT | |
e15c59e6 | 81 | |
82 | %find_lang %{name} | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
9c0a9421 JB |
87 | %post -p /sbin/ldconfig |
88 | %postun -p /sbin/ldconfig | |
e15c59e6 | 89 | |
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.*.*.* | |
94 | %{_datadir}/%{name} | |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
9c0a9421 | 98 | %attr(755,root,root) %{_libdir}/lib*.so |
e15c59e6 | 99 | %{_libdir}/lib*.la |
100 | %{_includedir}/* | |
101 | %{_pkgconfigdir}/* | |
ddc744e3 | 102 | %{_mandir}/man3/*.3* |
e15c59e6 | 103 | |
104 | %files static | |
105 | %defattr(644,root,root,755) | |
106 | %{_libdir}/lib*.a |