Accepting request 1150456 from electronics

OBS-URL: https://build.opensuse.org/request/show/1150456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kicad?expand=0&rev=60
This commit is contained in:
Ana Guerrero 2024-02-26 18:43:56 +00:00 committed by Git OBS Bridge
commit 7a71faee0c
4 changed files with 40 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7af2315dd79a05724ef41c25e2af4e05433be29bbeb8b58b3004a97304f49180
size 43991808

3
kicad-8.0.0.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 25 07:41:33 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- update to 8.0.0:
See https://www.kicad.org/blog/2024/02/KiCad-8.0.0-Release/ for details
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 1 07:29:52 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de> Mon Jan 1 07:29:52 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -16,12 +16,12 @@
# #
# According to upstream, kicad 7.x.y can be used with the footprint and # According to upstream, kicad 8.x.y can be used with the footprint and
# symbol libraries from version 7.0.0 # symbol libraries from version 8.0.0
%define compatversion 7.0.0 %define compatversion 8.0.0
Name: kicad Name: kicad
Version: 7.0.10 Version: 8.0.0
%define file_version 7.0.10 %define file_version 8.0.0
Release: 0 Release: 0
Summary: EDA software suite for the creation of schematics and PCB Summary: EDA software suite for the creation of schematics and PCB
License: AGPL-3.0-or-later AND GPL-3.0-or-later License: AGPL-3.0-or-later AND GPL-3.0-or-later
@ -38,13 +38,10 @@ BuildRequires: gcc-c++ >= 8
BuildRequires: gcc11-PIE BuildRequires: gcc11-PIE
BuildRequires: gcc11-c++ >= 8 BuildRequires: gcc11-c++ >= 8
%endif %endif
BuildConflicts: libicu65_1-ledata
BuildConflicts: libicu-suse65_1
# BuildConflicts: libwebkit2gtk-4_0-37
BuildRequires: gettext BuildRequires: gettext
BuildRequires: glm-devel >= 0.9.8 BuildRequires: glm-devel >= 0.9.8
BuildRequires: libboost_filesystem-devel-impl BuildRequires: libboost_filesystem-devel-impl
BuildRequires: libboost_locale-devel-impl
BuildRequires: libboost_system-devel-impl >= 1.71 BuildRequires: libboost_system-devel-impl >= 1.71
BuildRequires: libboost_test-devel-impl BuildRequires: libboost_test-devel-impl
BuildRequires: libngspice-devel BuildRequires: libngspice-devel
@ -55,17 +52,23 @@ BuildRequires: python3-pybind11-devel
BuildRequires: python3-wxPython BuildRequires: python3-wxPython
BuildRequires: swig >= 3 BuildRequires: swig >= 3
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: wxGTK3-devel >= 3 BuildRequires: wxGTK3-devel >= 3.2.4
BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libgit2)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(odbc) BuildRequires: pkgconfig(odbc)
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(python3) >= 3.6 BuildRequires: pkgconfig(python3) >= 3.6
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
# Fix directory owner # Fix directory owner
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
# Test requirements
BuildRequires: python3-pytest
BuildRequires: python3-CairoSVG
# Dlopen'ed simulator library # Dlopen'ed simulator library
Requires: libngspice0 Requires: libngspice0
# The help function gives an error without the doc package # The help function gives an error without the doc package
@ -167,11 +170,11 @@ export CXX=g++-11 CC=gcc-11
%suse_update_desktop_file -r org.kicad.pcbnew "Education;Engineering" %suse_update_desktop_file -r org.kicad.pcbnew "Education;Engineering"
%endif %endif
# Link to library libkicad_3dsg.so.2.0.0 has no use # Remove development symlinks, pointless without any headers etc.
rm -rf %{buildroot}%{_libdir}/libkicad_3dsg.so rm %{buildroot}%{_libdir}/libki{cad_3dsg,common,gal}.so
# https://gitlab.com/kicad/code/kicad/-/issues/9944 # https://gitlab.com/kicad/code/kicad/-/issues/9944
rm -rf %{buildroot}%{_libdir}/libkicad*.a find %{buildroot}%{_libdir} -iname \*.a -print -delete
# Fix executable bits for scripts executed directly from kicad # Fix executable bits for scripts executed directly from kicad
chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
@ -182,20 +185,25 @@ chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
%find_lang %{name} %find_lang %{name}
%check %check
%ifarch aarch64 ./build/kicad/kicad-cli version
# aarch64: https://sourceforge.net/p/ngspice/bugs/622/ %ctest --exclude-regex 'qa_spice|qa_cli|qa_common|qa_pcbnew'
%ctest --exclude-regex qa_eeschema
%ctest --tests-regex qa_eeschema || true %ifnarch %{ix86} aarch64
%ctest --tests-regex 'qa_spice|qa_cli|qa_common|qa_pcbnew'
%endif %endif
%ifarch aarch64
%ctest --tests-regex 'qa_cli|qa_common|qa_pcbnew'
# aarch64: https://sourceforge.net/p/ngspice/bugs/622/
%ctest --tests-regex 'qa_spice' || true
%endif
%ifarch %{ix86} %ifarch %{ix86}
# common fails during a WX color conversion, 0xb2 != 0xb3 -> minor, ignore # common fails during a WX color conversion, 0xb2 != 0xb3 -> minor, ignore
# eeschema: https://gitlab.com/kicad/code/kicad/-/issues/10149 # eeschema: https://gitlab.com/kicad/code/kicad/-/issues/10149
# pcbnew fails during Eagle import, e.g. stroke width 14999 != 15000 -> minor # pcbnew fails during Eagle import, e.g. stroke width 14999 != 15000 -> minor
%ctest --exclude-regex 'qa_common|qa_eeschema|qa_pcbnew' %ctest --tests-regex 'qa_spice' || true
%ctest --tests-regex 'qa_common|qa_eeschema|qa_pcbnew' || true %ctest --tests-regex 'qa_cli|qa_common|qa_pcbnew' || true
%endif
%ifnarch %{ix86} aarch64
%ctest
%endif %endif
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -206,6 +214,7 @@ chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
%license LICENSE.* %license LICENSE.*
%{_bindir}/* %{_bindir}/*
%{_libdir}/kicad/ %{_libdir}/kicad/
%{_libdir}/libki*.so.*
%{_datadir}/kicad/ %{_datadir}/kicad/
%{python3_sitearch}/* %{python3_sitearch}/*
%{_datadir}/metainfo/org.kicad.kicad.metainfo.xml %{_datadir}/metainfo/org.kicad.kicad.metainfo.xml
@ -213,7 +222,6 @@ chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
%{_datadir}/mime/packages/kicad-*.xml %{_datadir}/mime/packages/kicad-*.xml
%{_datadir}/icons/hicolor/*/mimetypes/application-x-* %{_datadir}/icons/hicolor/*/mimetypes/application-x-*
%{_datadir}/icons/hicolor/*/apps/*.* %{_datadir}/icons/hicolor/*/apps/*.*
%{_libdir}/libkicad_3dsg.so.2.0.0
%files lang -f %{name}.lang %files lang -f %{name}.lang