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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2692
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
1 %define name qhull
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
2 %define version 2003.1
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
3 %define release 1mdk
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
4 %define pack %{name}-%{version}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
5 Summary: General dimension convex hull programs
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
6 Name: %{name}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
7 Version: %{version}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
8 Release: %{release}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
9 License: Redistributable
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
10 Group: System/Libraries
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
11 Source0: %{pack}.tar.gz
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
12 URL: http://www.geom.umn.edu/software/qhull/
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
13 BuildRoot: %{_tmppath}/%{name}-buildroot
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
14 Prefix: %{_prefix}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
15
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
16 %description
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
17
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
18 Qhull is a general dimension convex hull program that reads a set
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
19 of points from stdin, and outputs the smallest convex set that contains
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
20 the points to stdout. It also generates Delaunay triangulations, Voronoi
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
21 diagrams, furthest-site Voronoi diagrams, and halfspace intersections
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
22 about a point.
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
23
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
24 Rbox is a useful tool in generating input for Qhull; it generates
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
25 hypercubes, diamonds, cones, circles, simplices, spirals,
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
26 lattices, and random points.
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
27
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
28 Qhull produces graphical output for Geomview. This helps with
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
29 understanding the output. <http://www.geomview.org>
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
30
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
31 %prep
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
32 %setup -n %{pack}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
33 cd src
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
34 sed -e 's,^BINDIR *= .*$,BINDIR = '$RPM_BUILD_ROOT'%_bindir,' \
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
35 -e 's,^MANDIR *= .*$,MANDIR = '$RPM_BUILD_ROOT'%_mandir/man1,' \
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
36 -e 's,^CCOPTS1 *= .*$,CCOPTS1 = %optflags,' \
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
37 Makefile.txt > Makefile
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
38 echo '
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
39 libqhull.so.'%{version}': $(OBJS)
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
40 $(CC) -shared -Xlinker -soname -Xlinker $@ -o $@ $(OBJS)
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
41
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
42 libqhull.so: libqhull.so.'%{version}'
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
43 '%__ln_s' -f $< $@
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
44 ' >> Makefile
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
45
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
46 %build
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
47
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
48 cd src
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
49 make libqhull.so
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
50 export LD_LIBRARY_PATH=`pwd`
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
51 make
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
52
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
53 %install
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
54 %__rm -rf $RPM_BUILD_ROOT
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
55
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
56 %__mkdir_p $RPM_BUILD_ROOT%_bindir
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
57 %__mkdir_p $RPM_BUILD_ROOT%_libdir
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
58 %__mkdir_p $RPM_BUILD_ROOT%_mandir/man1
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
59 %__mkdir_p $RPM_BUILD_ROOT%_includedir/%{name}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
60
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
61 cd src
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
62 make install
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
63 %__cp *.h $RPM_BUILD_ROOT%_includedir/%{name}
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
64 %__cp *.a libqhull.so* $RPM_BUILD_ROOT%_libdir
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
65
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
66
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
67 %clean
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
68 %__rm -rf $RPM_BUILD_ROOT
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
69
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
70 %files
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
71 %defattr(-,root,root)
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
72 %doc Announce.txt
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
73 %doc REGISTER.txt
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
74 %doc COPYING.txt
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
75 %doc README.txt
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
76 %doc html
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
77 %_bindir/*
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
78 %_libdir/*
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
79 %_includedir/*
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
80 %_mandir/*
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
81
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
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
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
84 - Update to qhull new version
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
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
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
87 - Update to qhull new version
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
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
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
90 - First package
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
91
78af29e94878 Remove a few more of the old files that aren't used
adb014
parents:
diff changeset
92 # end of file