2007-01-16 00:36:27 +01:00
|
|
|
#
|
2011-02-07 16:44:49 +01:00
|
|
|
# spec file for package scribus
|
2007-01-16 00:36:27 +01:00
|
|
|
#
|
2021-03-19 17:46:37 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-12-20 14:26:08 +01:00
|
|
|
# Copyright (c) Peter Linnell and 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:27 +01:00
|
|
|
#
|
2010-12-29 00:32:41 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-24 17:39:44 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:36:27 +01:00
|
|
|
#
|
|
|
|
|
2010-12-29 00:32:41 +01:00
|
|
|
|
2007-01-16 00:36:27 +01:00
|
|
|
Name: scribus
|
2020-11-15 18:03:33 +01:00
|
|
|
Version: 1.5.6.1
|
2011-10-26 15:45:26 +02:00
|
|
|
Release: 0
|
2018-06-01 17:19:15 +02:00
|
|
|
Summary: Page Layout and Desktop Publishing (DTP)
|
|
|
|
License: GPL-2.0-or-later
|
2010-12-20 14:26:08 +01:00
|
|
|
Group: Productivity/Publishing/Other
|
2019-09-09 14:06:23 +02:00
|
|
|
URL: https://www.scribus.net/
|
2020-11-15 18:03:33 +01:00
|
|
|
# https://sourceforge.net/projects/scribus/files/scribus-devel/1.5.6.1/
|
2019-09-09 14:06:23 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2019-04-08 11:50:52 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2019-09-09 14:06:23 +02:00
|
|
|
Patch0: 0001-Make-sure-information-displayed-on-the-about-window-.patch
|
2021-03-19 17:46:37 +01:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch1: 0001-fix-build-of-pdf-import-plugin-with-poppler-21.03.0.patch
|
|
|
|
Patch2: 0002-fix-build-of-pdf-import-plugin-with-poppler-21.03.0.patch
|
Accepting request 848096 from home:wolfi323:branches:KDE:Extra
- Update to 1.5.6
* User Interface:
+ One of the most important changes compared to earlier
versions is the introduction of a context-sensitive Content
Palette. If set to visible, it will adjust to the kind of
item (text frame, image frame, table, group) you have
selected.
+ Ctrl/Cmd+Click enables selecting items below guides.
+ A new PDF-based output preview is now available.
+ Support for dark UI themes has been improved.
+ Icon set can now be changed without needing to restart
application
+ It's now possible to "cycle" through the items in a group by
pressing Alt+Ctrl/Cmd+Click
* Import/Export:
+ Support for PDF 1.6 export, including embedded OpenType
fonts.
+ A Markdown import filter has been added.
+ Improvements to the IDML, PDF, XTG, SVG and KRA importers.
* Text and Typography:
+ Launching Scribus via the Command Line on any OS will now
reveal more font-related problems; based on fontconfig 3.14.
* Colors:
+ Default black and white colors can now alternatively be
defined in RGB and LAB.
* Printing:
+ With the exception of the Windows platform, Scribus can now
use a PDF-based and newly written printing engine. PostScript
is still available, but will be removed over time.
* Scripter:
+ On platforms other than macOS, Scribus now uses Python 3 by
default. As a consequence, existing scripts will likely need
to be modified so that they run in Scribus 1.5.6.
+ Many new commands have been added to the Scripter; others
have been renamed to be more intuitive. For more information,
please have a look at the Scripter documentation, which has
also been updated to reflect the changes.
- Drop patches merged upstream:
* port-scripter-to-Python-3.patch
* Work-around-poppler-0.82-signature-changes.patch
* Use-same-mechanism-as-with-previous-poppler-versions.patch
* Fix-failure-to-build-against-poppler-0.83.0.patch
* Fix-failure-to-build-with-poppler-0.84.0.patch
* Fails-to-build-with-python-3.8.patch
* 0001-PDF-import-plugin-support-poppler-0.86.x.patch
* 0001-Fix-build-with-Qt-5.15.patch
- Add _constraints with a minimum disk size of 5GB, to avoid build
failures due to insufficient disk space
- Remove -DWANT_RELEASEWITHDEBUG=1 cmake option again, it causes
loading the plugins to fail due to unresolved symbols, and
possibly a crash on start
OBS-URL: https://build.opensuse.org/request/show/848096
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/scribus?expand=0&rev=59
2020-11-12 14:47:22 +01:00
|
|
|
BuildRequires: cmake >= 3.12.0
|
2010-12-20 14:26:08 +01:00
|
|
|
BuildRequires: cups-devel
|
2019-09-09 14:06:23 +02:00
|
|
|
BuildRequires: dos2unix
|
2012-05-25 16:18:46 +02:00
|
|
|
BuildRequires: fdupes
|
2020-09-17 21:12:20 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libboost_headers-devel
|
2019-09-09 14:06:23 +02:00
|
|
|
BuildRequires: libcdr-devel
|
|
|
|
BuildRequires: libfreehand-devel
|
|
|
|
BuildRequires: libmspub-devel
|
|
|
|
BuildRequires: libpagemaker-devel
|
2010-12-20 14:26:08 +01:00
|
|
|
BuildRequires: libpodofo-devel
|
2019-09-09 14:06:23 +02:00
|
|
|
BuildRequires: libqxp-devel
|
|
|
|
BuildRequires: librevenge-devel
|
2011-10-26 15:45:26 +02:00
|
|
|
BuildRequires: libtiff-devel
|
2019-09-09 14:06:23 +02:00
|
|
|
BuildRequires: libvisio-devel
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
BuildRequires: libwpg-devel
|
|
|
|
BuildRequires: libzmf-devel
|
2011-10-26 15:45:26 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-01-16 16:35:33 +01:00
|
|
|
BuildRequires: python3-devel
|
2010-12-20 14:26:08 +01:00
|
|
|
BuildRequires: update-desktop-files
|
Accepting request 848096 from home:wolfi323:branches:KDE:Extra
- Update to 1.5.6
* User Interface:
+ One of the most important changes compared to earlier
versions is the introduction of a context-sensitive Content
Palette. If set to visible, it will adjust to the kind of
item (text frame, image frame, table, group) you have
selected.
+ Ctrl/Cmd+Click enables selecting items below guides.
+ A new PDF-based output preview is now available.
+ Support for dark UI themes has been improved.
+ Icon set can now be changed without needing to restart
application
+ It's now possible to "cycle" through the items in a group by
pressing Alt+Ctrl/Cmd+Click
* Import/Export:
+ Support for PDF 1.6 export, including embedded OpenType
fonts.
+ A Markdown import filter has been added.
+ Improvements to the IDML, PDF, XTG, SVG and KRA importers.
* Text and Typography:
+ Launching Scribus via the Command Line on any OS will now
reveal more font-related problems; based on fontconfig 3.14.
* Colors:
+ Default black and white colors can now alternatively be
defined in RGB and LAB.
* Printing:
+ With the exception of the Windows platform, Scribus can now
use a PDF-based and newly written printing engine. PostScript
is still available, but will be removed over time.
* Scripter:
+ On platforms other than macOS, Scribus now uses Python 3 by
default. As a consequence, existing scripts will likely need
to be modified so that they run in Scribus 1.5.6.
+ Many new commands have been added to the Scripter; others
have been renamed to be more intuitive. For more information,
please have a look at the Scripter documentation, which has
also been updated to reflect the changes.
- Drop patches merged upstream:
* port-scripter-to-Python-3.patch
* Work-around-poppler-0.82-signature-changes.patch
* Use-same-mechanism-as-with-previous-poppler-versions.patch
* Fix-failure-to-build-against-poppler-0.83.0.patch
* Fix-failure-to-build-with-poppler-0.84.0.patch
* Fails-to-build-with-python-3.8.patch
* 0001-PDF-import-plugin-support-poppler-0.86.x.patch
* 0001-Fix-build-with-Qt-5.15.patch
- Add _constraints with a minimum disk size of 5GB, to avoid build
failures due to insufficient disk space
- Remove -DWANT_RELEASEWITHDEBUG=1 cmake option again, it causes
loading the plugins to fail due to unresolved symbols, and
possibly a crash on start
OBS-URL: https://build.opensuse.org/request/show/848096
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/scribus?expand=0&rev=59
2020-11-12 14:47:22 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5OpenGL) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5Xml) >= 5.11.0
|
2019-09-09 14:06:23 +02:00
|
|
|
BuildRequires: pkgconfig(GraphicsMagick)
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
|
|
|
BuildRequires: pkgconfig(hunspell)
|
|
|
|
BuildRequires: pkgconfig(icu-i18n)
|
|
|
|
BuildRequires: pkgconfig(icu-uc)
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(poppler)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
2020-09-17 21:12:20 +02:00
|
|
|
Requires: hicolor-icon-theme
|
2020-01-16 16:35:33 +01:00
|
|
|
Recommends: python3-Pillow
|
|
|
|
Recommends: python3-tk
|
2019-09-09 14:06:23 +02:00
|
|
|
# Only available in graphics for the moment
|
|
|
|
Recommends: uniconvertor
|
|
|
|
Recommends: scribus-doc
|
|
|
|
|
|
|
|
# Not packaged anymore
|
|
|
|
Provides: scribus-devel = %{version}
|
|
|
|
Obsoletes: scribus-devel < %{version}
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
%description
|
2018-06-01 17:19:15 +02:00
|
|
|
Scribus is a page layout program which produces output in PDF and
|
|
|
|
Postscript.
|
2010-12-20 14:26:08 +01:00
|
|
|
|
2018-06-01 17:19:15 +02:00
|
|
|
Scribus supports publishing features such as CMYK and spot colors,
|
|
|
|
PDF creation, Encapsulated Postscript import and export and creation
|
|
|
|
of color separations.
|
2010-12-20 14:26:08 +01:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for Scribus
|
|
|
|
Group: Documentation/HTML
|
2010-12-20 14:26:08 +01:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%description doc
|
|
|
|
This package provides the documentation for Scribus.
|
2010-12-20 14:26:08 +01:00
|
|
|
|
|
|
|
%prep
|
2020-01-16 16:35:33 +01:00
|
|
|
%setup -q
|
2019-09-09 14:06:23 +02:00
|
|
|
# W: wrong-script-end-of-line-encoding
|
2020-09-17 21:12:20 +02:00
|
|
|
# also required for cherry-picked patches
|
|
|
|
find . -type f \( -iname \*.py -o -iname \*.cpp -o -iname \*.h \) -exec dos2unix {} \;
|
2020-04-08 14:03:07 +02:00
|
|
|
|
2020-01-16 16:35:33 +01:00
|
|
|
%autopatch -p1
|
2014-05-31 21:33:36 +02:00
|
|
|
|
2010-12-20 14:26:08 +01:00
|
|
|
%build
|
2019-09-09 14:06:23 +02:00
|
|
|
# Don't use the %%cmake macro, it causes crashes when starting scribus
|
2019-04-08 11:50:52 +02:00
|
|
|
mkdir build
|
|
|
|
pushd build
|
2019-09-09 14:06:23 +02:00
|
|
|
cmake .. \
|
2019-04-08 11:50:52 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2019-09-09 14:06:23 +02:00
|
|
|
-DWANT_DISTROBUILD=1 \
|
2013-01-17 10:38:22 +01:00
|
|
|
-DWANT_HUNSPELL=1 \
|
2019-09-09 14:06:23 +02:00
|
|
|
-DWANT_GRAPHICSMAGICK=1 \
|
|
|
|
%if "%{_lib}" == "lib64"
|
|
|
|
-DWANT_LIB64=1
|
|
|
|
%endif
|
2007-01-16 00:36:27 +01:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%cmake_build
|
2019-04-08 11:50:52 +02:00
|
|
|
popd
|
2012-05-25 16:18:46 +02:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%install
|
|
|
|
%cmake_install
|
2018-04-29 05:00:40 +02:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
# These files are required at runtime to populate the help/about window
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/scribus/aboutData
|
|
|
|
mv %{buildroot}%{_datadir}/doc/scribus/{AUTHORS,COPYING,LINKS,TRANSLATION} %{buildroot}%{_datadir}/scribus/aboutData/
|
2019-04-08 11:50:52 +02:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
# Already in %%doc
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/scribus/{ChangeLog,README}
|
2019-04-08 11:50:52 +02:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}/doc/scribus
|
|
|
|
%fdupes %{buildroot}%{_datadir}/scribus
|
2011-10-26 15:45:26 +02:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%suse_update_desktop_file -r scribus Qt Office WordProcessor
|
2007-01-16 00:36:27 +01:00
|
|
|
|
2019-09-09 14:06:23 +02:00
|
|
|
%files doc
|
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README
|
|
|
|
%dir %{_datadir}/doc/scribus/
|
|
|
|
%lang(de) %{_datadir}/doc/scribus/de/
|
|
|
|
%lang(it) %{_datadir}/doc/scribus/it/
|
Accepting request 848096 from home:wolfi323:branches:KDE:Extra
- Update to 1.5.6
* User Interface:
+ One of the most important changes compared to earlier
versions is the introduction of a context-sensitive Content
Palette. If set to visible, it will adjust to the kind of
item (text frame, image frame, table, group) you have
selected.
+ Ctrl/Cmd+Click enables selecting items below guides.
+ A new PDF-based output preview is now available.
+ Support for dark UI themes has been improved.
+ Icon set can now be changed without needing to restart
application
+ It's now possible to "cycle" through the items in a group by
pressing Alt+Ctrl/Cmd+Click
* Import/Export:
+ Support for PDF 1.6 export, including embedded OpenType
fonts.
+ A Markdown import filter has been added.
+ Improvements to the IDML, PDF, XTG, SVG and KRA importers.
* Text and Typography:
+ Launching Scribus via the Command Line on any OS will now
reveal more font-related problems; based on fontconfig 3.14.
* Colors:
+ Default black and white colors can now alternatively be
defined in RGB and LAB.
* Printing:
+ With the exception of the Windows platform, Scribus can now
use a PDF-based and newly written printing engine. PostScript
is still available, but will be removed over time.
* Scripter:
+ On platforms other than macOS, Scribus now uses Python 3 by
default. As a consequence, existing scripts will likely need
to be modified so that they run in Scribus 1.5.6.
+ Many new commands have been added to the Scripter; others
have been renamed to be more intuitive. For more information,
please have a look at the Scripter documentation, which has
also been updated to reflect the changes.
- Drop patches merged upstream:
* port-scripter-to-Python-3.patch
* Work-around-poppler-0.82-signature-changes.patch
* Use-same-mechanism-as-with-previous-poppler-versions.patch
* Fix-failure-to-build-against-poppler-0.83.0.patch
* Fix-failure-to-build-with-poppler-0.84.0.patch
* Fails-to-build-with-python-3.8.patch
* 0001-PDF-import-plugin-support-poppler-0.86.x.patch
* 0001-Fix-build-with-Qt-5.15.patch
- Add _constraints with a minimum disk size of 5GB, to avoid build
failures due to insufficient disk space
- Remove -DWANT_RELEASEWITHDEBUG=1 cmake option again, it causes
loading the plugins to fail due to unresolved symbols, and
possibly a crash on start
OBS-URL: https://build.opensuse.org/request/show/848096
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/scribus?expand=0&rev=59
2020-11-12 14:47:22 +01:00
|
|
|
%lang(ru) %{_datadir}/doc/scribus/ru/
|
2019-09-09 14:06:23 +02:00
|
|
|
%{_datadir}/doc/scribus/en/
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
%files
|
2019-09-09 14:06:23 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README
|
|
|
|
%dir %{_datadir}/doc/scribus/
|
|
|
|
%dir %{_datadir}/icons/hicolor/1024x1024
|
|
|
|
%dir %{_datadir}/icons/hicolor/1024x1024/apps
|
|
|
|
%lang(de) %dir %{_mandir}/de
|
|
|
|
%lang(de) %dir %{_mandir}/de/man1
|
|
|
|
%lang(de) %{_mandir}/de/man1/scribus.1%{?ext_man}
|
|
|
|
%lang(pl) %dir %{_mandir}/pl
|
|
|
|
%lang(pl) %dir %{_mandir}/pl/man1
|
|
|
|
%lang(pl) %{_mandir}/pl/man1/scribus.1%{?ext_man}
|
2010-12-20 14:26:08 +01:00
|
|
|
%{_bindir}/scribus
|
2019-09-09 14:06:23 +02:00
|
|
|
%{_datadir}/applications/scribus.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/scribus.png
|
|
|
|
%{_datadir}/metainfo/scribus.appdata.xml
|
2019-04-08 11:50:52 +02:00
|
|
|
%{_datadir}/mime/packages/scribus.xml
|
2019-09-09 14:06:23 +02:00
|
|
|
%{_datadir}/scribus/
|
|
|
|
%{_libdir}/scribus/
|
|
|
|
%{_mandir}/man1/scribus.1%{?ext_man}
|
2010-12-20 14:26:08 +01:00
|
|
|
|
2010-12-29 00:32:41 +01:00
|
|
|
%changelog
|