]> git.pld-linux.org Git - packages/pslib.git/blob - pslib.spec
- fixed Source0, ehm md5sum was good. Sleep, chrr chrr
[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:        1
6 License:        LGPL
7 Group:          Development/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 %package devel
24 Summary:        Development files for the pslib C-library to create PostScript
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}
27
28 %description devel
29 Development files for the pslib C-library to create PostScript files
30 on the fly. It offers many drawing primitives, inclusion of png and
31 eps images and a very sophisticated text rendering including
32 hyphenation, kerning and ligatures. It can read external Type1 fonts
33 and embed them into the output file. It supports pdfmarks which makes
34 it in combination with ghostscript's pdfwriter an alternative for
35 libraries creating PDF.
36
37 %package static
38 Summary:        Static libraries for the pslib C-library to create PostScript
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}
41
42 %description static
43 Static libraries for the pslib C-library to create PostScript files on
44 the fly. It offers many drawing primitives, inclusion of png and eps
45 images and a very sophisticated text rendering including hyphenation,
46 kerning and ligatures. It can read external Type1 fonts and embed them
47 into the output file. It supports pdfmarks which makes it in
48 combination with ghostscript's pdfwriteran alternative for libraries
49 creating PDF.
50
51
52 %prep
53 %setup -q
54
55 %build
56 %{__aclocal}
57 %{__autoconf}
58 %{__automake}
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} DESTDIR=$RPM_BUILD_ROOT install
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post -p /sbin/ldconfig
73
74 %postun -p /sbin/ldconfig
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
80 %{_datadir}/%{name}
81
82 %files devel
83 %defattr(644,root,root,755)
84 %{_libdir}/lib*.so
85 %{_libdir}/lib*.la
86 %{_includedir}/*
87 %{_pkgconfigdir}/*
88 #{_mandir}/man3/*.3*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.095091 seconds and 3 git commands to generate.