Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
testing
>
wkhtmltopdf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
wkhtmltopdf.spec
@@ -6,11 +6,10 @@ Group: Development/Libraries/C and C++ Url: http://qwt.sourceforge.net/ Source0: http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-%{version}.tar.bz2 -Patch0: wkhtmltopdf-buildmanpage.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build #Requires: devel_qt4 -BuildRequires: gcc-c++ libpng-devel opt-libqt4-devel opt-libQtWebKit-devel +BuildRequires: gcc-c++ libpng-devel opt-libqt4-devel opt-libQtWebKit-devel sed %description Simple shell utility to convert html to pdf using the webkit rendering engine, and qt. @@ -22,7 +21,6 @@ %prep %setup -q -n %{name}-%{version} -%patch0 %build #%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} @@ -47,8 +45,10 @@ %install -export LD_LIBRARY_PATH=/opt/qt-4.8/%{_lib}:$LD_LIBRARY_PATH -%makeinstall INSTALL_ROOT=%buildroot +##export LD_LIBRARY_PATH=/opt/qt-4.8/%{_lib}:$LD_LIBRARY_PATH +sed -i s@"man.extra=LD_LIBRARY_PATH=../../bin/"@"man.extra=LD_LIBRARY_PATH=/opt/qt-4.8/%{_lib}:../../bin/"@ src/pdf/pdf.pro +mkdir -p %{buildroot}%{_mandir}/man1 +%makeinstall INSTALL_ROOT=%{buildroot}%{_prefix} # man # docu %__mkdir -p %{buildroot}%{_docdir}/%{name}/