Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
qhull
qhull.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qhull.spec of Package qhull
# # spec file for package qhull (Version 2010.1.next.git20100318) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname 0 Name: qhull Version: 2010.1.next.git20100318 Release: 1 License: Other License(s), see package Group: System/Libraries Url: http://www.qhull.org Source0: qhull.tar.bz2 Patch: susepatches.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake gcc-c++ Summary: Computing convex hulls, Delaunay triangulations and Voronoi diagrams %description Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram, halfspace intersection about a point, furthest-site Delaunay triangulation, and furthest-site Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and higher dimensions. Qhull implements the Quickhull algorithm for computing the convex hull. It handles roundoff errors from floating point arithmetic. It computes volumes, surface areas, and approximations to the convex hull. Qhull does not support constrained Delaunay triangulations, triangulation of non-convex surfaces, mesh generation of non-convex objects, or medium-sized inputs in 9-D and higher. %package devel License: Other License(s), see package Summary: Development and documentation files for qhull Requires: qhull = %version Group: Development/Libraries/Other %description devel Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram, halfspace intersection about a point, furthest-site Delaunay triangulation, and furthest-site Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and higher dimensions. Qhull implements the Quickhull algorithm for computing the convex hull. It handles roundoff errors from floating point arithmetic. It computes volumes, surface areas, and approximations to the convex hull. Qhull does not support constrained Delaunay triangulations, triangulation of non-convex surfaces, mesh generation of non-convex objects, or medium-sized inputs in 9-D and higher. %prep %setup -q -n %{name} %patch -p1 %build mkdir build cd build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" cmake -DCMAKE_INSTALL_PREFIX=%_prefix -DLIB_INSTALL_DIR=%_libdir .. make %{?jobs:-j%jobs} %install cd build make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%_libdir/*.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/qconvex %{_bindir}/qdelaunay %{_bindir}/qhalf %{_bindir}/qhull %{_bindir}/qvoronoi %{_bindir}/rbox %{_libdir}/libqhull.so %files devel %defattr(-,root,root) %{_datadir}/doc/packages/qhull %{_includedir}/*.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor