Subversion Repositories ALCASAR

Rev

Blame | Last modification | View Log

Name:                   wkhtmltopdf
Version:                0.12.4
Release:                %mkrel 1
Summary:                Convert HTML to PDF
License:                LGPLv3
Group:                  Development/Tools
URL:                    https://wkhtmltopdf.org/
Source:                 wkhtmltox-%{version}_linux-generic-amd64.tar.xz
Exclusivearch:  x86_64
Provides:               wkhtmltopdf = %{version}-%{release}
BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Convert HTML to PDF using the Qt WebKit rendering engine

%prep
%setup -q -n wkhtmltox

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1

cp bin/wkhtmltopdf  %{buildroot}%{_bindir}
cp share/man/man1/wkhtmltopdf.1.gz  %{buildroot}%{_mandir}/man1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/wkhtmltopdf

%{_bindir}/wkhtmltopdf
%{_mandir}/man1/wkhtmltopdf.1.xz

%changelog
* Tue Apr 11 2017 Tom Houdayer - 0.12.4-1
- Do not package "wkhtmltoimages", "lib" and "include" dir anymore (only "wkhtmltopdf")

* Tue Jul 19 2016 Raphael for ALCASAR projet
RPM created for Mageia