update to 20211211git [release 20211211git-1mamba;Sat Dec 11 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:36:53 +01:00
parent d15a8a7fc9
commit 8a6a9674de

42
s4.spec
View File

@ -1,27 +1,22 @@
Name: s4
Version: 20131116git
Version: 20211211git
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>
URL: http://www.stanford.edu/group/fan/S4/
## GITSOURCE https://github.com/victorliu/S4.git master
URL: https://web.stanford.edu/group/fan/S4/
Source: https://github.com/victorliu/S4.git/master/S4-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libatlas-3dnow-devel
BuildRequires: libblas-devel
BuildRequires: libfftw-devel
BuildRequires: libatlas-devel
BuildRequires: libgcc
BuildRequires: liblapack-devel
BuildRequires: liblua-devel
BuildRequires: libquadmath-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
@ -30,18 +25,16 @@ S4 is a frequency domain code to solve layered periodic structures. Internally,
%prep
%setup -q -n S4-%{version}
chmod +x configure
%build
aclocal
autoconf
automake
%configure
%make
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#% makeinstall
install -D -m0755 build/S4 %{buildroot}%{_bindir}/S4
install -D -m0755 docold/S4.1 %{buildroot}%{_mandir}/man1/S4.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -49,16 +42,19 @@ automake
%files
%defattr(-,root,root)
%{_bindir}/S4
%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.gz
#%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*
%doc AUTHORS COPYING
#%doc ChangeLog README TODO
%changelog
* Sat Dec 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20211211git-1mamba
- update to 20211211git
* Sat Nov 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20131116git-1mamba
- package created by silvan using the webbuild interface