Mercurial > forge
annotate admin/qhull.spec @ 12698:1a348ee9a848 octave-forge
checking for netcdf4 support
author | abarth93 |
---|---|
date | Wed, 02 Dec 2015 09:22:02 +0000 |
parents | 0602f16722a6 |
children |
rev | line source |
---|---|
2692 | 1 %define name qhull |
2 %define version 2003.1 | |
3 %define release 1mdk | |
4 %define pack %{name}-%{version} | |
5 Summary: General dimension convex hull programs | |
6 Name: %{name} | |
7 Version: %{version} | |
8 Release: %{release} | |
9 License: Redistributable | |
10 Group: System/Libraries | |
11 Source0: %{pack}.tar.gz | |
12 URL: http://www.geom.umn.edu/software/qhull/ | |
13 BuildRoot: %{_tmppath}/%{name}-buildroot | |
14 Prefix: %{_prefix} | |
15 | |
16 %description | |
17 | |
18 Qhull is a general dimension convex hull program that reads a set | |
19 of points from stdin, and outputs the smallest convex set that contains | |
20 the points to stdout. It also generates Delaunay triangulations, Voronoi | |
21 diagrams, furthest-site Voronoi diagrams, and halfspace intersections | |
22 about a point. | |
23 | |
24 Rbox is a useful tool in generating input for Qhull; it generates | |
25 hypercubes, diamonds, cones, circles, simplices, spirals, | |
26 lattices, and random points. | |
27 | |
28 Qhull produces graphical output for Geomview. This helps with | |
29 understanding the output. <http://www.geomview.org> | |
30 | |
31 %prep | |
32 %setup -n %{pack} | |
33 cd src | |
34 sed -e 's,^BINDIR *= .*$,BINDIR = '$RPM_BUILD_ROOT'%_bindir,' \ | |
35 -e 's,^MANDIR *= .*$,MANDIR = '$RPM_BUILD_ROOT'%_mandir/man1,' \ | |
36 -e 's,^CCOPTS1 *= .*$,CCOPTS1 = %optflags,' \ | |
37 Makefile.txt > Makefile | |
38 echo ' | |
39 libqhull.so.'%{version}': $(OBJS) | |
40 $(CC) -shared -Xlinker -soname -Xlinker $@ -o $@ $(OBJS) | |
41 | |
42 libqhull.so: libqhull.so.'%{version}' | |
43 '%__ln_s' -f $< $@ | |
44 ' >> Makefile | |
45 | |
46 %build | |
47 | |
48 cd src | |
49 make libqhull.so | |
50 export LD_LIBRARY_PATH=`pwd` | |
51 make | |
52 | |
53 %install | |
54 %__rm -rf $RPM_BUILD_ROOT | |
55 | |
56 %__mkdir_p $RPM_BUILD_ROOT%_bindir | |
57 %__mkdir_p $RPM_BUILD_ROOT%_libdir | |
58 %__mkdir_p $RPM_BUILD_ROOT%_mandir/man1 | |
59 %__mkdir_p $RPM_BUILD_ROOT%_includedir/%{name} | |
60 | |
61 cd src | |
62 make install | |
63 %__cp *.h $RPM_BUILD_ROOT%_includedir/%{name} | |
64 %__cp *.a libqhull.so* $RPM_BUILD_ROOT%_libdir | |
65 | |
66 | |
67 %clean | |
68 %__rm -rf $RPM_BUILD_ROOT | |
69 | |
70 %files | |
71 %defattr(-,root,root) | |
72 %doc Announce.txt | |
73 %doc REGISTER.txt | |
74 %doc COPYING.txt | |
75 %doc README.txt | |
76 %doc html | |
77 %_bindir/* | |
78 %_libdir/* | |
79 %_includedir/* | |
80 %_mandir/* | |
81 | |
82 %changelog | |
10025
0602f16722a6
maint: reverting r10155 to Laurent Mazet old e-mail address <mazet@crm.mot.com>. It is still invalid but <laurent.mazet@math.cnrs.fr> is not the same person
carandraug
parents:
9969
diff
changeset
|
83 * Wed Jun 16 2004 Laurent Mazet <mazet@crm.mot.com> 2003.1-1mdk |
2692 | 84 - Update to qhull new version |
85 | |
10025
0602f16722a6
maint: reverting r10155 to Laurent Mazet old e-mail address <mazet@crm.mot.com>. It is still invalid but <laurent.mazet@math.cnrs.fr> is not the same person
carandraug
parents:
9969
diff
changeset
|
86 * Thu Sep 05 2002 Laurent Mazet <mazet@crm.mot.com> 2002.1-1mdk |
2692 | 87 - Update to qhull new version |
88 | |
10025
0602f16722a6
maint: reverting r10155 to Laurent Mazet old e-mail address <mazet@crm.mot.com>. It is still invalid but <laurent.mazet@math.cnrs.fr> is not the same person
carandraug
parents:
9969
diff
changeset
|
89 * Thu May 30 2002 Laurent Mazet <mazet@crm.mot.com> 3.1-1mdk |
2692 | 90 - First package |
91 | |
92 # end of file |