Accepting request 644974 from home:StefanBruens:branches:electronics

- Add Requires: libngspice0
- Fix name for dlopen'ed libngspice.so.0
  Add 0001-Use-fixed-version-for-libngspice.so.0.patch

OBS-URL: https://build.opensuse.org/request/show/644974
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=51
This commit is contained in:
2018-10-26 22:34:18 +00:00
committed by Git OBS Bridge
parent d706ef3871
commit 9995f034a1
3 changed files with 45 additions and 1 deletions

View File

@@ -41,8 +41,10 @@ Patch2: kicad-library-repos-install.patch
Patch3: kicad-suse-help-path.patch
# PATCH-FIX-UPSTREAM 0001-Use-absolute-path-CMAKE_INSTALL_FULL_LIBDIR-for-3d-v.patch
Patch4: 0001-Use-absolute-path-CMAKE_INSTALL_FULL_LIBDIR-for-3d-v.patch
# PATCH-FIX-OPENSUSE 0001-Use-fixed-version-for-libngspice.so.0.patch
Patch5: 0001-Use-fixed-version-for-libngspice.so.0.patch
%if 0%{?suse_version} > 1325
%if 0%{?suse_version} >= 1500
BuildRequires: libboost_system-devel
BuildRequires: libboost_test-devel
%else
@@ -73,6 +75,8 @@ BuildRequires: pkgconfig(zlib)
# Fix directory owner
BuildRequires: hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Dlopen'ed simulator library
Requires: libngspice0
Requires: python-wxWidgets-3_0 >= 3
# The help function gives an error without the doc package
Requires: %{name}-doc = %{version}
@@ -117,6 +121,7 @@ This package contains script for KiCad libraries downloading.
%patch2 -p1
%patch3
%patch4 -p1
%patch5 -p1
cp %{SOURCE2} ./LICENSE.GPLv3
cp %{SOURCE3} ./LICENSE.AGPLv3