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

RevLine 
[7212]1Summary: HTML to PDF/Image generation application
2Summary(ja): HTMLからPDFまたは画像を生成するアプリケーション
3Name: wkhtmltopdf
[9722]4Version: 0.12.2.1
5Release: 1%{?_dist_release}
[7212]6License: GPLv3
7Group: System Environment/Libraries
[9722]8Url: http://wkhtmltopdf.org/
[7212]9
[9722]10Source0: wkhtmltopdf-%{version}.tar.gz
[7212]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
[9722]33%setup -q -n %{name}-%{version}
[7212]34
[9722]35# libdir handling.. better handling needed
36sed -i.lib -e \
37        '/INSTALLBASE/s|lib|%{_lib}|' \
38        src/lib/lib.pro
[7212]39
[9722]40# Remove BOM
41sed -i.bom -e 's|\xEF\xBB\xBF||' AUTHORS
42touch -r AUTHORS{.bom,}
43rm -f AUTHORS.bom
[7212]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
[9722]70%doc    AUTHORS
71%doc    COPYING
72%doc    CHANGELOG.md
73%doc    CHANGELOG-OLD
74%doc    README.md
[7212]75%{_bindir}/*
76%{_libdir}/*.so.*
[9722]77%{_mandir}/man1/wkhtmltoimage.1*
78%{_mandir}/man1/wkhtmltopdf.1*
[7212]79
80%files devel
81%doc examples
82%{_libdir}/*.so
83%{_includedir}/*
84
85
86%changelog
[9722]87* Sat Aug 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.2.1-1
88- new upstream release.
89
[7212]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.