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