ngspice/ngspice.spec

105 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: ngspice
Version: 42
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: https://ngspice.sourceforge.io/
Source: https://sourceforge.net/projects/ngspice/files/ng-spice-rework/%{version}/ngspice-%{version}.tar.gz
License: LGPL, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libstdc++6-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.so
%{_libdir}/pkgconfig/ngspice.pc
%changelog
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 42-1mamba
- automatic version update by autodist
* Wed Aug 16 2023 Automatic Build System <autodist@mambasoft.it> 41-1mamba
- automatic version update by autodist
* Sat Apr 01 2023 Automatic Build System <autodist@mambasoft.it> 40-1mamba
- automatic version update by autodist
* Mon Oct 31 2022 Automatic Build System <autodist@mambasoft.it> 38-1mamba
- automatic version update by autodist
* Thu May 19 2022 Automatic Build System <autodist@mambasoft.it> 37-1mamba
- automatic version update by autodist
* Sat Jan 01 2022 Automatic Build System <autodist@mambasoft.it> 36-1mamba
- automatic version update by autodist
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 35-1mamba
- package created using the webbuild interface