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 5
[-]
[+]
Changed
wkhtmltopdf.spec
@@ -9,8 +9,7 @@ Patch0: wkhtmltopdf-buildmanpage.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -#Requires: devel_qt4 -BuildRequires: gcc-c++ libpng-devel opt-libqt4-devel opt-libQtWebKit-devel sed +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. @@ -25,12 +24,6 @@ %patch0 %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 @@ -47,17 +40,8 @@ %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.md README.md %{buildroot}%{_docdir}/%{name}/ -#%if 0%{?suse_version} >= 1100 -#%fdupes %{buildroot} -#%endif %post @@ -68,10 +52,9 @@ %files %defattr(-,root,root) -%dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/COPYING -%doc %{_docdir}/%{name}/changelog -%doc %{_docdir}/%{name}/README +%doc COPYING +%doc CHANGELOG.md +%doc README.md %{_bindir}/wkhtmltopdf %changelog