Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37481007
en ru br
ALT Linux repos
S:0.12.6-alt2

Group :: Publishing
RPM: wkhtmltopdf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: wkhtmltopdf
Version: 0.12.6
Release: alt2

Summary: Command line utility to convert html to pdf using WebKit
License: %gpl3plus
Group: Publishing
URL: http://wkhtmltopdf.org/
Packager: Artem Zolochevskiy <azol at altlinux.ru>

# https://github.com/wkhtmltopdf/wkhtmltopdf.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses
# Automatically added by buildreq on Fri Mar 26 2010
BuildRequires: qt5-base-devel qt5-webkit-devel qt5-xmlpatterns-devel qt5-svg-devel

%description
wkhtmltopdf is a command line program which permits to create a pdf from
an url, a local html file or stdin. It produces a pdf like rendred with
the WebKit engine.

This program requires an X11 server to run.

%package -n libwkhtmltox
Summary: Shared libraries of libwkhtmltox
Group: System/Libraries

%description -n libwkhtmltox
wkhtmltopdf is a command line program which permits to create a pdf from
an url, a local html file or stdin. It produces a pdf like rendred with
the WebKit engine.

This package contains development files of libwkhtmltox.

%package -n libwkhtmltox-devel
Summary: Development files of libwkhtmltox
Group: Development/C++
Requires: %name = %EVR
Requires: libwkhtmltox = %EVR

%description -n libwkhtmltox-devel
wkhtmltopdf is a command line program which permits to create a pdf from
an url, a local html file or stdin. It produces a pdf like rendred with
the WebKit engine.

This package contains development files of libwkhtmltox.

%prep
%setup

%build
%qmake_qt5
%make_build

%install
%make_install INSTALL_ROOT=%buildroot%prefix install

%if "%_libexecdir" != "%_libdir"
mv %buildroot%_libexecdir %buildroot%_libdir
%endif

%files
%doc *.md AUTHORS
%_bindir/*
%_man1dir/*

%files -n libwkhtmltox
%_libdir/*.so.*

%files -n libwkhtmltox-devel
%_includedir/*
%_libdir/*.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin