Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package daps for openSUSE:Factory checked in at 2026-10-29 16:03:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/daps (Old) and /work/SRC/openSUSE:Factory/.daps.new.1255 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "daps" Thu Oct 29 16:03:34 2026 rev:51 rq:1392074 version:4.0~beta17 Changes: -------- --- /work/SRC/openSUSE:Factory/daps/daps.changes 2022-11-10 14:19:27.725397152 +0100 +++ /work/SRC/openSUSE:Factory/.daps.new.1255/daps.changes 2026-10-29 16:03:36.203177639 +0100 @@ -1,0 +2,445 @@ +Fri Oct 16 10:39:04 UTC 2026 - Frank Sundermeyer <[email protected]> - 4.0~beta17 + +Beta release DAPS 4.0~beta17 + +* New feature: + For SEO/GEO purposes it is required to have a proper metadata + description and a reliable change date for each HTML page that + DAPS creates. For DocBook this is achieved by creating an <info> + element containing <meta name="description"> and a <revhistory> + entry on the HTML chunking level (DAPS default: <chapter>). + This does not work out of the box with AsciiDoc sources. This + version adds the missing support by shipping a modified AsciiDoc + to DocBook converter, that is used by default (can be changed by + unsetting ADOC_CMD_OPTIONS in /etc/daps/config). + How to use: + In the adoc main file (the one that defines the book or article) + use the global attributes :revdate: and :description: in the + header (and only there). + For all other sections that get processed into separate HTML files + use the sectio-specific bracketed syntax: + + [#my-id] + [revdate="YYYY-MM-DD"] + [description="DESCRIPTION"] + == My Chapter + + alternatively combine all three attributes: + + [#my-id,revdate="YYYY-MM-DD",description="DESCRIPTION"] + == My Chapter + +------------------------------------------------------------------- +Wed Sep 15 14:24:21 UTC 2026 - Frank Sundermeyer <[email protected]> - 4.0~beta16 + +Beta release DAPS 4.0 beta16 + +* Bugfix: + - metadata: + . Add "en-us" as fallback language when no Language + can be determnined from the sources + . dual character language codes (en,de,..) are expanded to + the default 4 character codes (en-us, de-de) + . Fix grouping problem with multiple product names + - spec file: corrected python requirements, overall cleanup + - replaced "which" with type -p + +* New features: + - list-srcfiles: Added --hashes to show md5sums + (https://github.com/openSUSE/daps/issues/756) + - possibility to specify your Python binary with $PYTHON in the + global settings + +------------------------------------------------------------------- +Sat Aug 29 12:23:19 UTC 2026 - Matej Cepl <[email protected]> - 4.0~beta15 + +- Add explicit requirement for Python interpreter. +- Overall clean up of the SPEC file, remove all rpmlint warnings + +------------------------------------------------------------------- +Thu Mar 25 10:50:03 UTC 2026 - Frank Sundermeyer <[email protected]> - 4.0~beta15 + +Beta release DAPS 4.0 beta15 + +* Bugfix: + - adoc postprocessing stylesheet: some attributes were not + copied + +------------------------------------------------------------------- +Thu Mar 19 18:03:41 UTC 2026 - Frank Sundermeyer <[email protected]> - 4.0~beta14 + +Beta release DAPS 4.0 beta14 + +* Bugfix: + - Fixed an error where remarks were shown by default on + HTML/PDF/Webhelp. This error was introduced with 4.0 beta13 + +------------------------------------------------------------------- +Tue Mar 17 16:15:51 UTC 2026 - Frank Sundermeyer <[email protected]> - 4.0~beta13 + +Beta release DAPS 4.0 beta13 + +* Bugfixes: + - Make sure no attributes (like xml:lang) get lost when + postprocessing adoc + - Remove unnecessary stringparams/params, because libxslt + (and therefore xsltproc) has a built-in limit for parameters + (64 on openSUSE). When exceeded DAPS fails with Error: 2 + - The subcommand "metadata" now correctly reports multiple product + versions from <productname version="1;2;3:x"> + - The subcommand list-srcfiles now also works with assemblies + (https://github.com/openSUSE/daps/issues/718) + +* New features: + - Allow asciidoc orderlists to be converted into DocBook + procedures when using [role="procedure"] with an ordered list + - Subcommand metadata now puts out json by default, use --pretty + to get human-redable text + - Subcommand list-srcfiles has got a new option (--graph) to + put out a file list in tree-style. + - With --extra-dir or HTML_EXTRA_DIR in the DC-file you can + specify an additional directory that is added to HTML builds + (e.g. for text files, PDFs, etc) + - works for HTML builds only + - the directory needs to be a subdirectory or link of the + project directory. + - link to it's content files from the XMl with a relative path + <directory>/FILE + - if present and used, it always needs to be added to the + subcommands "package-src", "package-html", and "locdrop", too + Therefore it is _strongly_ recommended to specify this directory + in the DC-file rather than on the command line + - (https://github.com/openSUSE/daps/issues/751) + - added two new helper stylesheets to daps-xslt/contrib + - change-products-on-assembly.xsl add <meta name="productname"> + tags or move existing <productname> tage to a <meta> tag + - add missing metatags (required by the SUSE docs) + - asciidoc postprocess: if the conversion of an asciidoc book + generates a <preface> with an empty title (will create a + clickable empty space in the TOC), the <preface> is converted + into <info><abstract> + +* Removed features + - subcommand "stylecheck" is no longer supported by DAPS + It was based on the SUSE style checker, which is no longer + maintained and was replaced by + https://github.com/openSUSE/suse-vale-styleguide + This package can be used on the command line or as a plugin + for vim and VSCode/VSCodium and makes a DAPS implmentation + obsolete. + +------------------------------------------------------------------- +Mon Sep 15 16:09:23 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta12 + +Beta release DAPS 4.0 beta12 + +* Bugfixes: + - Quoting error in validation for IDs and inlines) caused shell + errors in certain cases + - elements with lone xrefs were incorrectly considered empty + when validating for empty inlines + +------------------------------------------------------------------- +Tue Aug 12 06:44:32 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta11 + +Beta release DAPS 4.0 beta11 + +* New features: + - Added assembly validation via the assembly rng schema + (is automatically done when DC file points to an assembly) + (https://github.com/openSUSE/daps/issues/732) + - the metadata command now supports json output as well + (daps -d <DC> metadata --param "json=1") +* Bugfixes: + - several fixes and enhancements for create-revhistory.xsl + - properly distinguish between XSLT params and stringparams + - find-empty-inlines.xsl sometimes reported false errors + +------------------------------------------------------------------- +Wed Jul 02 14:40:01 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta10 + +Beta release DAPS 4.0 beta10 + +* New features: + - support for GIFs (will not be converted to any other format) + - added a new stylesheet to create a revhistory entry if missing + (daps-xslt/revhistory/create-revhistory.xsl) +* Bugfixes: + - ADOC_POST_STYLE was not made an absolute path and therefore + daps failed when using it in a container + - Fixed missing BINDIR in Makefile issue + (https://github.com/openSUSE/daps/issues/705) +* Engancemants + - improvements for the find-empty-inlines.xsl styleheets + +------------------------------------------------------------------- +Thu Feb 27 10:14:26 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta9 + +Beta release DAPS 4.0 beta9 + +* Bugfixes: + - rsvg-convert was called even if not installed + +------------------------------------------------------------------- +Wed Feb 26 13:37:55 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta8 + +Beta release DAPS 4.0 beta8 + +* Bugfixes: + - make rsvg-convert selection work + - Make DAPS _always_ exit with error when make fails (On subcommands + that do not write a logfile (validation, list-*, *-name, and + others) daps always exited with o, even if make failed. This has + been fixed. + +------------------------------------------------------------------- +Wed Feb 05 11:37:05 UTC 2025 - Frank Sundermeyer <[email protected]> - 4.0~beta7 + +Beta release DAPS 4.0 beta7 + +* New feature: + - Use rsvg-convert for SVG to PNG conversion if available + (fall back to inkscape if not) +* Bugfix: + - metadata: Get rootid from MAIN if not set in DCfile or on + command line + +------------------------------------------------------------------- +Tue Sep 17 14:33:53 UTC 2024 - Frank Sundermeyer <[email protected]> - 4.0~beta6 + +Beta release DAPS 4.0 beta6 + +* Enhancement: + - subcommand metadata now also prints out the rootid + +------------------------------------------------------------------- +Tue Sep 10 16:52:27 UTC 2024 - Frank Sundermeyer <[email protected]> - 4.0~beta5 + +Beta release DAPS 4.0.beta5: + +* Bugfix: + -Adding an option to metadata for writing into file + Redirecting the output of to a file or pipe did not work, it + resulted in only displaying the last line of the output. + Using --output <filename> now writes the metadata to a file. + +------------------------------------------------------------------- +Wed Aug 14 13:09:49 UTC 2024 - Frank Sundermeyer <[email protected]> + +Beta release DAPS 4.0.beta4: + +* New feature: + - new subcommand "metadata": + * extracts the following metadata from the profiled DocBook XML + that contains the given ROOTID (either from DC-file or from + --rootid parameter) + - meta[@name = 'productname'] and productname/productnumber + - info/title or title + - info/subtitle or subtitle + - meta[@name='title'] + - meta[@name='description'] + - meta[@name='social-descr'] + - revhistory/revision[1]/date + - meta[@name='task'] + - meta[@name='series'] + - meta[@name='category'] + - meta[@name='type'] + * works for "regular" DocBook5 files, for DocBook 5.2 assemblies + and for ASCIIDic (via docinfo.xml) + +------------------------------------------------------------------- +Mon Aug 5 12:24:50 UTC 2024 - Frank Sundermeyer <[email protected]> - 4.0.beta3 + +Beta release DAPS 4.0.beta3: + +* Improvements + - ASCIIDoc: Copy namespaces to root element + During the postprocess step, the stylesheets copy some often used + namespaces (XLink, XInclude, ITS) to the root element of the result + tree. + +------------------------------------------------------------------- +Fri Jul 5 13:54:17 UTC 2024 - Frank Sundermeyer <[email protected]> - 4.0.beta2 + +Beta release DAPS 4.0.beta2: + +* New features: + -new command line switch for the "validation" subcommand: + "--extended-validation=<VALUE>" + Comma-separated list of extended validation checks + Possible values: + all|ALL: shortcut for all checks listed below + ids: checks for IDs that are not SEO friendly + images: checks for missing and duplicated images + inlines: checks for empty inline elements + tables: checks for invalid tables + Example: --extended-validation="ids,tables" + Default: unset + - new subcommand "docinfo" + Shows the following information (if available) + Title: + Subtitle: + Product Name: + Product Version: + Authors: + Language: + Type: + Root ID: + (https://github.com/openSUSE/daps/issues/414) +* Improvements + - debug/verbose output now also shows values for STYLEASSEMBLY + STRUCTID for DocBook assembly sources + - DAPS ships a customization layer of the assembly staylsheet + which prevents writing of xml:base attributes to avoid + problems with image paths in fo/pdf. To re-enable xml:base, + use the sring parameter + - "list-src-files" should work much more relaibly for ASCIIDOC + sources now ++++ 173 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/daps/daps.changes ++++ and /work/SRC/openSUSE:Factory/.daps.new.1255/daps.changes Old: ---- daps-3.3.2.tar.bz2 daps.rpmlintrc New: ---- daps-4.0beta17.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ daps.spec ++++++ --- /var/tmp/diff_new_pack.FFOIui/_old 2026-10-29 16:03:37.369226536 +0100 +++ /var/tmp/diff_new_pack.FFOIui/_new 2026-10-29 16:03:37.370226578 +0100 @@ -1,7 +1,7 @@ # # spec file for package daps # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,95 +16,81 @@ # +%define pkg_version 4.0beta17 +%define ourpython %{?primary_python}%{!?primary_python:python3} + Name: daps -Version: 3.3.2 +Version: 4.0~beta17 Release: 0 - -%define docbuilddir %{_datadir}/daps - Summary: DocBook Authoring and Publishing Suite 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 -Source1: %{name}.rpmlintrc - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source0: %{name}-%{pkg_version}.tar.bz2 BuildArch: noarch - +BuildRequires: %{ourpython}-base +BuildRequires: %{ourpython}-lxml BuildRequires: ImageMagick -BuildRequires: automake -BuildRequires: bash >= 4 BuildRequires: dia BuildRequires: docbook-xsl-stylesheets >= 1.77 BuildRequires: docbook_4 -BuildRequires: docbook_5 BuildRequires: fdupes -BuildRequires: inkscape BuildRequires: jing BuildRequires: libxml2-tools -BuildRequires: libxslt BuildRequires: libxslt-tools -BuildRequires: poppler-tools -BuildRequires: python3-lxml +BuildRequires: sgml-skel BuildRequires: suse-xsl-stylesheets BuildRequires: svg-dtd -BuildRequires: xerces-j2 -BuildRequires: xml-apis BuildRequires: xmlgraphics-fop >= 0.94 BuildRequires: xmlstarlet BuildRequires: rubygem(%{rb_default_ruby_abi}:asciidoctor) +%if 0%{?suse_version} >= 1600 +BuildRequires: rsvg-convert +%else +BuildRequires: inkscape +%endif + # In order to keep the requirements list as short as possible, only packages # needed to build EPUB, HTML and PDF are really required # All other packages required for editing or more exotic output formats # are recommended rather than required -PreReq: libxml2 -PreReq: sgml-skel - +Requires: %{ourpython}-base +Requires: %{ourpython}-lxml Requires: ImageMagick -Requires: bash >= 4 -Requires: dia Requires: docbook-xsl-stylesheets >= 1.77 Requires: docbook5-xsl-stylesheets >= 1.77 Requires: docbook_4 Requires: docbook_5 -Requires: inkscape Requires: java >= 1.8.0 Requires: jing -Requires: libxslt -Requires: make -Requires: poppler-tools -Requires: python3-lxml +Requires: (remake or make) +# Prefer rsvg-convert if available +Requires: (rsvg-convert or inkscape) Requires: suse-xsl-stylesheets +Requires: svg-dtd Requires: svg-schema -Requires: xerces-j2 -Requires: xml-apis Requires: xmlgraphics-fop >= 0.94 Requires: xmlstarlet Requires: zip Requires: rubygem(%{rb_default_ruby_abi}:asciidoctor) +Requires(post): sgml-skel -Recommends: aspell-en Recommends: calibre -Recommends: ditaa -Recommends: epubcheck -Recommends: exiftool -%ifarch aarch64 %{ix86} x86_64 +Recommends: dia Recommends: libreoffice-draw -%endif Recommends: optipng -Recommends: perl-checkbot -Recommends: remake -Recommends: suse-doc-style-checker -Recommends: suse-documentation-dicts-en +Recommends: poppler-tools Recommends: w3m Recommends: xmlformat +Recommends: (aspell-en or hunspell) -# Internal XEP package: -Suggests: xep +# Only in the Documentation:Tools project +Recommends: ditaa +Recommends: epubcheck +Recommends: perl-checkbot +Recommends: suse-documentation-dicts-en %description DocBook Authoring and Publishing Suite (DAPS) @@ -118,79 +104,47 @@ validator, link checker, spellchecker, editor macros and stylesheets for converting DocBook XML. - - - - - - - - - -#-------------------------------------------------------------------------- - %prep -%setup -q -n %{name}-%{version} +%autosetup -n %{name}-%{pkg_version} -# 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 \ - libexec/getentityname.py \ - libexec/validate-tables.py +%python3_fix_shebang_path libexec/* -#-------------------------------------------------------------------------- %build %configure --docdir=%{_defaultdocdir}/%{name} --disable-edit-rootcatalog -%__make %{?_smp_mflags} +%make_build -#-------------------------------------------------------------------------- %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install +rm -v %{buildroot}%{_defaultdocdir}/%{name}/{COPYING*,INSTALL.adoc} # create symlinks: -%fdupes -s $RPM_BUILD_ROOT/%{_datadir} +%fdupes %{buildroot}/%{_datadir} +%fdupes -s %{buildroot}/%{_sysconfdir} -#---------------------- %post -update-xml-catalog -exit 0 +update-xml-catalog || : -#---------------------- %postun -update-xml-catalog -exit 0 +update-xml-catalog || : -#---------------------- -%posttrans - -#---------------------- %files -%defattr(-,root,root) - -%dir %{_datadir}/%{name} -%dir %{_sysconfdir}/%{name} -%dir %{_defaultdocdir}/%{name} - -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%dir %{_datadir}/%{name} -%dir %{_datadir}/xml/%{name} -%dir %{_datadir}/xml/%{name}/schema +%doc BUGS README* html +%license COPYING* -# Catalogs +%config %{_sysconfdir}/%{name} %config %{_sysconfdir}/xml/catalog.d/%{name}.xml -# Config files -%config %{_sysconfdir}/%{name}/* +%{_bindir}/ccecho +%{_bindir}/daps +%{_bindir}/daps-autobuild +%{_bindir}/daps-check-deps +%{_bindir}/daps-init +%{_bindir}/daps-xmlformat -# Man/Doc -%doc %{_mandir}/man1/*.1%{ext_man} -%doc %{_defaultdocdir}/%{name}/* - -%{_bindir}/* %{_datadir}/bash-completion/completions/%{name} %{_datadir}/emacs/site-lisp/docbook_macros.el -%{_datadir}/xml/daps/schema/* -%{docbuilddir} -#---------------------- +%{_datadir}/%{name} +%{_datadir}/xml/%{name} + +%{_mandir}/man1/*.1%{?ext_man} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.FFOIui/_old 2026-10-29 16:03:37.434229262 +0100 +++ /var/tmp/diff_new_pack.FFOIui/_new 2026-10-29 16:03:37.438229430 +0100 @@ -1,10 +1,10 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="versionformat">3.3.2</param> + <param name="versionformat">4.0beta17</param> <param name="versionprefix"></param> <param name="url">https://github.com/openSUSE/daps.git</param> <param name="scm">git</param> - <param name="revision">3.3.2</param> + <param name="revision">4.0.beta17</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param>
