diff --git a/README.md b/README.md index ba4416b..2fe0b30 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # meep +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. + diff --git a/meep.spec b/meep.spec new file mode 100644 index 0000000..2dfa6b3 --- /dev/null +++ b/meep.spec @@ -0,0 +1,104 @@ +Name: meep +Version: 1.2 +Release: 1mamba +Summary: A free finite-difference time-domain (FDTD) simulation software package +Group: Applications/Scientific +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://ab-initio.mit.edu/wiki/index.php/Meep +Source: http://ab-initio.mit.edu/meep/meep-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: gcc-fortran +BuildRequires: glibc-devel +BuildRequires: libatlas-3dnow-devel +BuildRequires: libblas-devel +BuildRequires: libctl-devel +BuildRequires: libffi-devel +BuildRequires: libfftw-devel +BuildRequires: libgcc +BuildRequires: libgc-devel +BuildRequires: libgmp-devel +BuildRequires: libgsl-devel +BuildRequires: libguile-devel +BuildRequires: libharminv-devel +BuildRequires: libhdf5-devel +BuildRequires: libltdl-devel +BuildRequires: libquadmath-devel +BuildRequires: libstdc++6-devel +BuildRequires: libunistring-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 + +%build +%configure \ + --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/casimir.scm +%{_datadir}/meep/meep-enums.scm +%{_datadir}/meep/meep.scm + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libmeep.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/meep.hpp +%dir %{_includedir}/meep +%{_includedir}/meep/mympi.hpp +%{_includedir}/meep/vec.hpp +%{_libdir}/libmeep.a +%{_libdir}/libmeep.la +%{_libdir}/libmeep.so +%{_libdir}/pkgconfig/meep.pc +%doc ChangeLog NEWS README TODO + + +%changelog +* Sun Nov 17 2013 Silvan Calarco 1.2-1mamba +- package created by silvan using the webbuild interface