forked from pool/mupdf
Accepting request 814107 from Publishing
- Fix building with gcc10 OBS-URL: https://build.opensuse.org/request/show/814107 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=41
This commit is contained in:
commit
3185b870c0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 12 08:32:08 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Fix building with gcc10
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 10 11:41:20 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
Tue Sep 10 11:41:20 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
10
mupdf.spec
10
mupdf.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mupdf
|
# spec file for package mupdf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
# Copyright (c) 2011 Guido Berhoerster.
|
# Copyright (c) 2011 Guido Berhoerster.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: PDF and XPS Viewer and Parser and Rendering Library
|
Summary: PDF and XPS Viewer and Parser and Rendering Library
|
||||||
License: AGPL-3.0-or-later
|
License: AGPL-3.0-or-later
|
||||||
Group: Productivity/Office/Other
|
Group: Productivity/Office/Other
|
||||||
Url: https://mupdf.com/
|
URL: https://mupdf.com/
|
||||||
Source0: https://mupdf.com/downloads/archive/%{name}-%{version}-source.tar.xz
|
Source0: https://mupdf.com/downloads/archive/%{name}-%{version}-source.tar.xz
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Source2: %{name}-gl.desktop
|
Source2: %{name}-gl.desktop
|
||||||
@ -94,8 +94,8 @@ echo > user.make "\
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
export XCFLAGS="%{optflags} -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
|
export XCFLAGS="%{optflags} -fcommon -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
|
||||||
make %{?_smp_mflags} build=release verbose=yes
|
%make_build build=release verbose=yes
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install build=release prefix=%{_prefix} libdir=%{_libdir}
|
%make_install build=release prefix=%{_prefix} libdir=%{_libdir}
|
||||||
@ -130,7 +130,7 @@ cd %{buildroot}/%{_bindir} && ln -s %{name}-x11 %{name}
|
|||||||
%{_datadir}/icons/hicolor/scalable
|
%{_datadir}/icons/hicolor/scalable
|
||||||
%{_datadir}/icons/hicolor/scalable/apps
|
%{_datadir}/icons/hicolor/scalable/apps
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/*
|
%{_datadir}/icons/hicolor/scalable/apps/*
|
||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user