Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2010 raphael.pi 1
Summary: 	Convert HTML to PDF
2
Name: 		wkhtmltopdf
3
Version: 	0.12.3
4
Release: 	1
5
License: 	GPL
6
BuildArch: 	noarch
7
URL:            http://wkhtmltopdf.org/
8
Group: 		Development/Tools
9
Source: 	%{name}-%{version}.tar.gz
10
Provides:	wkhtmltopdf = %{version}-%{release}
11
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
12
 
13
 
14
%description
15
Convert HTML to PDF using the Qt WebKit rendering engine
16
 
17
%prep
18
%setup -q -n %{name}-%{version}
19
 
20
 
21
%install
22
rm -rf %{buildroot}
23
 
24
mkdir -p %{buildroot}/usr/bin
25
mkdir -p %{buildroot}/usr/include
26
mkdir -p %{buildroot}/usr/include/wkhtmltox
27
mkdir -p %{buildroot}/usr/lib
28
mkdir -p %{buildroot}/usr/share
29
mkdir -p %{buildroot}/usr/share/man/man1
30
 
31
cp usr/bin/*  %{buildroot}/usr/bin/
32
cp usr/include/wkhtmltox/*  %{buildroot}/usr/include/wkhtmltox/
33
cp usr/lib/*  %{buildroot}/usr/lib/
34
cp usr/share/man/man1/*  %{buildroot}/usr/share/man/man1/
35
 
36
 
37
 
38
ln -s %{buildroot}/usr/lib/libwkhtmltox.so.0.12.3 %{buildroot}/usr/lib/libwkhtmltox.so 
39
ln -s %{buildroot}/usr/lib/libwkhtmltox.so.0.12.3 %{buildroot}/usr/lib/libwkhtmltox.so.0
40
#ln -s %{buildroot}/usr/lib/libwkhtmltox.so.0.12.3 %{buildroot}/usr/lib/libwkhtmltox.so.0.12 probleme avec le '1'
41
 
42
%clean
43
#rm -rf  %{buildroot}
44
 
45
%files
46
%defattr(-,root,root)
47
%attr(0755,root,root) /usr/bin/wkhtmltopdf
48
%attr(0755,root,root) /usr/bin/wkhtmltoimage
49
 
50
/usr/bin/wkhtmltoimage
51
/usr/bin/wkhtmltopdf
52
/usr/include/wkhtmltox/dllbegin.inc
53
/usr/include/wkhtmltox/dllend.inc
54
/usr/include/wkhtmltox/image.h
55
/usr/include/wkhtmltox/pdf.h
56
/usr/lib/libwkhtmltox.so
57
/usr/lib/libwkhtmltox.so.0
58
#/usr/lib/libwkhtmltox.so.0.12
59
/usr/lib/libwkhtmltox.so.0.12.3
60
/usr/share/man/man1/wkhtmltoimage.1.xz
61
/usr/share/man/man1/wkhtmltopdf.1.xz
62
 
63
%changelog
64
* Tue Jul 19 2016 Raphael for ALCASAR projet
65
RPM created for Mageia
66
 
67