I have built the latest version of Paraview from source and I am trying to add the desktop file to the dash.
Running
sudo desktop-file-install /opt/ParaView5.1.2/Applications/ParaView/paraview.desktop
Produces the error
/usr/share/applications/paraview.desktop: error: value "5.12" for key "Version" in group "Desktop Entry" is not a known version
Error on file "/opt/ParaView5.1.2/Applications/ParaView/paraview.desktop": Failed to validate the created desktop file
The desktop file is
[Desktop Entry]
Version=5.1.2
Type=Application
Name=ParaView
Comment=Parallel visualization application
TryExec=paraview
Icon=paraview