Search
j0ke.net Open Build Service
>
Projects
>
devel
:
libs
>
libharu
> libharu.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libharu.spec of Package libharu (Revision 4)
Currently displaying revision
4
,
show latest
%define libname libhpdf Name: libharu Version: 2.1.0 Release: 1 Url: http://libharu.org/ Source: http://libharu.org/files/%{name}-%{version}.tar.gz Summary: libHaru is a free, cross platform, open source library for generating PDF files. Group: Development/Libraries License: ZLIB/LIBPNG BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libpng-devel zlib-devel %description libHaru is a free, cross platform, open source library for generating PDF files. It supports the following features: 1. Generating PDF files with lines, text, images. 2. Outline, text annotation, link annotation. 3. Compressing document with deflate-decode. 4. Embedding PNG, Jpeg images. 5. Embedding Type1 font and TrueType font. 6. Creating encrypted PDF files. 7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). 8. Supporting CJK fonts and encodings. You can add the feature of PDF creation by using HARU without understanding complicated internal structure of PDF. libHaru is written in ANSI C, so theoretically it supports most of the modern OSes. %package devel Summary: %{name} development files Group: Development/Libraries Requires: %{name} %description devel %{name} development files (includes & extra libs) %prep %setup -n %{name}-%{version} %configure --with-zlib --with-png --with-libdir=%{_libdir} %build %__make %install %__make DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README CHANGES %{_libdir}/%{libname}-%{version}.so %files devel %defattr(-,root,root) %{_includedir}/hpdf* %{_libdir}/%{libname}.a %{_libdir}/%{libname}.la %{_libdir}/%{libname}.so %changelog * Wed Nov 19 2008 Carsten Schoene <cs@linux-administrator.com> - initial package