Accepting request 427054 from home:plater
Update to 4.0.4 OBS-URL: https://build.opensuse.org/request/show/427054 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad-doc?expand=0&rev=9
This commit is contained in:
parent
39924253c5
commit
5520f059dd
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a475b3831f9a54a20dc94631cada3e305ede23345a6b4059077ac6900f3d35a
|
||||
size 23365338
|
3
kicad-doc-4.0.4.tar.gz
Normal file
3
kicad-doc-4.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5564217076641926a2523d4dc66e78810de2fe4b5bd4d2f0ba40a522203c4d27
|
||||
size 33705865
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 08:24:41 UTC 2016 - davejplater@gmail.com
|
||||
|
||||
- Update to version 4.0.4
|
||||
- Added new packages for Catalan, Russian, Spanish and German.
|
||||
- Added verbose-a2x-debug.patch for verbose a2x output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 09:10:54 UTC 2016 - dmitry_r@opensuse.org
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: kicad-doc
|
||||
Version: 4.0.2
|
||||
Version: 4.0.4
|
||||
Release: 0
|
||||
Summary: Documentation and tutorials for KiCad
|
||||
License: SUSE-OldFSFDocLicense
|
||||
@ -25,19 +25,32 @@ Group: Documentation/Other
|
||||
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
|
||||
BuildRequires: asciidoc >= 8.6.9
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dblatex >= 0.3.4
|
||||
BuildRequires: gettext >= 0.18
|
||||
BuildRequires: git
|
||||
BuildRequires: libxslt-tools
|
||||
BuildRequires: po4a >= 0.45
|
||||
BuildRequires: source-highlight
|
||||
BuildRequires: texlive
|
||||
BuildRequires: texlive-collection-langeuropean
|
||||
BuildRequires: texlive-collection-langfrench
|
||||
BuildRequires: texlive-collection-langgerman
|
||||
BuildRequires: texlive-collection-langitalian
|
||||
BuildRequires: texlive-collection-langspanish
|
||||
BuildRequires: texlive-euenc
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-xetex
|
||||
BuildRequires: texlive-xetex-def
|
||||
BuildRequires: texlive-xetex-itrans
|
||||
BuildRequires: texlive-xetex-pstricks
|
||||
BuildRequires: texlive-xetexfontinfo
|
||||
BuildRequires: texlive-xetexref
|
||||
# BuildRequires: texlive-collection-langjapanese
|
||||
BuildRequires: texlive-collection-langcyrillic
|
||||
BuildRequires: texlive-collection-langpolish
|
||||
BuildRequires: texlive-gnu-freefont-fonts
|
||||
# BuildRequires: vlgothic-fonts
|
||||
BuildRequires: perl(Unicode::LineBreak)
|
||||
BuildArch: noarch
|
||||
@ -68,6 +81,7 @@ Requires: kicad-doc = %{version}
|
||||
%description fr
|
||||
This package contains French documentation and tutorials for KiCad
|
||||
|
||||
%if 0%{?suse_version} != 1315
|
||||
%package it
|
||||
Summary: Italian documentation and tutorials for KiCad
|
||||
Group: Documentation/Other
|
||||
@ -76,6 +90,7 @@ Requires: kicad-doc = %{version}
|
||||
|
||||
%description it
|
||||
This package contains Italian documentation and tutorials for KiCad
|
||||
%endif
|
||||
|
||||
# %%package ja
|
||||
# Summary: Japanese documentation and tutorials for KiCad
|
||||
@ -104,17 +119,59 @@ Requires: kicad-doc = %{version}
|
||||
%description pl
|
||||
This package contains Polish documentation and tutorials for KiCad
|
||||
|
||||
%package ca
|
||||
Summary: Catalan documentation and tutorials for KiCad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:pl)
|
||||
Requires: kicad-doc = %{version}
|
||||
|
||||
%description ca
|
||||
This package contains Catalan documentation and tutorials for KiCad
|
||||
|
||||
%package de
|
||||
Summary: German documentation and tutorials for KiCad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:pl)
|
||||
Requires: kicad-doc = %{version}
|
||||
|
||||
%description de
|
||||
This package contains German documentation and tutorials for KiCad
|
||||
|
||||
%package es
|
||||
Summary: Spanish documentation and tutorials for KiCad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:pl)
|
||||
Requires: kicad-doc = %{version}
|
||||
|
||||
%description es
|
||||
This package contains Spanish documentation and tutorials for KiCad
|
||||
|
||||
%package ru
|
||||
Summary: Russian documentation and tutorials for KiCad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:pl)
|
||||
Requires: kicad-doc = %{version}
|
||||
|
||||
%description ru
|
||||
This package contains Russian documentation and tutorials for KiCad
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE2} .
|
||||
|
||||
# Fix documentation path
|
||||
sed -i "s|share/doc/kicad|share/doc/packages/kicad|" CMakeModules/KiCadDocumentation.cmake
|
||||
%patch0
|
||||
|
||||
# FIXME
|
||||
# Delete japanese translation due to build problems
|
||||
find src/ -name 'addendum.ja' -type f -delete -print
|
||||
find src/ -name 'ja.po' -type f -delete -print
|
||||
#Problems with italian too
|
||||
%if 0%{?suse_version} == 1315
|
||||
find src/ -name 'addendum.it' -type f -delete -print
|
||||
find src/ -name 'it.po' -type f -delete -print
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake
|
||||
@ -139,9 +196,11 @@ install -Dm644 license_for_documentation.txt %{buildroot}%{_datadir}/doc/package
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/fr/
|
||||
|
||||
%if 0%{?suse_version} != 1315
|
||||
%files it
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/it/
|
||||
%endif
|
||||
|
||||
# %%files ja
|
||||
# %%defattr(-,root,root)
|
||||
@ -155,4 +214,20 @@ install -Dm644 license_for_documentation.txt %{buildroot}%{_datadir}/doc/package
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/pl/
|
||||
|
||||
%files ca
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/ca/
|
||||
|
||||
%files de
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/de/
|
||||
|
||||
%files es
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/es/
|
||||
|
||||
%files ru
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/packages/kicad/help/ru/
|
||||
|
||||
%changelog
|
||||
|
13
verbose-a2x-debug.patch
Normal file
13
verbose-a2x-debug.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -38,7 +38,7 @@ add_adoc_option( --theme flask )
|
||||
add_a2x_option( --xsltproc-opts=--nonet )
|
||||
add_a2x_option( --no-xmllint )
|
||||
add_a2x_option( -f pdf )
|
||||
-#add_a2x_option( --verbose )
|
||||
+add_a2x_option( -vv )
|
||||
|
||||
# Add a2x options depending on which PDF generator we're using
|
||||
if( ${PDF_GENERATOR} MATCHES DBLATEX )
|
Loading…
Reference in New Issue
Block a user