]> git.pld-linux.org Git - SPECS.git/blob - pslib.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.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.6
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/pslib/%{name}-%{version}.tar.gz
9 # Source0-md5:  64ca84f1832f1d01e163c510c28bc6a9
10 URL:            http://pslib.sourceforge.net/
11 BuildRequires:  autoconf >= 2.52
12 BuildRequires:  automake
13 BuildRequires:  docbook-to-man
14 BuildRequires:  docbook-utils
15 BuildRequires:  gettext-tools
16 BuildRequires:  giflib-devel >= 5
17 BuildRequires:  glib2-devel >= 2.0
18 BuildRequires:  intltool
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libtiff-devel
22 BuildRequires:  libtool
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
27 many drawing primitives, inclusion of PNG and EPS images and a very
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
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.
40
41 %package devel
42 Summary:        Development files for the pslib C-library to create PostScript
43 Summary(pl.UTF-8):      Pliki programistyczne dla biblioteki C pslib tworzącej PostScript
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description devel
48 Development files for the pslib C-library to create PostScript files
49 on the fly.
50
51 %description devel -l pl.UTF-8
52 Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki
53 PostScript.
54
55 %package static
56 Summary:        Static pslib library
57 Summary(pl.UTF-8):      Statyczna biblioteka pslib
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60
61 %description static
62 Static pslib library.
63
64 %description static -l pl.UTF-8
65 Statyczna biblioteka pslib.
66
67 %prep
68 %setup -q
69
70 %build
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__autoheader}
75 %{__automake}
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libps.la
86
87 %find_lang %{name}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog README
98 %attr(755,root,root) %{_libdir}/libps.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libps.so.0
100 %{_datadir}/%{name}
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libps.so
105 %{_includedir}/libps
106 %{_pkgconfigdir}/libps.pc
107 %{_mandir}/man3/pslib.3*
108 %{_mandir}/man3/PS_*.3*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libps.a
This page took 0.799123 seconds and 3 git commands to generate.