LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gsvit.spec of Package gsvit (Project home:miraval)

# gsvit.spec.in

Name:          gsvit
Version:       1.8.1
Release:       1
Summary:       Gsvit summary

Group:         Productivity/Scientific/Physics
License:       GPL-2.0
URL:           http://gsvit.net/
Source0:       http://gsvit.net/download/%{version}/%{name}-%{version}.tar.xz
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -un)
Requires(pre):    /sbin/ldconfig
Requires(postun): /sbin/ldconfig

BuildRequires: gwyddion >= 2.0
BuildRequires: gwyddion-devel >= 2.0
BuildRequires: xz
%if 0%{?suse_version}

%if 0%{?suse_version} >= 1230
BuildRequires: glu-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libSM-devel
BuildRequires: libICE-devel
BuildRequires: pangox-devel
BuildRequires: xorg-x11-Mesa-devel
BuildRequires: xorg-x11-libXmu-devel
BuildRequires: xorg-x11-libXt-devel
BuildRequires: xorg-x11-libSM-devel
BuildRequires: xorg-x11-libICE-devel 
BuildRequires: pango-devel 


BuildRequires: gtkglext-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libSM-devel
BuildRequires: libICE-devel


%define pkgdatadir %{_datadir}/%{name}

Gsvit is an open source FDTD solver with graphics card computing support.

GSvit covers set of numerical tools for Finite Difference in Time Domain calculations supporting use of Nvidia CUDA environment compatible graphics cards. Main scientific purposes include research in nanotechnology and nanoscale optics, like scanning near-field optical microscopy, tip enhanced Raman scattering, rough surface scattering, etc. However, as FDTD is an universal method, it can be used for any other purposes.

Main mission of this project is to convert set of already developed software tools described here:

P. Klapetek, M. Valtr: Near-field optical microscopy simulations using graphics processing units, Surf. Interface Analysis, 2010, 42, pp 1109-1113
P. Klapetek et al: Rough surface scattering simulations using graphics cards, Applied Surface Science, 2010, 256, pp 5640-5643.

into GPL based open source software. This process can be rather slow, at least for some of the algorithms. 

%setup -q

make %{?_smp_mflags}





%dir %{pkgdatadir}/tests/selftests
%dir %{pkgdatadir}/tests/test06
%dir %{pkgdatadir}/tests/test05
%dir %{pkgdatadir}/tests/test04
%dir %{pkgdatadir}/tests/test03
%dir %{pkgdatadir}/tests/test02
%dir %{pkgdatadir}/tests/test01
%dir %{pkgdatadir}/tests
%dir %{pkgdatadir}/data/spectra
%dir %{pkgdatadir}/data
%dir %{pkgdatadir}