2024-01-05 17:36:52 +01:00
|
|
|
Name: s4
|
2024-01-05 17:36:53 +01:00
|
|
|
Version: 20211211git
|
2024-01-05 17:36:52 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
|
|
|
|
Group: Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:36:53 +01:00
|
|
|
URL: https://web.stanford.edu/group/fan/S4/
|
2024-01-05 17:36:52 +01:00
|
|
|
Source: https://github.com/victorliu/S4.git/master/S4-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:36:53 +01:00
|
|
|
BuildRequires: libatlas-devel
|
2024-01-05 17:36:52 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 17:36:53 +01:00
|
|
|
BuildRequires: liblapack-devel
|
2024-01-05 17:36:52 +01:00
|
|
|
BuildRequires: liblua-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
S4 is a frequency domain code to solve layered periodic structures. Internally, it uses Rigorous Coupled Wave Analysis (RCWA; also called the Fourier Modal Method (FMM)) and the S-matrix algorithm. S4 was developed by Victor Liu of the Fan Group in the Stanford Electrical Engineering Department.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n S4-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:36:53 +01:00
|
|
|
%make -j1
|
2024-01-05 17:36:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 17:36:53 +01:00
|
|
|
#% makeinstall
|
|
|
|
|
|
|
|
install -D -m0755 build/S4 %{buildroot}%{_bindir}/S4
|
|
|
|
install -D -m0755 docold/S4.1 %{buildroot}%{_mandir}/man1/S4.1
|
2024-01-05 17:36:52 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/S4
|
2024-01-05 17:36:53 +01:00
|
|
|
#%dir %{_docdir}/S4
|
|
|
|
#%{_docdir}/S4/*.html
|
|
|
|
#%{_docdir}/S4/s4.css
|
|
|
|
#%{_docdir}/S4/s4.png
|
|
|
|
#%dir %{_docdir}/S4/examples
|
|
|
|
#%{_docdir}/S4/examples/*
|
|
|
|
%{_mandir}/man1/S4.1*
|
2024-01-05 17:36:52 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#%doc ChangeLog README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:36:53 +01:00
|
|
|
* Sat Dec 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20211211git-1mamba
|
|
|
|
- update to 20211211git
|
|
|
|
|
2024-01-05 17:36:52 +01:00
|
|
|
* Sat Nov 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20131116git-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|