package created using the webbuild interface [release 35-1mamba;Thu Oct 14 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:38:51 +01:00
parent cd9451a832
commit 84423534c4
2 changed files with 113 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ngspice
Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.

111
ngspice.spec Normal file
View File

@ -0,0 +1,111 @@
Name: ngspice
Version: 35
Release: 1mamba
Summary: Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice
Group: Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://ngspice.sourceforge.net
Source: https://sourceforge.net/projects/ngspice/files/ng-spice-rework/%{version}/ngspice-%{version}.tar.gz
License: LGPL, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXaw-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXmu-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-xspice \
--enable-cider \
--enable-openmp \
--enable-oldapps \
--with-ngshared
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
#%{_bindir}/ngspice
%dir %{_datadir}/ngspice
%dir %{_datadir}/ngspice/scripts
%{_datadir}/ngspice/scripts/*
#%{_mandir}/man1/ngspice.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libngspice.so.*
%dir %{_libdir}/ngspice
%{_libdir}/ngspice/*.cm
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/ngspice
%{_includedir}/ngspice/sharedspice.h
%{_libdir}/libngspice.la
%{_libdir}/libngspice.so
%{_libdir}/pkgconfig/ngspice.pc
%changelog
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 35-1mamba
- package created using the webbuild interface