1 | %define name qhull |
---|
2 | %define version 2003.1 |
---|
3 | %define release 0 |
---|
4 | |
---|
5 | Summary: General dimension convex hull programs |
---|
6 | Name: %{name} |
---|
7 | Version: %{version} |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: Distributable |
---|
10 | Group: System Environment/Libraries |
---|
11 | Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz |
---|
12 | URL: http://www.qhull.org |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | |
---|
15 | Requires(post): /sbin/ldconfig |
---|
16 | Requires(postun): /sbin/ldconfig |
---|
17 | |
---|
18 | %description |
---|
19 | Qhull is a general dimension convex hull program that reads a set |
---|
20 | of points from stdin, and outputs the smallest convex set that contains |
---|
21 | the points to stdout. It also generates Delaunay triangulations, Voronoi |
---|
22 | diagrams, furthest-site Voronoi diagrams, and halfspace intersections |
---|
23 | about a point. |
---|
24 | |
---|
25 | %package devel |
---|
26 | Group: Development/Libraries |
---|
27 | Summary: Development files for qhull |
---|
28 | Requires: %{name} = %{version}-%{release} |
---|
29 | |
---|
30 | %description devel |
---|
31 | Qhull is a general dimension convex hull program that reads a set |
---|
32 | of points from stdin, and outputs the smallest convex set that contains |
---|
33 | the points to stdout. It also generates Delaunay triangulations, Voronoi |
---|
34 | diagrams, furthest-site Voronoi diagrams, and halfspace intersections |
---|
35 | about a point. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -n %{name}-%{version} |
---|
39 | |
---|
40 | |
---|
41 | %build |
---|
42 | %configure |
---|
43 | make |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | make DESTDIR=$RPM_BUILD_ROOT \ |
---|
48 | docdir=%{_docdir}/%{name}-%{version} install |
---|
49 | |
---|
50 | ## remove unuse files |
---|
51 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
52 | |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %post |
---|
58 | /sbin/ldconfig |
---|
59 | |
---|
60 | %postun |
---|
61 | /sbin/ldconfig |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root) |
---|
65 | %doc %{_docdir}/%{name}-%{version} |
---|
66 | %_bindir/* |
---|
67 | %_libdir/*.so.* |
---|
68 | %_mandir/man1/* |
---|
69 | |
---|
70 | %files devel |
---|
71 | %defattr(-,root,root) |
---|
72 | %_libdir/*.*a |
---|
73 | %_libdir/*.so |
---|
74 | %_includedir/* |
---|
75 | |
---|
76 | %changelog |
---|
77 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2003.1-1vl5 |
---|
78 | - applied new versioning policy |
---|
79 | - removed *.la |
---|
80 | |
---|
81 | *Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2003.1-0vl2 |
---|
82 | - rebuild on VineSeed |
---|
83 | |
---|
84 | *Thu Oct 6 2005 g-staff <g-staff@math.sci.hokudai.ac.jp> 2003.1-0vl1 |
---|
85 | - taken from FC |
---|
86 | - rebuild on Vine Linux 3.2 |
---|
87 | |
---|
88 | * Sun Aug 08 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.2 |
---|
89 | - Use default documentation installation scheme. |
---|
90 | |
---|
91 | * Fri Jul 16 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.1 |
---|
92 | - Initial Fedora RPM. |
---|