2024-01-06 07:03:33 +01:00
|
|
|
Name: meep
|
2024-01-06 07:03:35 +01:00
|
|
|
Version: 1.26.0
|
2024-01-06 07:03:33 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A free finite-difference time-domain (FDTD) simulation software package
|
|
|
|
Group: Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:03:33 +01:00
|
|
|
URL: https://github.com/NanoComp/meep
|
|
|
|
Source: https://github.com/NanoComp/meep.git/v%{version}/meep-%{version}.tar.bz2
|
2024-01-06 07:03:33 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libctl-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgc-devel
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libgsl-devel
|
|
|
|
BuildRequires: libguile-devel
|
|
|
|
BuildRequires: libharminv-devel
|
|
|
|
BuildRequires: libhdf5-devel
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libopenblas-devel
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libpython310-devel
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libunistring-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libunistring-devel >= 0.9.6
|
2024-01-06 07:03:33 +01:00
|
|
|
BuildRequires: libharminv-devel >= 1.4.1
|
2024-01-06 07:03:33 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems, along with our MPB eigenmode package.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%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}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
%package -n python-%{name}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings to %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
This package contains the Python bindings to %{name}.
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:03:33 +01:00
|
|
|
./autogen.sh
|
2024-01-06 07:03:33 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-06 07:03:33 +01:00
|
|
|
--enable-maintainer-mode \
|
2024-01-06 07:03:33 +01:00
|
|
|
--enable-shared
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/meep
|
|
|
|
%dir %{_datadir}/meep
|
2024-01-06 07:03:33 +01:00
|
|
|
%{_datadir}/meep/*.scm
|
2024-01-06 07:03:33 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmeep.so.*
|
2024-01-06 07:03:33 +01:00
|
|
|
%doc AUTHORS COPYRIGHT LICENSE
|
2024-01-06 07:03:33 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/meep.hpp
|
|
|
|
%dir %{_includedir}/meep
|
2024-01-06 07:03:33 +01:00
|
|
|
%{_includedir}/meep/*
|
2024-01-06 07:03:33 +01:00
|
|
|
%{_libdir}/libmeep.a
|
|
|
|
%{_libdir}/libmeep.so
|
|
|
|
%{_libdir}/pkgconfig/meep.pc
|
2024-01-06 07:03:33 +01:00
|
|
|
%doc TODO
|
2024-01-06 07:03:33 +01:00
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
%files -n python-%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python310_sitearch}/meep
|
|
|
|
%{python310_sitearch}/meep/*
|
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
%dir %{python310_sitelib}/meep
|
|
|
|
%{python310_sitelib}/meep/*
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
%changelog
|
2024-01-06 07:03:35 +01:00
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 1.26.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Wed Dec 28 2022 Automatic Build System <autodist@mambasoft.it> 1.25.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Sat Jul 23 2022 Automatic Build System <autodist@mambasoft.it> 1.24.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23.0-1mamba
|
|
|
|
- update to 1.23.0
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Sun May 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
|
|
|
|
- update to 1.3
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:03:33 +01:00
|
|
|
* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|