Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
qhull
qhull.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qhull.spec of Package qhull
# # spec file for package qhull # # Copyright (c) 2012 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 sonum 6 %define ver 2012.1 %define libver 6_3_1_1494 Name: qhull Version: %{ver}.2 Release: 0 Url: http://www.qhull.org Source0: %{name}-%{ver}-src.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: gcc-c++ Requires: libqhull%{sonum}-%{libver} = %{version} Summary: Computing convex hulls, Delaunay triangulations and Voronoi diagrams License: SUSE-Qhull Group: System/Libraries %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 -n libqhull%{sonum}-%{libver} Summary: Computing convex hulls, Delaunay triangulations and Voronoi diagrams Group: Development/Libraries/Other %description -n libqhull%{sonum}-%{libver} 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 Summary: Development and documentation files for qhull Group: Development/Libraries/Other Requires: qhull = %{version} %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}-%{ver} %build cd build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DMAN_INSTALL_DIR=%{_mandir}/man1/ -DLIB_INSTALL_DIR=%{_libdir} -DDOC_INSTALL_DIR=%{_docdir}/%{name} .. make %{?jobs:-j%jobs} %install cd build make DESTDIR=$RPM_BUILD_ROOT install cd .. rm $RPM_BUILD_ROOT%{_libdir}/*.a mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}/devel mv $RPM_BUILD_ROOT%{_docdir}/%{name}/*.* $RPM_BUILD_ROOT%{_docdir}/%{name}/devel cp Announce.txt src/Changes.txt README.txt REGISTER.txt $RPM_BUILD_ROOT%{_docdir}/%{name} mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}-%{libver} cp COPYING.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{libver} %post -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig %postun -n libqhull%{sonum}-%{libver} -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* %dir %{_docdir}/%{name} %{_docdir}/%{name}/Announce.txt %{_docdir}/%{name}/Changes.txt %{_docdir}/%{name}/README.txt %{_docdir}/%{name}/REGISTER.txt %files -n libqhull%{sonum}-%{libver} %defattr(-,root,root) %{_libdir}/libqhull_p.so.* %{_libdir}/libqhull.so.* %dir %{_docdir}/%{name}-%{libver} %{_docdir}/%{name}-%{libver}/COPYING.txt %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/libqhull_p.so %{_libdir}/libqhull.so %{_mandir}/man1/* %{_docdir}/%{name}/devel %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