File f3dview-qt.spec of Package f3dview-qt

# spec file for package f3dview-qt

# norootforbuild

Name:          f3dview-qt
License:       GPL
Group:         Productivity/Scientific/Other
Version:       0.1
Release:       0
Summary:       Viewer for f3d volume files
Source:        %name-%version.tar.gz
BuildRequires: gcc-c++ libf3dformat-devel libqt4-devel
BuildRoot:     %{_tmppath}/%{name}-%{version}-build

f3d (Format 3 Dimensional) is a simple format for storage of 3D datasets supporting  different voxel types (8, 16, 32 bit integers, floats) and different grids (cartesian, regular, rectilinear). It does not support curvilinear and unstructured grids.
The package includes viewer application (f3dview-qt) for exploring the f3d volume files. Application uses Qt4 framework. Files can be viewed by displaying volume aligned slices.

%setup -q

%if 0%{?fedora}
make %{?_smp_mflags}

mkdir -p %{buildroot}%{_prefix}/bin
cp f3dview-qt %{buildroot}%{_prefix}/bin

rm -rf %{buildroot}