-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMesh.spec
42 lines (36 loc) · 1.21 KB
/
Mesh.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Spec file for MESH
# $Id$
Summary: Measuring Errors between Surfaces using the Hausdorff distance
Name: Mesh
Version: 1.13
Release: 1
License: GPL
Group: Applications/Scientific Visualization
Source: http://mesh.epfl.ch/Mesh-1.13.tar.gz
URL: http://mesh.epfl.ch
Packager: Nicolas Aspert <[email protected]>
Requires: qt >= 2.3, zlib >= 1.1, libpng >= 1, libjpeg >= 6, Mesa >= 3.4, libstdc++ >= 2.95
BuildRequires: qt-devel >= 2.3, zlib-devel >= 1.1
AutoReqProv: no
Prefix: %{_prefix}
%description
MESH is a tool that measures distortion between two discrete surfaces
(triangular meshes). It uses the Hausdorff distance to compute a
maximum, mean and root-mean-square errors between two given
surfaces. Besides providing figures, MESH can also display the error
values on the surface itself. The source code of MESH is available
under the GNU General Public License. It requires the Qt library
(available for free), and has been successfully tested on several
platforms.
# disable debug package generation (troubles with moc files)
%define debug_package %{nil}
%prep
%setup
%build
make all
%install
install -D $RPM_BUILD_DIR/%{name}-%{version}/bin/mesh %{_bindir}/mesh
%files
%defattr(-,root,root)
%doc README
%{_bindir}/mesh