SHA256
1
0
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:
Dominique Leuenberger 2023-08-08 13:54:11 +00:00 committed by Git OBS Bridge
commit 9fa812cfd2
2 changed files with 21 additions and 7 deletions

View File

@ -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> Tue Sep 20 10:46:04 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -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 Name: scribus
Version: 1.5.8 Version: 1.5.8
Release: 0 Release: 0
Summary: Page Layout and Desktop Publishing (DTP) Summary: Page Layout and Desktop Publishing (DTP)
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Publishing/Other
URL: https://www.scribus.net/ URL: https://www.scribus.net/
# https://sourceforge.net/projects/scribus/files/scribus-devel/1.5.8/ # https://sourceforge.net/projects/scribus/files/scribus-devel/1.5.8/
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
@ -53,7 +57,9 @@ BuildRequires: libcdr-devel
BuildRequires: libfreehand-devel BuildRequires: libfreehand-devel
BuildRequires: libmspub-devel BuildRequires: libmspub-devel
BuildRequires: libpagemaker-devel BuildRequires: libpagemaker-devel
%if %{with podofo}
BuildRequires: libpodofo-devel BuildRequires: libpodofo-devel
%endif
BuildRequires: libqxp-devel BuildRequires: libqxp-devel
BuildRequires: librevenge-devel BuildRequires: librevenge-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
@ -107,7 +113,6 @@ of color separations.
%package doc %package doc
Summary: Documentation for Scribus Summary: Documentation for Scribus
Group: Documentation/HTML
%description doc %description doc
This package provides the documentation for Scribus. This package provides the documentation for Scribus.
@ -123,12 +128,15 @@ mkdir build
pushd build pushd build
cmake .. \ cmake .. \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DWANT_DISTROBUILD=1 \ -DWANT_DISTROBUILD=TRUE \
-DWANT_HUNSPELL=1 \ -DWANT_HUNSPELL=TRUE \
-DWANT_GRAPHICSMAGICK=1 \ -DWANT_GRAPHICSMAGICK=TRUE \
-DWANT_CPP17=ON \ -DWANT_CPP17=TRUE \
%if "%{_lib}" == "lib64" %if "%{_lib}" == "lib64"
-DWANT_LIB64=1 -DWANT_LIB64=TRUE \
%endif
%if %{without podofo}
-DWITH_PODOFO=FALSE
%endif %endif
%cmake_build %cmake_build