Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:test:electronics
gspiceui
gspiceui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gspiceui.spec of Package gspiceui
# # spec file for package gspiceui # # Copyright (c) 2021 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 http://bugs.opensuse.org/ # Summary: GUI for the Spice Simulators ngspice and gnucap License: GPL-3.0-or-later Group: Productivity/Scientific/Electronics Name: gspiceui Version: 1.2.87 Release: 0 Url: http://sourceforge.net/projects/gspiceui Source0: https://sourceforge.net/projects/gspiceui/files/gSpiceUI/gspiceui-v%{version}/gspiceui-v%{version}.tar.gz/download#/gspiceui-v%{version}.tar.gz # PATCH-FIX-OPENSUSE use_optflags.diff - Compile using distribution optflags Patch0: use_optflags.diff # PATCH-FIX-OPENSUSE adapt_html_help_path.diff - Set search path to distribution documentation directory Patch1: adapt_html_help_path.diff BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: update-desktop-files %if %{suse_version} >= 1750 BuildRequires: wxGTK3-devel >= 3.1 %else BuildRequires: wxWidgets-devel >= 3.0 %endif Requires: geda-gnetlist Recommends: ngspice %description The GNU Spice GUI provides a frontend for the circuit simulators ngspice and gnucap. %prep %setup -q -n %{name}-v%{version} %patch0 -p1 %patch1 -p1 %build export CXXFLAGS="%optflags" %if %{suse_version} >= 1550 %make_build GSPICEUI_WXLIB=3.1 %else %make_build %endif %install install -d %{buildroot}/%{_datadir}/gspiceui (cd src; make DESTDIR=%{buildroot}/%{_prefix} install) (cd sch; make DESTDIR=%{buildroot}/%{_prefix} install) (cd lib; make DESTDIR=%{buildroot}/%{_prefix} install) install -m644 -D -t %{buildroot}/%{_mandir}/man1/ gspiceui.1 for size in 32 48 ; do install -m644 -D src/icons/gspiceui-${size}x${size}.xpm %{buildroot}/%{_datadir}/icons/hicolor/${size}x${size}/apps/gspiceui.xpm done %suse_update_desktop_file -c gspiceui gspiceui gspiceui gspiceui gspiceui Education Engineering # Cleanup find %{buildroot}/%{_prefix} -iname \*Makefile -print -delete %files %doc ReadMe ChangeLog html %license License %{_bindir}/* %dir %{_datadir}/gspiceui %{_datadir}/gspiceui/* %dir %{_datadir}/icons/hicolor/*/apps %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/applications/*.desktop %{_mandir}/man1/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor