]> git.pld-linux.org Git - packages/pslib.git/blob - pslib.spec
- pl, unified, cleanup; release 2
[packages/pslib.git] / pslib.spec
1 Summary:        The pslib C-library to create PostScript on the fly
2 Summary(pl):    Biblioteka do generowania w locie plików PostScript
3 Name:           pslib
4 Version:        0.2.5
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/pslib/%{name}-%{version}.tar.gz
9 # Source0-md5:  12cf52461658fe32524975896771b66d
10 URL:            http://pslib.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
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
17 many drawing primitives, inclusion of PNG and EPS images and a very
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
23 %description -l pl
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.
30
31 %package devel
32 Summary:        Development files for the pslib C-library to create PostScript
33 Summary(pl):    Pliki programistyczne dla biblioteki C pslib tworz±cej PostScript
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description devel
38 Development files for the pslib C-library to create PostScript files
39 on the fly.
40
41 %description devel -l pl
42 Pliki programistyczne dla biblioteki C pslib tworz±cej w locie pliki
43 PostScript.
44
45 %package static
46 Summary:        Static pslib library
47 Summary(pl):    Statyczna biblioteka pslib
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50
51 %description static
52 Static pslib library.
53
54 %description static -l pl
55 Statyczna biblioteka pslib.
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
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
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)
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_includedir}/*
92 %{_pkgconfigdir}/*
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.031242 seconds and 3 git commands to generate.