source: projects/specs/trunk/q/qhull/qhull-vl.spec @ 521

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name qhull
2%define version 2003.1
3%define release 0
4
5Summary: General dimension convex hull programs
6Name: %{name}
7Version: %{version}
8Release: 1%{?_dist_release}
9License:  Distributable
10Group: System Environment/Libraries
11Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz
12URL: http://www.qhull.org
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15Requires(post): /sbin/ldconfig
16Requires(postun): /sbin/ldconfig
17
18%description
19Qhull is a general dimension convex hull program that reads a set
20of points from stdin, and outputs the smallest convex set that contains
21the points to stdout.  It also generates Delaunay triangulations, Voronoi
22diagrams, furthest-site Voronoi diagrams, and halfspace intersections
23about a point.
24
25%package devel
26Group: Development/Libraries
27Summary: Development files for qhull
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31Qhull is a general dimension convex hull program that reads a set
32of points from stdin, and outputs the smallest convex set that contains
33the points to stdout.  It also generates Delaunay triangulations, Voronoi
34diagrams, furthest-site Voronoi diagrams, and halfspace intersections
35about a point.
36
37%prep
38%setup -n %{name}-%{version}
39
40
41%build
42%configure
43make
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make DESTDIR=$RPM_BUILD_ROOT \
48  docdir=%{_docdir}/%{name}-%{version} install
49
50## remove unuse files
51rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
52
53
54%clean
55rm -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.
Note: See TracBrowser for help on using the repository browser.