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