]>
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 |
4 | Version: 0.2.5 | |
9c0a9421 | 5 | Release: 2 |
e15c59e6 | 6 | License: LGPL |
9c0a9421 | 7 | Group: Libraries |
58649c81 | 8 | Source0: http://dl.sourceforge.net/pslib/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 12cf52461658fe32524975896771b66d | |
e15c59e6 | 10 | URL: http://pslib.sourceforge.net/ |
b504356f | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
e15c59e6 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | pslib is a C-library to create PostScript files on the fly. It offers | |
9c0a9421 | 17 | many drawing primitives, inclusion of PNG and EPS images and a very |
e15c59e6 | 18 | sophisticated text rendering including hyphenation, kerning and |
19 | ligatures. It can read external Type1 fonts and embed them into the | |
20 | output file. It supports pdfmarks which makes it in combination with | |
21 | ghostscript's pdfwriter an alternative for libraries creating PDF. | |
22 | ||
8ed6c149 JR |
23 | %description -l pl.UTF-8 |
24 | pslib to biblioteka C do tworzenia w locie plików PostScript. Oferuje | |
25 | rysowanie wielu prymitywów, włączanie obrazów PNG i EPS oraz bardzo | |
26 | wyszukane renderowanie tekstu włącznie z przenoszeniem, kerningiem i | |
27 | ligaturami. Może wczytywać zewnętrzne fonty Type1 i osadzać je w pliku | |
28 | wyjściowym. Obsługuje pdfmarki, co, w połączeniu z pdfwriterem z | |
29 | ghostscripta, czyni ją alternatywą dla bibliotek tworzących PDF. | |
9c0a9421 | 30 | |
e15c59e6 | 31 | %package devel |
32 | Summary: Development files for the pslib C-library to create PostScript | |
df67e5e4 | 33 | Summary(pl.UTF-8): Pliki programistyczne dla biblioteki C pslib tworzącej PostScript |
e15c59e6 | 34 | Group: Development/Libraries |
9c0a9421 | 35 | Requires: %{name} = %{version}-%{release} |
e15c59e6 | 36 | |
37 | %description devel | |
38 | Development files for the pslib C-library to create PostScript files | |
9c0a9421 JB |
39 | on the fly. |
40 | ||
8ed6c149 JR |
41 | %description devel -l pl.UTF-8 |
42 | Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki | |
9c0a9421 | 43 | PostScript. |
e15c59e6 | 44 | |
45 | %package static | |
9c0a9421 | 46 | Summary: Static pslib library |
df67e5e4 | 47 | Summary(pl.UTF-8): Statyczna biblioteka pslib |
e15c59e6 | 48 | Group: Development/Libraries |
9c0a9421 | 49 | Requires: %{name} = %{version}-%{release} |
e15c59e6 | 50 | |
51 | %description static | |
9c0a9421 | 52 | Static pslib library. |
e15c59e6 | 53 | |
8ed6c149 | 54 | %description static -l pl.UTF-8 |
9c0a9421 | 55 | Statyczna biblioteka pslib. |
e15c59e6 | 56 | |
57 | %prep | |
58 | %setup -q | |
59 | ||
60 | %build | |
61 | %{__aclocal} | |
62 | %{__autoconf} | |
63 | %{__automake} | |
64 | %configure | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
9c0a9421 JB |
70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
e15c59e6 | 72 | |
73 | %find_lang %{name} | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
9c0a9421 JB |
78 | %post -p /sbin/ldconfig |
79 | %postun -p /sbin/ldconfig | |
e15c59e6 | 80 | |
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
83 | %doc AUTHORS ChangeLog NEWS README | |
84 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
85 | %{_datadir}/%{name} | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
9c0a9421 | 89 | %attr(755,root,root) %{_libdir}/lib*.so |
e15c59e6 | 90 | %{_libdir}/lib*.la |
91 | %{_includedir}/* | |
92 | %{_pkgconfigdir}/* | |
e15c59e6 | 93 | |
94 | %files static | |
95 | %defattr(644,root,root,755) | |
96 | %{_libdir}/lib*.a |