Summary(pl.UTF-8): Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
Name: Field3D
Version: 1.7.3
-Release: 1
+Release: 3
License: BSD
Group: Libraries
#Source0Download: https://github.com/imageworks/Field3D/releases
-Source0: http://github.com/imageworks/Field3D/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0: https://github.com/imageworks/Field3D/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 536198b1b4840a5b35400ccf05d4431c
URL: http://opensource.imageworks.com/?p=field3d
BuildRequires: cmake >= 2.8
BuildRequires: hdf5-devel >= 1.8
BuildRequires: ilmbase-devel >= 1.0.1
BuildRequires: libstdc++-devel
+BuildRequires: rpmbuild(macros) >= 1.605
Requires: hdf5 >= 1.8
Requires: ilmbase >= 1.0.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
install -d build
cd build
+export CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -std=c++14"
%cmake ..
%{__make}