meep/meep.spec

114 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: meep
Version: 1.24.0
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>
URL: https://github.com/NanoComp/meep
Source: https://github.com/NanoComp/meep.git/v%{version}/meep-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libctl-devel
BuildRequires: libffi-devel
BuildRequires: libfftw-devel
BuildRequires: libgc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel
BuildRequires: libgsl-devel
BuildRequires: libguile-devel
BuildRequires: libharminv-devel
BuildRequires: libhdf5-devel
BuildRequires: libopenblas-devel
BuildRequires: libquadmath-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunistring-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libunistring-devel >= 0.9.6
BuildRequires: libharminv-devel >= 1.4.1
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}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure \
--enable-maintainer-mode \
--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
%{_datadir}/meep/*.scm
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmeep.so.*
%doc AUTHORS COPYRIGHT LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/meep.hpp
%dir %{_includedir}/meep
%{_includedir}/meep/*
%{_libdir}/libmeep.a
%{_libdir}/libmeep.la
%{_libdir}/libmeep.so
%{_libdir}/pkgconfig/meep.pc
%doc TODO
%changelog
* Sat Jul 23 2022 Automatic Build System <autodist@mambasoft.it> 1.24.0-1mamba
- automatic version update by autodist
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23.0-1mamba
- update to 1.23.0
* Sun May 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic update by autodist
* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- package created by silvan using the webbuild interface