forked from pool/scribus
Accepting request 1102710 from KDE:Extra
build without podofo on TW OBS-URL: https://build.opensuse.org/request/show/1102710 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scribus?expand=0&rev=83
This commit is contained in:
commit
9fa812cfd2
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 12:17:33 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Disable AI PDF import support until scribus supports Podofo >= 0.10
|
||||
(cf. https://bugs.scribus.net/view.php?id=16948)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 10:46:04 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
22
scribus.spec
22
scribus.spec
@ -17,12 +17,16 @@
|
||||
#
|
||||
|
||||
|
||||
# Disable AI PDF import until scribus supports podofo 0.10
|
||||
# (https://bugs.scribus.net/view.php?id=16948)
|
||||
%if 0%{?suse_version} < 1550
|
||||
%bcond_without podofo
|
||||
%endif
|
||||
Name: scribus
|
||||
Version: 1.5.8
|
||||
Release: 0
|
||||
Summary: Page Layout and Desktop Publishing (DTP)
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/Other
|
||||
URL: https://www.scribus.net/
|
||||
# https://sourceforge.net/projects/scribus/files/scribus-devel/1.5.8/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
@ -53,7 +57,9 @@ BuildRequires: libcdr-devel
|
||||
BuildRequires: libfreehand-devel
|
||||
BuildRequires: libmspub-devel
|
||||
BuildRequires: libpagemaker-devel
|
||||
%if %{with podofo}
|
||||
BuildRequires: libpodofo-devel
|
||||
%endif
|
||||
BuildRequires: libqxp-devel
|
||||
BuildRequires: librevenge-devel
|
||||
BuildRequires: libtiff-devel
|
||||
@ -107,7 +113,6 @@ of color separations.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for Scribus
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description doc
|
||||
This package provides the documentation for Scribus.
|
||||
@ -123,12 +128,15 @@ mkdir build
|
||||
pushd build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DWANT_DISTROBUILD=1 \
|
||||
-DWANT_HUNSPELL=1 \
|
||||
-DWANT_GRAPHICSMAGICK=1 \
|
||||
-DWANT_CPP17=ON \
|
||||
-DWANT_DISTROBUILD=TRUE \
|
||||
-DWANT_HUNSPELL=TRUE \
|
||||
-DWANT_GRAPHICSMAGICK=TRUE \
|
||||
-DWANT_CPP17=TRUE \
|
||||
%if "%{_lib}" == "lib64"
|
||||
-DWANT_LIB64=1
|
||||
-DWANT_LIB64=TRUE \
|
||||
%endif
|
||||
%if %{without podofo}
|
||||
-DWITH_PODOFO=FALSE
|
||||
%endif
|
||||
|
||||
%cmake_build
|
||||
|
Loading…
Reference in New Issue
Block a user