Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
testing
>
wkhtmltopdf
> wkhtmltopdf.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File wkhtmltopdf.spec of Package wkhtmltopdf (Revision 3)
Currently displaying revision
3
,
show latest
Name: wkhtmltopdf Summary: Qt Widgets for Technical Applications Version: 0.12.1.1 Release: 1.1 License: LGPL Group: Development/Libraries/C and C++ Url: http://qwt.sourceforge.net/ Source0: http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build #Requires: devel_qt4 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. Authors: -------- antialize@gmail.com %prep %setup -q -n %{name}-%{version} %build #%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} #export PATH=%{_libdir}/qt4/bin/:$PATH #%endif #%if 0%{?mandriva_version} == 2008 || 0%{?mdkversion} == 200800 #export PATH=/usr/lib/qt4/bin/:$PATH #%endif export PATH=/opt/qt-4.8/bin:$PATH # Now build the qwt5 library qmake \ INSTALLBASE=%{_prefix} \ QMAKE_CXXFLAGS="%optflags" \ target.path=%{_libdir} \ headers.path=%{_includedir}/%{name} \ doc.path=%{_docdir}/%{name}-devel-doc #CONFIG+=QwtDll CONFIG+=QwtDesigner CONFIG+=QwtExamples -after \ %__make %{?jobs:-j%jobs} %install ##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}/ %__mv -v COPYING changelog README %{buildroot}%{_docdir}/%{name}/ #%if 0%{?suse_version} >= 1100 #%fdupes %{buildroot} #%endif %post %postun %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/changelog %doc %{_docdir}/%{name}/README %{_bindir}/wkhtmltopdf %changelog