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 Name: s4
Version: 20131116git Version: 20211211git
Release: 1mamba Release: 1mamba
Summary: Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures Summary: Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
Group: Applications/Scientific Group: Applications/Scientific
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.stanford.edu/group/fan/S4/ URL: https://web.stanford.edu/group/fan/S4/
## GITSOURCE https://github.com/victorliu/S4.git master
Source: https://github.com/victorliu/S4.git/master/S4-%{version}.tar.bz2 Source: https://github.com/victorliu/S4.git/master/S4-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libatlas-3dnow-devel BuildRequires: libatlas-devel
BuildRequires: libblas-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: liblapack-devel
BuildRequires: liblua-devel BuildRequires: liblua-devel
BuildRequires: libquadmath-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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 %prep
%setup -q -n S4-%{version} %setup -q -n S4-%{version}
chmod +x configure
%build %build
aclocal %make -j1
autoconf
automake
%configure
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -49,16 +42,19 @@ automake
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/S4 %{_bindir}/S4
%dir %{_docdir}/S4 #%dir %{_docdir}/S4
%{_docdir}/S4/*.html #%{_docdir}/S4/*.html
%{_docdir}/S4/s4.css #%{_docdir}/S4/s4.css
%{_docdir}/S4/s4.png #%{_docdir}/S4/s4.png
%dir %{_docdir}/S4/examples #%dir %{_docdir}/S4/examples
%{_docdir}/S4/examples/* #%{_docdir}/S4/examples/*
%{_mandir}/man1/S4.1.gz %{_mandir}/man1/S4.1*
%doc AUTHORS COPYING %doc AUTHORS COPYING
#%doc ChangeLog README TODO #%doc ChangeLog README TODO
%changelog %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 * Sat Nov 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20131116git-1mamba
- package created by silvan using the webbuild interface - package created by silvan using the webbuild interface