From 84423534c460d576205c731026a05e832b0a8941 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:38:51 +0100 Subject: [PATCH] package created using the webbuild interface [release 35-1mamba;Thu Oct 14 2021] --- README.md | 2 + ngspice.spec | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 ngspice.spec diff --git a/README.md b/README.md index 4213d26..5bcd009 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ngspice +Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice. + diff --git a/ngspice.spec b/ngspice.spec new file mode 100644 index 0000000..9c41f20 --- /dev/null +++ b/ngspice.spec @@ -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 +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 35-1mamba +- package created using the webbuild interface