2169 |
tom.houday |
1 |
Name: wkhtmltopdf
|
|
|
2 |
Version: 0.12.4
|
|
|
3 |
Release: %mkrel 1
|
|
|
4 |
Summary: Convert HTML to PDF
|
|
|
5 |
License: LGPLv3
|
|
|
6 |
Group: Development/Tools
|
|
|
7 |
URL: https://wkhtmltopdf.org/
|
|
|
8 |
Source: wkhtmltox-%{version}_linux-generic-amd64.tar.xz
|
|
|
9 |
Exclusivearch: x86_64
|
|
|
10 |
Provides: wkhtmltopdf = %{version}-%{release}
|
|
|
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
12 |
|
|
|
13 |
%description
|
|
|
14 |
Convert HTML to PDF using the Qt WebKit rendering engine
|
|
|
15 |
|
|
|
16 |
%prep
|
|
|
17 |
%setup -q -n wkhtmltox
|
|
|
18 |
|
|
|
19 |
%install
|
|
|
20 |
rm -rf %{buildroot}
|
|
|
21 |
|
|
|
22 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
23 |
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
24 |
|
|
|
25 |
cp bin/wkhtmltopdf %{buildroot}%{_bindir}
|
|
|
26 |
cp share/man/man1/wkhtmltopdf.1.gz %{buildroot}%{_mandir}/man1
|
|
|
27 |
|
|
|
28 |
%clean
|
|
|
29 |
rm -rf %{buildroot}
|
|
|
30 |
|
|
|
31 |
%files
|
|
|
32 |
%defattr(-,root,root)
|
|
|
33 |
%attr(0755,root,root) %{_bindir}/wkhtmltopdf
|
|
|
34 |
|
|
|
35 |
%{_bindir}/wkhtmltopdf
|
|
|
36 |
%{_mandir}/man1/wkhtmltopdf.1.xz
|
|
|
37 |
|
|
|
38 |
%changelog
|
|
|
39 |
* Tue Apr 11 2017 Tom Houdayer - 0.12.4-1
|
|
|
40 |
- Do not package "wkhtmltoimages", "lib" and "include" dir anymore (only "wkhtmltopdf")
|
|
|
41 |
|
|
|
42 |
* Tue Jul 19 2016 Raphael for ALCASAR projet
|
|
|
43 |
RPM created for Mageia
|