Accepting request 1065838 from home:StefanBruens:branches:electronics

- 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.

OBS-URL: https://build.opensuse.org/request/show/1065838
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad-doc?expand=0&rev=69
This commit is contained in:
Stefan Brüns 2023-02-15 02:56:37 +00:00 committed by Git OBS Bridge
parent 5fa31000a3
commit 58f588f766
4 changed files with 23 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dd3fde4b02cba80f7ee576cba0ac836ff9b8776dca397bf2021dd90d88baf43
size 79253772

3
kicad-doc-7.0.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55a77e41a55f5dc6d7467bd6f90f55329c3d78a38baf24a1bc4b69f7fc9c74e4
size 104561946

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 14 18:34:09 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 <stefan.bruens@rwth-aachen.de>

View File

@ -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}