enable tests
This commit is contained in:
parent
2c3f0c6663
commit
0f13080d31
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/poppler-0.51.0.tar.xz
|
/poppler-0.51.0.tar.xz
|
||||||
|
/poppler-test-2009-05-13_0d2bfd4af4c76a3bac27ccaff793d9129df7b57a.tar.xz
|
||||||
|
15
poppler.spec
15
poppler.spec
@ -1,3 +1,6 @@
|
|||||||
|
%global test_sha 0d2bfd4af4c76a3bac27ccaff793d9129df7b57a
|
||||||
|
%global test_date 2009-05-13
|
||||||
|
|
||||||
Summary: PDF rendering library
|
Summary: PDF rendering library
|
||||||
Name: poppler
|
Name: poppler
|
||||||
Version: 0.51.0
|
Version: 0.51.0
|
||||||
@ -5,6 +8,8 @@ Release: 2%{?dist}
|
|||||||
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
|
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
|
||||||
URL: http://poppler.freedesktop.org/
|
URL: http://poppler.freedesktop.org/
|
||||||
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz
|
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz
|
||||||
|
# git archive --prefix test/
|
||||||
|
Source1: %{name}-test-%{test_date}_%{test_sha}.tar.xz
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1185007
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1185007
|
||||||
Patch0: poppler-0.30.0-rotated-words-selection.patch
|
Patch0: poppler-0.30.0-rotated-words-selection.patch
|
||||||
@ -140,7 +145,12 @@ Requires: %{name}-glib%{?_isa} = %{version}-%{release}
|
|||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -b 1
|
||||||
|
sed -i \
|
||||||
|
-e '/@\s*check_search\$(EXEEXT)/d' \
|
||||||
|
-e '/@\s*check_password\$(EXEEXT)/d' \
|
||||||
|
qt4/tests/Makefile.in \
|
||||||
|
qt5/tests/Makefile.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -176,6 +186,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export LD_LIBRARY_PATH=`pwd`/poppler/.libs:`pwd`/qt4/src/.libs:`pwd`/qt5/src/.libs:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
# verify pkg-config sanity/version
|
# verify pkg-config sanity/version
|
||||||
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
|
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
|
||||||
test "$(pkg-config --modversion poppler)" = "%{version}"
|
test "$(pkg-config --modversion poppler)" = "%{version}"
|
||||||
|
1
sources
1
sources
@ -1 +1,2 @@
|
|||||||
SHA512 (poppler-0.51.0.tar.xz) = f2e49cc8587396e38ac9125fa662bcb472eb0b9c9e0ce57135d72ad1792d55db858c7d00b8322b52ac3fe0cd97eacd2d570d3e579367c4acf2f04051f723c5c5
|
SHA512 (poppler-0.51.0.tar.xz) = f2e49cc8587396e38ac9125fa662bcb472eb0b9c9e0ce57135d72ad1792d55db858c7d00b8322b52ac3fe0cd97eacd2d570d3e579367c4acf2f04051f723c5c5
|
||||||
|
SHA512 (poppler-test-2009-05-13_0d2bfd4af4c76a3bac27ccaff793d9129df7b57a.tar.xz) = f8ce114357043a893100de2d52ada8bd850148d19f0e8c889988ea97e9a92313f0545c0b88ef32a1ce7f0e9e58edc1a8c9066278c20b7718ca619913fd4bfb3c
|
||||||
|
Loading…
Reference in New Issue
Block a user