diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-21 08:12:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-21 08:12:39 +0000 |
commit | d4a0f8800826e7bbdf699b986ea1ce90663245e0 (patch) | |
tree | a8b4c2fee7c5ec8180ac2da4f05559fb7e5b537e /poppler.spec | |
parent | 69ee0261ef8a845ede9f78cf6039d3b9cd2febf1 (diff) |
automatic import of poppler
Diffstat (limited to 'poppler.spec')
-rw-r--r-- | poppler.spec | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/poppler.spec b/poppler.spec index 1fd7207..743aa0e 100644 --- a/poppler.spec +++ b/poppler.spec @@ -1,5 +1,4 @@ -%global test_sha 03a4b9eb854a06a83c465e82de601796c458bbe9 -%global test_date 2021-01-11 +%global test_sha ff3133cdb6cb496ee1d2c3231bfa35006a5e8410 %global qt6 1 Name: poppler @@ -9,7 +8,7 @@ Summary: PDF rendering library License: GPLv2+ and LGPLv2+ and MIT URL: http://poppler.freedesktop.org/ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz -Source1: %{name}-test-%{test_date}-%{test_sha}.tar.xz +Source1: https://gitlab.freedesktop.org/poppler/test/-/archive/%{test_sha}/test-%{test_sha}.tar.bz2 Patch1: poppler-0.90.0-position-independent-code.patch Patch3: poppler-21.01.0-glib-introspection.patch @@ -151,7 +150,8 @@ other formats. %package_help %prep -%autosetup -p1 -b 1 +%autosetup -p1 +tar xf %{S:1} chmod -x poppler/CairoFontEngine.cc %build @@ -161,7 +161,8 @@ chmod -x poppler/CairoFontEngine.cc -DENABLE_GTK_DOC=ON \ -DENABLE_LIBOPENJPEG=openjpeg2 \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ - -DENABLE_ZLIB=OFF + -DENABLE_ZLIB=OFF \ + -DTESTDATADIR=test-%{test_sha} %cmake_build %install |