579f1b2596
- Update to 24.4.0: What's Changed + S-parameter viewer by @andresmmera in #936 + Update XyceDigital library and examples by @ra3xdh in #947 + Release/24.3.2 by @ra3xdh in #955 + Fix build issues by @ThomasZecha in #957 + Fix memory leak while simulator switch by @zergud in #960 + Fix Ngspice run in CLI mode by @ra3xdh in #963 + Fix disable simulation for XYCE by @ra3xdh in #965 + Fix simulation properties edition by @ra3xdh in #969 + Fix of BJTsub and Diode device by @ra3xdh in #983 + fix wrong selected bounding box for elliptic arc by @zergud in #989 + Fixed crash when no simulators found on first start by @ra3xdh in #992 + Spar viewer: Fixes and New Features by @andresmmera in #991 + Fix unnecessary setPen before draw_resize_handle by @zergud in #990 + Fix #997 by @ivandi69 in #1005 + Fix diode symbol setting by @ra3xdh in #1006 + Fix missing text in schematic after upgrading to Qt-6.8.0 by @ivandi69 in #995 + refactor: use QString() as empty QString constructor by @Integral-Tech in #1003 + Apply normalize_value to POT value by @ra3xdh in #1014 + Add SPICE entry for VCresitor by @ra3xdh in #1016 + S-parameter Viewer: More fixes by @andresmmera in #1009 + Apply path conversion only for saved schematic or schematic in projects by @ra3xdh in #1018 + Upload SPICE_TLine library by @ra3xdh in #1019 + Allow variables for diode parameters by @ra3xdh in #1021 + Schottly diode symbol fix and update library tree after creating new library by @ra3xdh in #1027 + Save the position / size of ExternSimDialog on exit. by @iwbnwif in #1028 + Update NEWS.md and VERSION before release by @ra3xdh in #1032 + Fixed context menu for tab diagram and ASCO execution error by @ra3xdh in #1035 OBS-URL: https://build.opensuse.org/package/show/electronics/qucs-s?expand=0&rev=11
88 lines
2.8 KiB
RPMSpec
88 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package qucs-s
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%if 0%{?sle_version} >= 1506000
|
|
%define gcc_ver 13
|
|
%else
|
|
%define gcc_ver 12
|
|
%endif
|
|
|
|
Name: qucs-s
|
|
Version: 24.4.0
|
|
Release: 0
|
|
Summary: Qucs with SPICE
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Scientific/Electronics
|
|
URL: https://ra3xdh.github.io/
|
|
Source: https://github.com/ra3xdh/qucs_s/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Source1: qucs-s.rpmlintrc
|
|
BuildRequires: bison
|
|
BuildRequires: cmake
|
|
BuildRequires: dos2unix
|
|
BuildRequires: fdupes
|
|
BuildRequires: flex
|
|
BuildRequires: gperf
|
|
%if 0%{?suse_version} >= 1600
|
|
BuildRequires: cmake(Qt6Charts)
|
|
BuildRequires: cmake(Qt6Gui)
|
|
BuildRequires: cmake(Qt6LinguistTools)
|
|
BuildRequires: cmake(Qt6PrintSupport)
|
|
BuildRequires: cmake(Qt6Svg)
|
|
BuildRequires: cmake(Qt6Xml)
|
|
%else
|
|
BuildRequires: gcc%{gcc_ver}-c++
|
|
BuildRequires: cmake(Qt5Charts)
|
|
BuildRequires: cmake(Qt5Gui)
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
BuildRequires: cmake(Qt5Svg)
|
|
BuildRequires: cmake(Qt5Xml)
|
|
%endif
|
|
Requires: ngspice
|
|
|
|
%description
|
|
Qucs-S is a spin-off of the Qucs cross-platform circuit simulator. "S" letter indicates SPICE. The purpose of the Qucs-S subproject is to use free SPICE circuit simulation kernels with the Qucs GUI. It merges the power of SPICE and the simplicity of the Qucs GUI. Qucs intentionally uses its own SPICE incompatible simulation kernel Qucsator. It has advanced RF and AC domain simulation features, but most of the existing industrial SPICE models are incompatible with it. Qucs-S is not a simulator by itself, but it requires to use a simulation backend with it. The schematic document format of Qucs and Qucs-S are fully compatible.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
%if 0%{?suse_version} >= 1600
|
|
%cmake -DWITH_QT6=ON
|
|
%else
|
|
%cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-%{gcc_ver}
|
|
%endif
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
%fdupes %{buildroot}%{_datadir}/%{name}/
|
|
|
|
%check
|
|
|
|
%files
|
|
%{_bindir}/*
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/icons/hicolor/
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_mandir}/man1/%{name}.1.gz
|
|
%{_mandir}/man1/qucsator_rf.1.gz
|
|
%{_mandir}/man1/qucsconv_rf.1.gz
|
|
|
|
%changelog
|