diff --git a/kicad-doc-6.0.11.tar.bz2 b/kicad-doc-6.0.11.tar.bz2 deleted file mode 100644 index d857454..0000000 --- a/kicad-doc-6.0.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dd3fde4b02cba80f7ee576cba0ac836ff9b8776dca397bf2021dd90d88baf43 -size 79253772 diff --git a/kicad-doc-7.0.0.tar.bz2 b/kicad-doc-7.0.0.tar.bz2 new file mode 100644 index 0000000..dcb12d0 --- /dev/null +++ b/kicad-doc-7.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55a77e41a55f5dc6d7467bd6f90f55329c3d78a38baf24a1bc4b69f7fc9c74e4 +size 104561946 diff --git a/kicad-doc.changes b/kicad-doc.changes index 2c6544c..e12204c 100644 --- a/kicad-doc.changes +++ b/kicad-doc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 14 18:34:09 UTC 2023 - Stefan Brüns + +- update to 7.0.0: + See https://www.kicad.org/blog/2023/02/Version-7.0.0-Released/ for details. +- Disabled pdf generation, PDF generation using asciidoc+dblatex + is no longer supported by upstream and fails to build. + ------------------------------------------------------------------- Thu Jan 26 03:34:50 UTC 2023 - Stefan Brüns diff --git a/kicad-doc.spec b/kicad-doc.spec index cb46657..96b97d2 100644 --- a/kicad-doc.spec +++ b/kicad-doc.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package kicad-doc # # Copyright (c) 2023 SUSE LLC # @@ -26,6 +26,9 @@ ExclusiveArch: do_not_build %if "%flavor" == "pdf" %define pkg_suffix -pdf %bcond_without pdf +# Disabled, fails to build, asciidoc+dblatex no longer supported by upstream +# E.g. https://gitlab.com/kicad/services/kicad-doc/-/issues/808 +ExclusiveArch: do_not_build %endif %if "%flavor" == "html" @@ -33,7 +36,7 @@ ExclusiveArch: do_not_build %endif Name: kicad-doc%{?pkg_suffix} -Version: 6.0.11 +Version: 7.0.0 Release: 0 Summary: Documentation and tutorials for KiCad License: CC-BY-SA-3.0 AND GPL-3.0-or-later @@ -194,9 +197,15 @@ This package contains Chinese documentation and tutorials for KiCad %prep %setup -q -n %{sname}-%{version} - %patch0 +# asciidoc errors out if the `[code]` style is used with an unknown language +# https://gitlab.com/kicad/services/kicad-doc/-/issues/851 +find . -iname \*adoc -exec sed -i -e 's/\[code/\[source/' '{}' \; +# Fix incorrect column with specifiers +# https://gitlab.com/kicad/services/kicad-doc/-/issues/852 +find . -iname \*adoc -exec sed -i -e '/\[.*cols=/ { :m s/\(cols=.*\)\([0-9]\)%/\1\2/g ; t m }' '{}' \; + # These files are actually GIFs, https://gitlab.com/kicad/services/kicad-doc/-/issues/822 mv src/gerbview/images/zh/gerbview_x2_attribute.{png,gif} mv src/gerbview/images/zh/gerbview_x2_component.{png,gif}