]> git.pld-linux.org Git - packages/pslib.git/blob - pslib.spec
- x32 rebuild
[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.5
5 Release:        8
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/pslib/%{name}-%{version}.tar.gz
9 # Source0-md5:  03f39393628a6d758799b9f845047e27
10 Patch0:         %{name}-giflib.patch
11 URL:            http://pslib.sourceforge.net/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  docbook-to-man
15 BuildRequires:  docbook-utils
16 BuildRequires:  gettext-tools
17 BuildRequires:  giflib-devel >= 5
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 %{__autoheader}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libps.la
88
89 %find_lang %{name}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog README
100 %attr(755,root,root) %{_libdir}/libps.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libps.so.0
102 %{_datadir}/%{name}
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libps.so
107 %{_includedir}/libps
108 %{_pkgconfigdir}/libps.pc
109 %{_mandir}/man3/pslib.3*
110 %{_mandir}/man3/PS_*.3*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libps.a
This page took 0.07613 seconds and 3 git commands to generate.