mirror of
https://abf.rosa.ru/djam/qhull.git
synced 2025-02-23 22:32:49 +00:00
Move libqhull6_p to individual package
Fix library major version
This commit is contained in:
parent
4c4d24dda7
commit
445c3f7a82
1 changed files with 23 additions and 17 deletions
40
qhull.spec
40
qhull.spec
|
@ -1,15 +1,16 @@
|
|||
%define major 6
|
||||
%define major 6.3.0.1483
|
||||
%define libname %mklibname %{name} %{major}
|
||||
%define libname6p %mklibname %{name}6_p %{major}
|
||||
%define devname %mklibname %{name} -d
|
||||
%define sdevname %mklibname %{name} -d -s
|
||||
|
||||
Summary: Compute convex hulls
|
||||
Name: qhull
|
||||
Version: 2012.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
License: GPLv2+
|
||||
Group: System/Libraries
|
||||
URL: http://www.qhull.org/
|
||||
Url: http://www.qhull.org/
|
||||
Source0: http://www.qhull.org/files/%{name}-%{version}-src.tgz
|
||||
BuildRequires: cmake
|
||||
Patch0: qhull-2012.1-format.patch
|
||||
|
@ -39,25 +40,29 @@ point arithmetic. It can approximate a convex hull.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Shared libraries for %{name}
|
||||
Summary: Shared library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}qhull6 < 2012.1-6
|
||||
Obsoletes: %{_lib}qhull6 < 2012.1-6
|
||||
|
||||
%description -n %{libname}
|
||||
Qhull computes convex hulls, Delaunay triangulations, Voronoi diagrams,
|
||||
furthest-site Voronoi diagrams, and halfspace intersections about a point.
|
||||
It runs in 2-d, 3-d, 4-d, or higher. It implements the Quickhull algorithm
|
||||
for computing convex hulls. Qhull handles round-off errors from floating
|
||||
point arithmetic. It can approximate a convex hull.
|
||||
|
||||
The program includes options for hull volume, facet area, partial hulls,
|
||||
input transformations, randomization, tracing, multiple output formats, and
|
||||
execution statistics.
|
||||
|
||||
This package provide shared libraries for %{name}.
|
||||
Shared library for %{name}.
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libqhull.so.%{major}*
|
||||
%{_libdir}/libqhull6_p.so.%{major}*
|
||||
%{_libdir}/libqhull.so.%{major}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname6p}
|
||||
Summary: Shared library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}qhull6 < 2012.1-6
|
||||
|
||||
%description -n %{libname6p}
|
||||
Shared library for %{name}.
|
||||
|
||||
%files -n %{libname6p}
|
||||
%{_libdir}/libqhull6_p.so.%{major}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
@ -65,6 +70,7 @@ This package provide shared libraries for %{name}.
|
|||
Summary: Header files and libraries for development with %{name}
|
||||
Group: Development/C
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: %{libname6p} = %{EVRD}
|
||||
Provides: %{name}-devel = %{EVRD}
|
||||
|
||||
%description -n %{devname}
|
||||
|
|
Loading…
Add table
Reference in a new issue