From 98df3a21afd707179d246e44ecaea8f355ebfcfc21a70fe1ca4544d89f9cc8e7 Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Sat, 26 Nov 2022 10:45:57 +0000 Subject: [PATCH] Accepting request 1038317 from home:Dmitry_R Qucs with SPICE OBS-URL: https://build.opensuse.org/request/show/1038317 OBS-URL: https://build.opensuse.org/package/show/electronics/qucs-s?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + qucs-s-1.0.0.tar.gz | 3 +++ qucs-s.changes | 4 +++ qucs-s.rpmlintrc | 1 + qucs-s.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 qucs-s-1.0.0.tar.gz create mode 100644 qucs-s.changes create mode 100644 qucs-s.rpmlintrc create mode 100644 qucs-s.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/qucs-s-1.0.0.tar.gz b/qucs-s-1.0.0.tar.gz new file mode 100644 index 0000000..a132bf2 --- /dev/null +++ b/qucs-s-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc8d446a52dd4730ccba021df8f8a5331d22e1a26edd5d853c2d16518d32953f +size 3101221 diff --git a/qucs-s.changes b/qucs-s.changes new file mode 100644 index 0000000..9b6eb8c --- /dev/null +++ b/qucs-s.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 26 10:24:10 UTC 2022 - Dmitry Roshchin + +- Initial package, version 1.0.0 diff --git a/qucs-s.rpmlintrc b/qucs-s.rpmlintrc new file mode 100644 index 0000000..bcabe0d --- /dev/null +++ b/qucs-s.rpmlintrc @@ -0,0 +1 @@ +addFilter('devel-file-in-non-devel-package') diff --git a/qucs-s.spec b/qucs-s.spec new file mode 100644 index 0000000..ebdb3cc --- /dev/null +++ b/qucs-s.spec @@ -0,0 +1,59 @@ +# +# spec file for package ch341eepromtool +# +# Copyright (c) 2022 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/ +# + + +Name: qucs-s +Version: 1.0.0 +Release: 0 +Summary: Qucs with SPICE +License: GPL-2.0 +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: cmake +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5Svg) +BuildRequires: cmake(Qt5Xml) +BuildRequires: cmake(Qt5PrintSupport) +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: fdupes +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 +%cmake +%cmake_build + +%install +%cmake_install +%fdupes %{buildroot}%{_datadir}/%{name}/ + +%files +%{_bindir}/* +%{_datadir}/%{name} +%{_datadir}/icons/hicolor/ +%{_datadir}/applications/%{name}.desktop +%doc %{_datadir}/man/man1/%{name}.1.gz + +%changelog +