106 lines
3.2 KiB
RPMSpec
106 lines
3.2 KiB
RPMSpec
Name: libqhull
|
|
Version: 2012.1
|
|
Release: 2mamba
|
|
Summary: General dimension convex hull programs
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.qhull.org/
|
|
Source: http://www.qhull.org/download/qhull-%{version}-src.tgz
|
|
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.
|
|
|
|
%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}.
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n qhull-%{version}
|
|
#sed -i -e "s,\"../html/,\"html/,g" src/*.htm
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build \
|
|
docdir=%{_docdir}/qhull-%{version}
|
|
|
|
ln -s libqhull %{buildroot}%{_includedir}/qhull
|
|
ln -s libqhull.h %{buildroot}%{_includedir}/libqhull/qhull.h
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libqhull.so.*
|
|
%{_libdir}/libqhull_p.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/qhull
|
|
%dir %{_includedir}/libqhull
|
|
%{_includedir}/libqhull/*.h
|
|
%{_includedir}/libqhull/*.htm
|
|
%dir %{_includedir}/libqhullcpp
|
|
%{_includedir}/libqhullcpp/*.h
|
|
%{_libdir}/libqhull.so
|
|
%{_libdir}/libqhull_p.so
|
|
%{_libdir}/libqhullcpp.a
|
|
%{_libdir}/libqhullstatic.a
|
|
%{_libdir}/libqhullstatic_p.a
|
|
%dir %{_docdir}/qhull
|
|
%doc %{_docdir}/qhull/*
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/qconvex
|
|
%{_bindir}/qdelaunay
|
|
%{_bindir}/qhalf
|
|
%{_bindir}/qhull
|
|
%{_bindir}/qvoronoi
|
|
%{_bindir}/rbox
|
|
%{_mandir}/man1/qhull.1.gz
|
|
%{_mandir}/man1/rbox.1.gz
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* 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
|