Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
1351100200
:
1001689948
>
wkhtmltopdf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
wkhtmltopdf.spec
@@ -1,3 +1,5 @@ +%define qtlibdir /opt/qt-4.8/%{_lib} + Name: wkhtmltopdf Summary: Qt Widgets for Technical Applications Version: 0.12.1.1 @@ -48,6 +50,19 @@ mkdir -p %{buildroot}%{_libdir} mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/ %endif +mv %{buildroot}%{_bindir}/wkhtmltopdf %{buildroot}%{_bindir}/wkhtmltopdf.bin +mv %{buildroot}%{_bindir}/wkhtmltoimage %{buildroot}%{_bindir}/wkhtmltoimage.bin +cat > %{buildroot}%{_bindir}/wkhtmltopdf << EOF +#!/bin/bash +LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltopdf.bin $@ +EOF + +cat > %{buildroot}%{_bindir}/wkhtmltoimage << EOF +#!/bin/bash +LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltoimage.bin $@ +EOF + +chmod +x {buildroot}%{_bindir}/wkhtmltoimage %{buildroot}%{_bindir}/wkhtmltoimage.bin %post -p /sbin/ldconfig @@ -61,8 +76,8 @@ %doc COPYING %doc CHANGELOG.md %doc README.md -%{_bindir}/wkhtmltopdf -%{_bindir}/wkhtmltoimage +%{_bindir}/wkhtmltopdf* +%{_bindir}/wkhtmltoimage* %dir %{_includedir}/wkhtmltox %{_includedir}/wkhtmltox/dllbegin.inc %{_includedir}/wkhtmltox/dllend.inc