]>
Commit | Line | Data |
---|---|---|
31bf2dda | 1 | %include /usr/lib/rpm/macros.perl |
e3b33cf7 | 2 | |
3 | %define python_dir %(echo `python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`) | |
4 | %define python_include_dir %(echo `python -c "import sys; print (sys.prefix + '/include/python' + sys.version[:3])"`) | |
5 | ||
af173c43 | 6 | Summary: Portable C library for dynamically generating PDF files |
42706866 | 7 | Name: pdflib |
403f592d | 8 | Version: 3.03 |
76efb9e5 | 9 | Release: 3 |
90d402cb | 10 | License: GPL |
42706866 | 11 | Group: Libraries |
af173c43 | 12 | Group(fr): Librairies |
13 | Group(pl): Biblioteki | |
31bf2dda | 14 | Source0: http://www.pdflib.com/pdflib/download/%{name}-%{version}.tar.gz |
15 | Patch0: pdflib-DESTDIR.patch | |
16 | BuildRequires: python-devel | |
5f3361bc | 17 | BuildRequires: perl-devel >= 5.6.1 |
31bf2dda | 18 | BuildRequires: tcl-devel |
19 | BuildRequires: zlib-devel | |
0b3ef2a8 | 20 | BuildRequires: libpng-devel >= 1.0.8 |
31bf2dda | 21 | BuildRequires: libtiff-devel |
5f3361bc | 22 | BuildRequires: libtool |
a35073f0 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42706866 | 24 | |
90d402cb | 25 | %description |
af173c43 | 26 | PDFlib is a C library for generating PDF files. It offers a graphics |
27 | API with support for drawing, text, fonts, images, and hypertext. Call | |
28 | PDFlib routines from within your client program and voila: dynamic PDF | |
29 | files! For detailed instructions on PDFlib programming and the | |
30 | associated API, see the PDFlib Programming Manual, included in PDF | |
31 | format in the PDFlib distribution. | |
90d402cb | 32 | |
33 | %package devel | |
90d402cb | 34 | Summary: Header file for pdflib |
31bf2dda | 35 | Group: Development/Libraries |
36 | Requires: %{name} = %{version} | |
42706866 | 37 | |
90d402cb | 38 | %description devel |
af173c43 | 39 | This package contains the files needed for compiling programs using |
40 | the PDF library. | |
42706866 | 41 | |
31bf2dda | 42 | %package perl |
43 | Summary: Perl bindings for pdflib | |
44 | Group: Development/Languages/Perl | |
45 |