|
@@ -1,17 +1,18 @@
|
|
|
Summary: HTML to PDF/Image generation application
|
|
|
Summary(ja): HTMLからPDFまたは画像を生成するアプリケーション
|
|
|
Name: wkhtmltopdf
|
|
|
-Version: 0.12.5
|
|
|
+Version: 0.12.6
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: GPLv3
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: publishing
|
|
|
Url: http://wkhtmltopdf.org/
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
-Source0: wkhtmltopdf-%{version}.tar.gz
|
|
|
-Source1: patched-qt.tar.xz
|
|
|
+Source0: https://github.com/wkhtmltopdf/wkhtmltopdf/archive/refs/tags/%{version}.tar.gz#/wkhtmltopdf-%{version}.tar.gz
|
|
|
+# https://github.com/wkhtmltopdf/qt
|
|
|
+Source1: patched-qt-20220817.tar.xz
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
@@ -21,7 +22,7 @@ BuildRequires: libpng-devel
|
|
|
BuildRequires: libX11-devel
|
|
|
BuildRequires: libXext-devel
|
|
|
BuildRequires: libXrender-devel
|
|
|
-BuildRequires: openssl-devel
|
|
|
+BuildRequires: openssl111-devel
|
|
|
BuildRequires: pkgconfig
|
|
|
BuildRequires: python
|
|
|
BuildRequires: zlib-devel
|
|
@@ -36,12 +37,15 @@ This package includes following command.
|
|
|
%package devel
|
|
|
Summary: Development files for wkhtmltopdf
|
|
|
Summary(ja): wkhtmltopdf の開発ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
|
Development files for wkhtmltox.
|
|
|
|
|
|
+# no debug symbols.
|
|
|
+#debug_package
|
|
|
+
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
@@ -59,6 +63,9 @@ sed -i.bom -e 's|\xEF\xBB\xBF||' AUTHORS
|
|
|
touch -r AUTHORS{.bom,}
|
|
|
rm -f AUTHORS.bom
|
|
|
|
|
|
+echo '*-g++*:QMAKE_CXXFLAGS += -std=gnu++98' >> qt/src/script/script.pro
|
|
|
+
|
|
|
+
|
|
|
%build
|
|
|
|
|
|
pushd qt
|
|
@@ -129,16 +136,11 @@ rm -rf scripts/test*
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
-%post
|
|
|
-/sbin/ldconfig
|
|
|
-%postun
|
|
|
-/sbin/ldconfig
|
|
|
-
|
|
|
%files
|
|
|
+%license LICENSE
|
|
|
%doc AUTHORS
|
|
|
%doc CHANGELOG.md
|
|
|
%doc CHANGELOG-OLD
|
|
|
-%doc LICENSE
|
|
|
%doc README.md
|
|
|
%{_bindir}/*
|
|
|
%{_libdir}/*.so.*
|
|
@@ -152,6 +154,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Aug 17 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.6-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Fri Nov 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.5-1
|
|
|
- new upstream release.
|
|
|
|