source: projects/specs/trunk/w/wkhtmltopdf/wkhtmltopdf-vl.spec @ 9722

Revision 9722, 1.7 KB checked in by tomop, 9 years ago (diff)

wkhtmltopdf-0.12.2.1-1

Line 
1Summary: HTML to PDF/Image generation application
2Summary(ja): HTMLからPDFまたは画像を生成するアプリケーション
3Name: wkhtmltopdf
4Version: 0.12.2.1
5Release: 1%{?_dist_release}
6License: GPLv3
7Group: System Environment/Libraries
8Url: http://wkhtmltopdf.org/
9
10Source0: wkhtmltopdf-%{version}.tar.gz
11
12Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
13BuildRequires: qt4-devel
14
15%description
16Simple utility to convert html to pdf or image using the webkit
17rendering engine, and QT.
18This package includes following command.
19- wkhtmltopdf
20- wkhtmltoimage
21
22%package devel
23Summary: Development files for wkhtmltopdf
24Summary(ja): wkhtmltopdf の開発ファイル
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27
28%description devel
29Development files for wkhtmltox.
30
31
32%prep
33%setup -q -n %{name}-%{version}
34
35# libdir handling.. better handling needed
36sed -i.lib -e \
37        '/INSTALLBASE/s|lib|%{_lib}|' \
38        src/lib/lib.pro
39
40# Remove BOM
41sed -i.bom -e 's|\xEF\xBB\xBF||' AUTHORS
42touch -r AUTHORS{.bom,}
43rm -f AUTHORS.bom
44
45%build
46
47%{_qt4_qmake}
48
49make %{?_smp_mflags}
50
51%install
52rm -rf %{buildroot}
53
54make install INSTALL_ROOT=%{buildroot}/%{_prefix}
55
56# remove unneeded scripts
57rm -rf scripts/test*
58
59
60%clean
61rm -rf %{buildroot}
62
63
64%post
65/sbin/ldconfig
66%postun
67/sbin/ldconfig
68
69%files
70%doc    AUTHORS
71%doc    COPYING
72%doc    CHANGELOG.md
73%doc    CHANGELOG-OLD
74%doc    README.md
75%{_bindir}/*
76%{_libdir}/*.so.*
77%{_mandir}/man1/wkhtmltoimage.1*
78%{_mandir}/man1/wkhtmltopdf.1*
79
80%files devel
81%doc examples
82%{_libdir}/*.so
83%{_includedir}/*
84
85
86%changelog
87* Sat Aug 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.2.1-1
88- new upstream release.
89
90* Mon Dec 10 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.0-0.rc1
91- initial build for Vine Linux
92
Note: See TracBrowser for help on using the repository browser.