packages meep.spec
      Pages: < 1 >  DOWNLOAD      
Name:          meep
Version:       1.3
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@...>
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
%ifarch %{ix86}
BuildRequires: libatlas-3dnow-devel
%endif
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
%ifarch x86_64
BuildRequires: libatlas-devel
%endif
BuildRequires: libunistring-devel >= 0.9.6
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 NEWS TODO

%changelog
* Sun May 15 2016 Silvan Calarco <silvan.calarco@...> 1.3-1mamba
- update to 1.3

* Thu Nov 06 2014 Automatic Build System <autodist@...> 1.2.1-1mamba
- automatic update by autodist

* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@...> 1.2-1mamba
- package created by silvan using the webbuild interface