2024-01-06 05:29:18 +01:00
|
|
|
%define pkgver %(echo %version| cut -d. -f1)
|
2024-01-06 05:29:17 +01:00
|
|
|
Name: libqhull
|
2024-01-06 05:29:18 +01:00
|
|
|
Version: 2019.1
|
2024-01-06 05:29:17 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:29:17 +01:00
|
|
|
Summary: General dimension convex hull programs
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 05:29:17 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:29:17 +01:00
|
|
|
URL: http://www.qhull.org/
|
2024-01-06 05:29:18 +01:00
|
|
|
Source: http://www.qhull.org/download/qhull-%{pkgver}-src-7.3.2.tgz
|
2024-01-06 05:29:17 +01:00
|
|
|
License: Distributable
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qhull is a general dimension convex hull program that reads a set of points from stdin, and outputs the smallest convex set that contains the points to stdout. It also generates Delaunay triangulations, Voronoi diagrams, furthest-site Voronoi diagrams, and halfspace intersections about a point.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Qhull is a general dimension convex hull program that reads a set of points from stdin, and outputs the smallest convex set that contains the points to stdout. It also generates Delaunay triangulations, Voronoi diagrams, furthest-site Voronoi diagrams, and halfspace intersections about a point.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
%package tools
|
|
|
|
Group: Applications/Development
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
%prep
|
|
|
|
|
2024-01-06 05:29:18 +01:00
|
|
|
%setup -q -n qhull-%{version}
|
2024-01-06 05:29:17 +01:00
|
|
|
#sed -i -e "s,\"../html/,\"html/,g" src/*.htm
|
2024-01-06 05:29:17 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:29:17 +01:00
|
|
|
%cmake -d build
|
2024-01-06 05:29:17 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:29:17 +01:00
|
|
|
%makeinstall -C build \
|
2024-01-06 05:29:17 +01:00
|
|
|
docdir=%{_docdir}/qhull-%{version}
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
ln -s libqhull %{buildroot}%{_includedir}/qhull
|
|
|
|
ln -s libqhull.h %{buildroot}%{_includedir}/libqhull/qhull.h
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_libdir}/libqhull.so.*
|
|
|
|
%{_libdir}/libqhull_p.so.*
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_libdir}/libqhull_r.so.*
|
2024-01-06 05:29:17 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/qhull
|
|
|
|
%dir %{_includedir}/libqhull
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_includedir}/libqhull/*
|
|
|
|
%dir %{_includedir}/libqhull_r
|
|
|
|
%{_includedir}/libqhull_r/*
|
2024-01-06 05:29:17 +01:00
|
|
|
%dir %{_includedir}/libqhullcpp
|
|
|
|
%{_includedir}/libqhullcpp/*.h
|
|
|
|
%{_libdir}/libqhull.so
|
|
|
|
%{_libdir}/libqhull_p.so
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_libdir}/libqhull_r.so
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_libdir}/libqhullcpp.a
|
|
|
|
%{_libdir}/libqhullstatic.a
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_libdir}/libqhullstatic_r.a
|
|
|
|
#%{_libdir}/libqhullstatic_p.a
|
2024-01-06 05:29:18 +01:00
|
|
|
%dir %{_prefix}/lib/cmake/Qhull
|
|
|
|
%{_prefix}/lib/cmake/Qhull/Qhull*.cmake
|
2024-01-06 05:29:17 +01:00
|
|
|
%dir %{_docdir}/qhull
|
|
|
|
%doc %{_docdir}/qhull/*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:29:17 +01:00
|
|
|
%{_bindir}/qconvex
|
|
|
|
%{_bindir}/qdelaunay
|
|
|
|
%{_bindir}/qhalf
|
|
|
|
%{_bindir}/qhull
|
|
|
|
%{_bindir}/qvoronoi
|
|
|
|
%{_bindir}/rbox
|
|
|
|
%{_mandir}/man1/qhull.1.gz
|
|
|
|
%{_mandir}/man1/rbox.1.gz
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:29:18 +01:00
|
|
|
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019.1-1mamba
|
|
|
|
- update to 2019.1
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2015-1mamba
|
|
|
|
- update to 2015
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
* Fri Jul 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2012.1-2mamba
|
|
|
|
- provide compatibility symlinks to resolve qhull/qhull.h into libqhull/libqhull.h
|
|
|
|
|
|
|
|
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 2012.1-1mamba
|
|
|
|
- update to 2012.1
|
|
|
|
|
2024-01-06 05:29:17 +01:00
|
|
|
* Mon Mar 18 2013 Automatic Build System <autodist@mambasoft.it> 2009.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 gil <puntogil@libero.it> 2003.1-1mamba
|
|
|
|
- package created by autospec
|