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 9)
Currently displaying revision
9
,
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 Patch0: wkhtmltopdf-buildmanpage.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ libpng-devel opt-libqt4-devel opt-libQtWebKit-devel %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} %patch0 %build 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 mkdir -p %{buildroot}%{_mandir}/man1 %makeinstall INSTALL_ROOT=%{buildroot} %ifarch x86_64 mkdir -p %{buildroot}%{_libdir} mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/ %endif %post %postun %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING %doc CHANGELOG.md %doc README.md %{_bindir}/wkhtmltopdf %changelog