diff --git a/daps-2.4.0.tar.bz2 b/daps-2.4.0.tar.bz2 deleted file mode 100644 index 62e079d..0000000 --- a/daps-2.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d0f5e3434fa832e28e44c7afbb4b6755f963cf9870865e97b38df5bd4f9e4e3 -size 2368834 diff --git a/daps-3.0.0.tar.bz2 b/daps-3.0.0.tar.bz2 new file mode 100644 index 0000000..20c580b --- /dev/null +++ b/daps-3.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:062eb5420d6995f4d179ed2faffbed265d9ae5055be3a9547d1084fe020a3501 +size 2387786 diff --git a/daps.changes b/daps.changes index a9ac594..21669c7 100644 --- a/daps.changes +++ b/daps.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Tue Oct 23 10:07:12 UTC 2018 - sknorr@suse.com + +- Workaround to make it possible to build things + +------------------------------------------------------------------- +Fri Oct 19 14:02:11 UTC 2018 - rick.salevsky@suse.com + +Stable release DAPS 3.0.0: + +* New Features: + - added full support for Python3 + - added SVG support for online-docs + - added support to build AsciiDoc documentation + - integrated hunspell and make aspell optional + - implement file not found for XIncludes + +* Bugfixes: + - #419: HTML and PDF builds need different paths for Admonition + and Callout Images + - #322: Add --xmlonly / --imgonly switches to list-srcfiles + - #416: DAPS Won't Built With UTF-8 Characters in XML Filenames + - #397: Spaces in path problem + - #469: RPMLINT complains about permissions of XSLT stylesheet + - #464: xmlformat incorrectly formats variablelist terms + - #466: Build issues + - #475: Tab completion creates error + - PDF fails when static links in build/.tmp already exist + +* Documentation: + - Various updates to reflect changes in the code + - Improve help text for daps-xslt + ------------------------------------------------------------------- Tue Jun 20 13:51:14 UTC 2017 - fsundermeyer@opensuse.org @@ -15,6 +48,7 @@ Hotfix for 2.4.0: Changelog: - merged SLE 12 and Factory Changelogs +- remove daps-dont-complain-about-deprecated-option.patch ------------------------------------------------------------------- Tue May 30 11:28:44 UTC 2017 - fsundermeyer@opensuse.org diff --git a/daps.spec b/daps.spec index 21cfa2a..8433bd3 100644 --- a/daps.spec +++ b/daps.spec @@ -1,7 +1,7 @@ # # spec file for package daps # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: daps -Version: 2.4.0 +Version: 3.0.0 Release: 0 ############################################################### @@ -42,7 +42,7 @@ Release: 0 %define daps_catalog for-catalog-%{name}.xml Summary: DocBook Authoring and Publishing Suite -License: GPL-2.0 or GPL-3.0 +License: GPL-2.0-only OR GPL-3.0-only Group: Productivity/Publishing/XML Url: https://github.com/openSUSE/daps Source0: %{name}-%{version}.tar.bz2 @@ -61,13 +61,13 @@ BuildRequires: docbook_4 BuildRequires: fdupes BuildRequires: ghostscript BuildRequires: inkscape +BuildRequires: jing BuildRequires: libxml2-tools BuildRequires: libxslt BuildRequires: libxslt-tools BuildRequires: poppler-tools -BuildRequires: python-lxml BuildRequires: python-xml -#BuildRequires: sgml-skel +BuildRequires: python3-lxml BuildRequires: suse-xsl-stylesheets BuildRequires: svg-dtd BuildRequires: transfig @@ -76,6 +76,19 @@ BuildRequires: xml-commons-jaxp-1.3-apis BuildRequires: xmlgraphics-fop >= 0.94 BuildRequires: xmlstarlet +# Asciidoctor is not available on Leap 42.3 +# If we have asciidoctor we build the asciidoc manual +# for which we need docbook_5 and jing +# +%if 0%{?sle_version} == 120300 +Recommends: rubygem(%{rb_default_ruby_abi}:asciidoctor) +%else +Requires: rubygem(%{rb_default_ruby_abi}:asciidoctor) +BuildRequires: docbook_5 +BuildRequires: jing +BuildRequires: rubygem(%{rb_default_ruby_abi}:asciidoctor) +%endif + # # In order to keep the requirements list as short as possible, only packages # needed to build EPUB, HTML and PDF are really required @@ -94,13 +107,14 @@ Requires: docbook_4 Requires: docbook_5 Requires: ghostscript-library Requires: inkscape +Requires: java >= 1.8.0 Requires: jing +Requires: libreoffice-draw Requires: libxslt Requires: make Requires: poppler-tools -Requires: python-lxml Requires: python-xml -#Requires: sgml-skel +Requires: python3-lxml Requires: suse-xsl-stylesheets Requires: svg-schema Requires: transfig @@ -118,10 +132,12 @@ Recommends: optipng Recommends: perl-checkbot Recommends: remake Recommends: suse-doc-style-checker +Recommends: suse-documentation-dicts-en Recommends: w3m +Recommends: xmlformat + # Internal XEP package: Recommends: xep -Recommends: xmlformat Obsoletes: susedoc < 4.3.32 Provides: susedoc = 4.3.32 @@ -148,6 +164,10 @@ for upgrade instructions. %setup -q -n %{name} #%%patch1 -p1 +# Correct shebang line as suggested in +# https://lists.opensuse.org/opensuse-packaging/2018-03/msg00017.html +sed -i '1 s|/usr/bin/env python|/usr/bin/python|' libexec/daps-xmlwellformed + #-------------------------------------------------------------------------- %build %configure --docdir=%{_defaultdocdir}/%{name} --disable-edit-rootcatalog @@ -162,35 +182,12 @@ make install DESTDIR=$RPM_BUILD_ROOT #---------------------- %post -# -# XML Catalog entries for daps profiling -# -# remove existing entries first (if existing) - needed for -# zypper in, since it does not call postun -# -# delete in case of an update, which $1=2 -if [ "2" = "$1" ]; then - edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ - --del %{name} || true -fi -# ... and readd it again -edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ - --add /etc/xml/%{daps_catalog} - +update-xml-catalog exit 0 #---------------------- %postun -# -# delete catalog entry for daps profiling -# only run if package is really uninstalled ($1 = 0) and not -# in case of an update -# -if [ 0 = $1 ]; then - edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ - --del %{name} -fi - +update-xml-catalog exit 0 #---------------------- @@ -200,6 +197,7 @@ exit 0 %files %defattr(-,root,root) +%dir %{_datadir}/%{name} %dir %{_sysconfdir}/%{name} %dir %{_defaultdocdir}/%{name} @@ -209,14 +207,18 @@ exit 0 %dir %{_datadir}/xml/%{name} %dir %{_datadir}/xml/%{name}/schema -%config %{_sysconfdir}/xml/*.xml +# Catalogs +%config %{_sysconfdir}/xml/catalog.d/%{name}.xml + +# Config files %config %{_sysconfdir}/%{name}/* +# Man/Doc %doc %{_mandir}/man1/*.1%{ext_man} %doc %{_defaultdocdir}/%{name}/* %{_bindir}/* -%{_datadir}/%{name}/* +%attr(644, root, root) %{_datadir}/%{name}/libexec/*.xsl %{_datadir}/bash-completion/completions/%{name} %{_datadir}/emacs/site-lisp/docbook_macros.el %{_datadir}/xml/daps/schema/*