Accepting request 158757 from science
OBS-URL: https://build.opensuse.org/request/show/158757 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kicad-doc?expand=0&rev=1
This commit is contained in:
commit
aa11f27770
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
kicad-doc-20130120.tar.bz2
Normal file
3
kicad-doc-20130120.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a7285a245c7a63e2c5b87d2eb8b3ac54d57cbad22d0ff5c8c2008185800ff1e
|
||||
size 137611360
|
35
kicad-doc.changes
Normal file
35
kicad-doc.changes
Normal file
@ -0,0 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 25 13:38:32 UTC 2013 - dmitry_r@opensuse.org
|
||||
|
||||
- Update to version 20130120
|
||||
- Change license to SUSE-OldFSFDocLicense [bnc#796377]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 28 13:05:24 UTC 2012 - dmitry_r@opensuse.org
|
||||
|
||||
- spec file cleanup
|
||||
|
||||
------------------------------------------------------------------
|
||||
Fri May 27 21:00:00 UTC 2011 - werner.ho@gmx.de
|
||||
|
||||
- new version 2011-04-29
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 13 15:43:10 UTC 2010 - mhopf@novell.com
|
||||
|
||||
- Update to 2010-04-06-SVN2508
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 21:00:00 UTC 2008 - werner.ho@gmx.de
|
||||
|
||||
- directory fix for openSUSE 11.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 04 21:00:00 UTC 2008 - werner.ho@gmx.de
|
||||
|
||||
- new version 1.1
|
||||
|
||||
------------------------------------------------------------------
|
||||
Thu Mar 25 21:00:00 UTC 2008 - werner.ho@gmx.de
|
||||
|
||||
- initial build of the kicad documentation package version 1.0
|
409
kicad-doc.spec
Normal file
409
kicad-doc.spec
Normal file
@ -0,0 +1,409 @@
|
||||
#
|
||||
# spec file for package kicad-doc
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: kicad-doc
|
||||
Version: 20130120
|
||||
Release: 0
|
||||
Summary: Documentation and tutorials for kicad
|
||||
License: SUSE-OldFSFDocLicense
|
||||
Group: Documentation/Other
|
||||
Url: http://kicad-pcb.org
|
||||
# bzr branch lp:~kicad-developers/kicad/doc doc
|
||||
# bzr export -r 409 kicad-doc-20130120.tar.bz2
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Kicad is an open source software for the creation of electronic
|
||||
schematic diagrams and printed circuit board artwork up to 16 layers.
|
||||
This is the documentation package for kicad. It contains documentation
|
||||
and tutorials.
|
||||
|
||||
%package de
|
||||
Summary: German documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:de)
|
||||
|
||||
%description de
|
||||
This package contains German documentation and tutorials for kicad
|
||||
|
||||
%package en
|
||||
Summary: English documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:en)
|
||||
|
||||
%description en
|
||||
This package contains English documentation and tutorials for kicad
|
||||
|
||||
%package es
|
||||
Summary: Spanish documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:es)
|
||||
|
||||
%description es
|
||||
This package contains Spanish documentation and tutorials for kicad
|
||||
|
||||
%package fr
|
||||
Summary: French documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:fr)
|
||||
|
||||
%description fr
|
||||
This package contains French documentation and tutorials for kicad
|
||||
|
||||
%package hu
|
||||
Summary: Hungarian documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:hu)
|
||||
|
||||
%description hu
|
||||
This package contains Hungarian documentation and tutorials for kicad
|
||||
|
||||
%package it
|
||||
Summary: Italian documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:it)
|
||||
|
||||
%description it
|
||||
This package contains Italian documentation and tutorials for kicad
|
||||
|
||||
%package ja
|
||||
Summary: Japanese documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:ja)
|
||||
|
||||
%description ja
|
||||
This package contains Japanese documentation and tutorials for kicad
|
||||
|
||||
%package pl
|
||||
Summary: Polish documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:pl)
|
||||
|
||||
%description pl
|
||||
This package contains Polish documentation and tutorials for kicad
|
||||
|
||||
%package ru
|
||||
Summary: Russian documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:ru)
|
||||
|
||||
%description ru
|
||||
This package contains Russian documentation and tutorials for kicad
|
||||
|
||||
%package zh_CN
|
||||
Summary: Chinese documentation and tutorials for kicad
|
||||
Group: Documentation/Other
|
||||
Provides: locale(kicad-doc:zh_CN)
|
||||
|
||||
%description zh_CN
|
||||
This package contains Chinese documentation and tutorials for kicad
|
||||
|
||||
%package -n kicad-lang-bg
|
||||
Summary: Bulgarian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:bg)
|
||||
|
||||
%description -n kicad-lang-bg
|
||||
This package contains Bulgarian translations for kicad
|
||||
|
||||
%package -n kicad-lang-ca
|
||||
Summary: Catalan translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:ca)
|
||||
|
||||
%description -n kicad-lang-ca
|
||||
This package contains Catalan translations for kicad
|
||||
|
||||
%package -n kicad-lang-cs
|
||||
Summary: Serbian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:cs)
|
||||
|
||||
%description -n kicad-lang-cs
|
||||
This package contains Serbian translations for kicad
|
||||
|
||||
%package -n kicad-lang-de
|
||||
Summary: German translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:de)
|
||||
|
||||
%description -n kicad-lang-de
|
||||
This package contains German translations for kicad
|
||||
|
||||
%package -n kicad-lang-es
|
||||
Summary: Spanish translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:es)
|
||||
|
||||
%description -n kicad-lang-es
|
||||
This package contains Spanish translations for kicad
|
||||
|
||||
%package -n kicad-lang-fi
|
||||
Summary: Finnish translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:fi)
|
||||
|
||||
%description -n kicad-lang-fi
|
||||
This package contains Finnish translations for kicad
|
||||
|
||||
%package -n kicad-lang-fr
|
||||
Summary: French translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:fr)
|
||||
|
||||
%description -n kicad-lang-fr
|
||||
This package contains French translations for kicad
|
||||
|
||||
%package -n kicad-lang-hu
|
||||
Summary: Hungarian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:hu)
|
||||
|
||||
%description -n kicad-lang-hu
|
||||
This package contains Hungarian translations for kicad
|
||||
|
||||
%package -n kicad-lang-it
|
||||
Summary: Italian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:it)
|
||||
|
||||
%description -n kicad-lang-it
|
||||
This package contains Italian translations for kicad
|
||||
|
||||
%package -n kicad-lang-ja
|
||||
Summary: Japanese translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:ja)
|
||||
|
||||
%description -n kicad-lang-ja
|
||||
This package contains Japanese translations for kicad
|
||||
|
||||
%package -n kicad-lang-ko
|
||||
Summary: Korean translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:ko)
|
||||
|
||||
%description -n kicad-lang-ko
|
||||
This package contains Korean translations for kicad
|
||||
|
||||
%package -n kicad-lang-nl
|
||||
Summary: Netherlandian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:nl)
|
||||
|
||||
%description -n kicad-lang-nl
|
||||
This package contains Netherlandian translations for kicad
|
||||
|
||||
%package -n kicad-lang-pl
|
||||
Summary: Polish translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:pl)
|
||||
|
||||
%description -n kicad-lang-pl
|
||||
This package contains Polish translations for kicad
|
||||
|
||||
%package -n kicad-lang-pt
|
||||
Summary: Portuguese translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:pt)
|
||||
|
||||
%description -n kicad-lang-pt
|
||||
This package contains Portuguese translations for kicad
|
||||
|
||||
%package -n kicad-lang-ru
|
||||
Summary: Russian translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:ru)
|
||||
|
||||
%description -n kicad-lang-ru
|
||||
This package contains Russian translations for kicad
|
||||
|
||||
%package -n kicad-lang-sl
|
||||
Summary: Slovene translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:sl)
|
||||
|
||||
%description -n kicad-lang-sl
|
||||
This package contains Slovene translations for kicad
|
||||
|
||||
%package -n kicad-lang-sv
|
||||
Summary: Swedish translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:sv)
|
||||
|
||||
%description -n kicad-lang-sv
|
||||
This package contains Swedish translations for kicad
|
||||
|
||||
%package -n kicad-lang-zh_CN
|
||||
Summary: Chinese translations for kicad
|
||||
Group: System/Localization
|
||||
Provides: locale(kicad:zh_CN)
|
||||
|
||||
%description -n kicad-lang-zh_CN
|
||||
This package contains Chinese translations for kicad
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# fix documentation directory
|
||||
# sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' CMakeLists.txt
|
||||
# fix wrong-file-end-of-line-encoding
|
||||
sed -i 's/\r$//' license_for_documentation.txt
|
||||
|
||||
%build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ./
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
# localization
|
||||
rm -r %{buildroot}/%{_datadir}/kicad/
|
||||
pushd internat/
|
||||
for dir in bg ca cs de es fi fr hu it ja ko nl pl pt ru sl sv zh_CN
|
||||
do
|
||||
install -m 644 -D ${dir}/kicad.mo %{buildroot}%{_datadir}/locale/${dir}/LC_MESSAGES/kicad.mo
|
||||
done
|
||||
popd
|
||||
# license
|
||||
install -Dm 644 license_for_documentation.txt %{buildroot}%{_datadir}/doc/kicad/license_for_documentation.txt
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/license_for_documentation.txt
|
||||
%{_datadir}/doc/kicad/help/file_formats/
|
||||
%dir %{_datadir}/doc/kicad/
|
||||
%dir %{_datadir}/doc/kicad/help/
|
||||
|
||||
%files de
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/de/
|
||||
|
||||
%files en
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/en/
|
||||
|
||||
%files es
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/es/
|
||||
|
||||
%files fr
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/fr/
|
||||
|
||||
%files hu
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/hu/
|
||||
|
||||
%files it
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/it/
|
||||
|
||||
%files ja
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/ja/
|
||||
|
||||
%files pl
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/pl/
|
||||
|
||||
%files ru
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/ru/
|
||||
|
||||
%files zh_CN
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/kicad/help/zh_CN/
|
||||
|
||||
%files -n kicad-lang-bg
|
||||
%defattr(-,root,root)
|
||||
%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-ca
|
||||
%defattr(-,root,root)
|
||||
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-cs
|
||||
%defattr(-,root,root)
|
||||
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-de
|
||||
%defattr(-,root,root)
|
||||
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-es
|
||||
%defattr(-,root,root)
|
||||
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-fi
|
||||
%defattr(-,root,root)
|
||||
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-fr
|
||||
%defattr(-,root,root)
|
||||
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-hu
|
||||
%defattr(-,root,root)
|
||||
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-it
|
||||
%defattr(-,root,root)
|
||||
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-ja
|
||||
%defattr(-,root,root)
|
||||
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-ko
|
||||
%defattr(-,root,root)
|
||||
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-nl
|
||||
%defattr(-,root,root)
|
||||
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-pl
|
||||
%defattr(-,root,root)
|
||||
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-pt
|
||||
%defattr(-,root,root)
|
||||
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-ru
|
||||
%defattr(-,root,root)
|
||||
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-sl
|
||||
%defattr(-,root,root)
|
||||
%lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-sv
|
||||
%defattr(-,root,root)
|
||||
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/kicad.mo
|
||||
|
||||
%files -n kicad-lang-zh_CN
|
||||
%defattr(-,root,root)
|
||||
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/kicad.mo
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user