automatic version update by autodist [release 2009.1.3-1mamba;Mon Mar 18 2013]

This commit is contained in:
Automatic Build System 2024-01-06 05:29:17 +01:00
parent 500314ee25
commit 45f6fe6c4a
2 changed files with 96 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libqhull
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.

94
libqhull.spec Normal file
View File

@ -0,0 +1,94 @@
Name: libqhull
Version: 2009.1.3
Release: 1mamba
Summary: General dimension convex hull programs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.qhull.org/
Source: http://www.qhull.org/download/qhull-%{version}.tar.gz
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.
%prep
%setup -q -n qhull-%{version}
sed -i -e "s,\"../html/,\"html/,g" src/*.htm
%build
dos2unix * config/*
dos2unix -f configure
libtoolize
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall\
docdir=%{_docdir}/qhull-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/qconvex
%{_bindir}/qdelaunay
%{_bindir}/qhalf
%{_bindir}/qhull
%{_bindir}/qvoronoi
%{_bindir}/rbox
%{_libdir}/libqhull.so.*
%{_mandir}/man1/qhull.1.gz
%{_mandir}/man1/rbox.1.gz
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qhull
%{_includedir}/qhull/*.h
%{_libdir}/libqhull.a
%{_libdir}/libqhull.la
%{_libdir}/libqhull.so
%dir %{_docdir}/qhull-%{version}
%doc %{_docdir}/qhull-%{version}/*.txt
%doc %{_docdir}/qhull-%{version}/*.htm
%dir %{_docdir}/qhull-%{version}/examples
%doc %{_docdir}/qhull-%{version}/examples/Makefile.txt
%doc %{_docdir}/qhull-%{version}/examples/Mborland
%doc %{_docdir}/qhull-%{version}/examples/q_eg
%doc %{_docdir}/qhull-%{version}/examples/q_egtest
%doc %{_docdir}/qhull-%{version}/examples/q_test
%doc %{_docdir}/qhull-%{version}/examples/*.bat
%doc %{_docdir}/qhull-%{version}/examples/*.cpp
%doc %{_docdir}/qhull-%{version}/examples/*.c
%dir %{_docdir}/qhull-%{version}/html
%doc %{_docdir}/qhull-%{version}/html/*.htm
%doc %{_docdir}/qhull-%{version}/html/qh--*.gif
%changelog
* 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