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