Debian Codegraph @

debian/external_deps/fetk/gamer/gamer.spec

raw
1 ## ###########################################################################
2 ## File: gamer.spec
3 ##
4 ## Purpose: Spec file for building RPMS
5 ##
6 ## Notes: If this is installed in the top directory the user can build a
7 ## full set of src and arch rpms with one command:
8 ##
9 ## rpm -ta gamer.tar.gz
10 ##
11 ## Author: Michael Holst
12 ## ###########################################################################
13
14 Summary: Geometric Mesh generator
15 Name: gamer
16 Version: 0.1
17 Release: 1
18 Copyright: GPL
19 Group: Applications/Science
20 Prefix: /usr/local
21 Buildroot: %{_topdir}/buildroot
22 Source: gamer.tar.gz
23 URL: http://cam.ucsd.edu/~mholst
24 Packager: Michael Holst <[email protected]>
25 %description
26 GAMER (Geometry-preserving Adaptive Mesher) is a small self-contained simplex
27 mesh-generation package for generating high-quality tetrahedral meshes with
28 complex boundary and imbedded surface triangulations. It uses various
29 surface triangulation and improvement algorithms, together with Tetgen for
30 volume mesh generation. It is designed to work with collaboratively with
31 the FETK family of research software (MALOC, SG, MC, APBS). GAMER can be
32 used as a stand-alone mesh generation package that takes input from files
33 and produces output meshes in files in one of several formats. Since it
34 uses the MALOC platform portability layer from FETK, it can also be started
35 as a mesh generation server, taking input from UNIX and/or INET sockets,
36 and producing ouput to UNIX and/or INET sockets.
37
38 %prep
39 %setup -n gamer
40
41 %build
42
43 ./configure --prefix=${RPM_BUILD_ROOT}/%{prefix}
44 make
45
46 %install
47 mkdir -p ${RPM_BUILD_ROOT}/%{prefix}
48 make install
49
50 %clean
51 rm -rf ${RPM_BUILD_ROOT}
52
53 %post
54
55 %postun
56
57 %files
58 %defattr(-,root,root)
59 %{prefix}/lib
60 %{prefix}/include
61 %doc AUTHORS COPYING INSTALL NEWS ChangeLog doc