Accepting request 487829 from electronics

Correct Indonesian provides

OBS-URL: https://build.opensuse.org/request/show/487829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kicad-doc?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2017-04-20 18:55:01 +00:00 committed by Git OBS Bridge
commit ff6c75eaac
3 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,15 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig 2017-04-13 10:18:48.656747496 +0200
+++ CMakeLists.txt 2017-04-13 13:10:55.648428778 +0200
@@ -31,8 +31,10 @@ include( AsciidocHelpers )
# Add the common asciidoc options
add_adoc_option( -b html5 )
add_adoc_option( -a toc2 )
+add_adoc_option( -a footer-style=none )
add_adoc_option( --section-numbers )
add_adoc_option( --theme flask )
+add_adoc_option( --verbose )
# Add the common a2x options
add_a2x_option( --xsltproc-opts=--nonet )

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 13 11:29:41 UTC 2017 - davejplater@gmail.com
- Removed time stamp from pages with kicad-doc-notimestamp.patch
-------------------------------------------------------------------
Thu Mar 23 12:14:14 UTC 2017 - xxxxxmichl@googlemail.com

View File

@ -36,6 +36,8 @@ Url: http://kicad-pcb.org
Source: https://github.com/KiCad/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source2: https://raw.githubusercontent.com/KiCad/kicad-source-mirror/master/license_for_documentation.txt
Patch0: verbose-a2x-debug.patch
# PATCH-FIX-OPENSUSE kicad-doc-notimestamp.patch davejplater@gmail.com -- Remove time stamped footer from html pages.
Patch1: kicad-doc-notimestamp.patch
BuildRequires: asciidoc >= 8.6.9
BuildRequires: cmake
BuildRequires: dblatex >= 0.3.4
@ -45,6 +47,7 @@ BuildRequires: git
BuildRequires: libxslt-tools
BuildRequires: po4a >= 0.45
BuildRequires: source-highlight
%if %{with pdf}
BuildRequires: texlive-collection-langeuropean
BuildRequires: texlive-collection-langfrench
BuildRequires: texlive-collection-langgerman
@ -61,6 +64,7 @@ BuildRequires: texlive-collection-xetex
BuildRequires: texlive-euenc
BuildRequires: texlive-gnu-freefont-fonts
BuildRequires: texlive-xetexref
%endif
BuildRequires: perl(Unicode::LineBreak)
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -169,7 +173,7 @@ This package contains Russian documentation and tutorials for KiCad
%package id
Summary: Indonesian documentation and tutorials for KiCad
Group: Documentation/Other
Provides: locale(kicad-doc:ru)
Provides: locale(kicad-doc:id)
Requires: kicad-doc = %{version}
%description id
@ -182,6 +186,7 @@ cp %{SOURCE2} .
# Fix documentation path
sed -i "s|share/doc/kicad|share/doc/packages/kicad|" CMakeModules/KiCadDocumentation.cmake
%patch0
%patch1
# FIXME
%if %{without japanese}
@ -234,6 +239,7 @@ install -Dm644 license_for_documentation.txt %{buildroot}%{_datadir}/doc/package
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/de
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/es
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/ru
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/id
%if %{with italian}
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/it
%endif