Rebuild for jgib2dec

f38
Ankur Sinha (Ankur Sinha Gmail) 5 years ago
parent d190c0db62
commit 73157a5ec5
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

@ -1,10 +1,16 @@
# Desired jbig2dec header files and library version
# Apparantly, jbig2dec complains even about newer versions.
# Please update if needed.
%global jbig2dec_version 0.18
Name: zathura-pdf-mupdf Name: zathura-pdf-mupdf
Version: 0.3.5 Version: 0.3.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: PDF support for zathura via mupdf Summary: PDF support for zathura via mupdf
License: zlib License: zlib
URL: http://pwmt.org/projects/zathura/plugins/%{name} URL: https://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.xz Source0: %{url}/download/%{name}-%{version}.tar.xz
Patch1: 0001-Update-to-mupdf-1.17.patch Patch1: 0001-Update-to-mupdf-1.17.patch
BuildRequires: binutils BuildRequires: binutils
BuildRequires: cairo-devel BuildRequires: cairo-devel
@ -13,7 +19,6 @@ BuildRequires: desktop-file-utils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: girara-devel BuildRequires: girara-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: jbig2dec-devel
# Needed to validate appdata # Needed to validate appdata
BuildRequires: libappstream-glib BuildRequires: libappstream-glib
BuildRequires: libjpeg-turbo-devel BuildRequires: libjpeg-turbo-devel
@ -22,6 +27,12 @@ BuildRequires: mupdf-static >= 1.17
BuildRequires: openjpeg2-devel BuildRequires: openjpeg2-devel
BuildRequires: zathura-devel >= 0.3.9 BuildRequires: zathura-devel >= 0.3.9
Requires: zathura >= 0.3.9 Requires: zathura >= 0.3.9
# Depend on exact versions like mupdf does
# https://src.fedoraproject.org/rpms/mupdf/c/02d93ee0f097415aa095ffcea4d768e5f43fac91?branch=master
BuildRequires: jbig2dec-devel = %{jbig2dec_version}
BuildRequires: jbig2dec-libs = %{jbig2dec_version}
Requires: jbig2dec-libs = %{jbig2dec_version}
# Old plugins used alternatives # Old plugins used alternatives
Conflicts: zathura-pdf-poppler < 0.2.9 Conflicts: zathura-pdf-poppler < 0.2.9
@ -53,6 +64,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%{_datadir}/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml %{_datadir}/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml
%changelog %changelog
* Tue Jul 28 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.5-4
- Rebuild to require exact jgib2dec version
- #1860987
* Sat May 16 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.5-3 * Sat May 16 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.5-3
- Adjust to mupdf 1.17 - Adjust to mupdf 1.17

Loading…
Cancel
Save