commit qhull for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2020-11-02 09:40:38

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new.3463 (New)


Package is "qhull"

Mon Nov  2 09:40:38 2020 rev:20 rq:844901 version:2020.2

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2020-07-14 
07:58:08.889567881 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new.3463/qhull.changes2020-11-02 
09:40:45.597631031 +0100
@@ -1,0 +2,14 @@
+Fri Oct 23 16:27:02 UTC 2020 - Stefan Brüns 
+
+- updated to 2020.2 (8.0.2):
+  * Qhull 202.2 updates Qhull's builds and Qhull's C++ interface. 
+See https://github.com/qhull/qhull/wiki for details.
+- updated to 2020.1 (8.0.2):
+  * Qhull 2020.1 enhances the C++ interface with QhullUser and
+support for Voronoi diagrams. See user_eg3 for C++ examples.
+  * Qhull builds support pkg-config, SONAME, DESTDIR for staged
+installs, PREFIX, QhullExport, and CMAKE_CURRENT_SOURCE_DIR.
+- Drop 0001-Allow-disabling-of-static-or-shared-library-builds.patch
+- Rebase 0002-Remove-tools-from-CMake-exported-targets.patch
+
+---

Old:

  0001-Allow-disabling-of-static-or-shared-library-builds.patch
  qhull-2019-src-7.3.2.tgz

New:

  qhull-2020-src-8.0.2.tgz



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.VqjDDZ/_old  2020-11-02 09:40:46.681632071 +0100
+++ /var/tmp/diff_new_pack.VqjDDZ/_new  2020-11-02 09:40:46.685632074 +0100
@@ -16,19 +16,17 @@
 #
 
 
-%define sonum   7
-%define srcyear 2019
-%define srcver  7.3.2
+%define libname libqhull_r8_0
+%define srcyear 2020
+%define srcver  8.0.2
 Name:   qhull
-Version:2019.1
+Version:2020.2
 Release:0
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
 License:Qhull
 Group:  Development/Libraries/C and C++
 URL:http://www.qhull.org
 Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
-# PATCH-FIX-UPSTREAM -- https://github.com/qhull/qhull/pull/69
-Patch0: 0001-Allow-disabling-of-static-or-shared-library-builds.patch
 # PATCH-FIX-OPENSUSE
 Patch1: 0002-Remove-tools-from-CMake-exported-targets.patch
 BuildRequires:  cmake
@@ -46,15 +44,11 @@
 non-convex surfaces, mesh generation of non-convex objects, or medium-sized
 inputs in 9-D and higher.
 
-%package -n libqhull%{sonum}
+%package -n %{libname}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-# Bad naming of old packages, conflicts on the file level (libqhull.so.7)
 Group:  System/Libraries
-Obsoletes:  libqhull%{sonum}-7_3_2 < %{version}-%{release}
-Provides:   libqhull%{sonum}-7_3_2 = %{version}-%{release}
-Obsoletes:  libqhull%{sonum}-7_2_0 < %{version}
 
-%description -n libqhull%{sonum}
+%description -n %{libname}
 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 2D
@@ -69,7 +63,7 @@
 %package devel
 Summary:Development and documentation files for qhull
 Group:  Development/Libraries/C and C++
-Requires:   libqhull%{sonum} = %{version}
+Requires:   %{libname} = %{version}
 
 %description devel
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram,
@@ -80,7 +74,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
 
 %build
@@ -90,21 +83,22 @@
 -DLIB_INSTALL_DIR="%{_lib}" \
 -DBIN_INSTALL_DIR="%{_bindir}" \
 -DMAN_INSTALL_DIR="%{_mandir}/man1/"
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install
 # Fixup wrong location
 %if "%{_lib}" != "lib"
 mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
+mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}/
 %endif
+rm %{buildroot}%{_docdir}/%{name}/COPYING.txt
 
-%post -n libqhull%{sonum} -p /sbin/ldconfig
-%postun -n libqhull%{sonum} -p /sbin/ldconfig
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
 
 %files
 %license COPYING.txt
-%doc src/Changes.txt
 %{_docdir}/%{name}/
 %{_bindir}/qconvex
 %{_bindir}/qdelaunay
@@ -114,23 +108,16 @@
 %{_bindir}/rbox
 %{_mandir}/man1/*
 
-%files -n libqhull%{sonum}
+%files -n %{libname}
 %license COPYING.txt
-%{_libdir}/libqhull.so.%{sonum}
-%{_libdir}/libqhull.so.%{srcver}
-%{_libdir}/libqhull_p.so.%{sonum}
-%{_libdir}/libqhull_p.so.%{srcver}
-%{_libdir}/libqhull_r.so.%{sonum}
-%{_libdir}/libqhull_r.so.%{srcver}
+%{_libdir}/libqhull_r.so.*
 
 %files devel
-%license COPYING.txt
 

commit qhull for openSUSE:Factory

2020-07-13 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2020-07-14 07:55:25

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new.3060 (New)


Package is "qhull"

Tue Jul 14 07:55:25 2020 rev:19 rq:820425 version:2019.1

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2020-02-20 
14:53:22.842051160 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new.3060/qhull.changes2020-07-14 
07:58:08.889567881 +0200
@@ -1,0 +2,9 @@
+Wed Jul  8 19:22:43 UTC 2020 - Stefan Brüns 
+
+- Fix static library references in CMake files, replace
+  0001-Link-tools-to-shared-library.patch with upstream
+  0001-Allow-disabling-of-static-or-shared-library-builds.patch
+- Also remove references to tools in CMake files, add
+  0002-Remove-tools-from-CMake-exported-targets.patch
+
+---

Old:

  0001-Link-tools-to-shared-library.patch

New:

  0001-Allow-disabling-of-static-or-shared-library-builds.patch
  0002-Remove-tools-from-CMake-exported-targets.patch



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.IUUgWV/_old  2020-07-14 07:58:09.793570808 +0200
+++ /var/tmp/diff_new_pack.IUUgWV/_new  2020-07-14 07:58:09.797570821 +0200
@@ -27,8 +27,10 @@
 Group:  Development/Libraries/C and C++
 URL:http://www.qhull.org
 Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
-# PATCH-FIX-OPENUSE -- https://github.com/qhull/qhull/issues/57
-Patch0: 0001-Link-tools-to-shared-library.patch
+# PATCH-FIX-UPSTREAM -- https://github.com/qhull/qhull/pull/69
+Patch0: 0001-Allow-disabling-of-static-or-shared-library-builds.patch
+# PATCH-FIX-OPENSUSE
+Patch1: 0002-Remove-tools-from-CMake-exported-targets.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 
@@ -79,19 +81,19 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %cmake \
 -DDOC_INSTALL_DIR="%{_docdir}/%{name}" \
 -DINCLUDE_INSTALL_DIR="%{_includedir}" \
--DLIB_INSTALL_DIR"=%{_libdir}" \
+-DLIB_INSTALL_DIR="%{_lib}" \
 -DBIN_INSTALL_DIR="%{_bindir}" \
 -DMAN_INSTALL_DIR="%{_mandir}/man1/"
 %make_jobs
 
 %install
 %cmake_install
-rm %{buildroot}%{_libdir}/*.a
 # Fixup wrong location
 %if "%{_lib}" != "lib"
 mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
@@ -101,7 +103,6 @@
 %postun -n libqhull%{sonum} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %license COPYING.txt
 %doc src/Changes.txt
 %{_docdir}/%{name}/
@@ -114,7 +115,6 @@
 %{_mandir}/man1/*
 
 %files -n libqhull%{sonum}
-%defattr(-,root,root)
 %license COPYING.txt
 %{_libdir}/libqhull.so.%{sonum}
 %{_libdir}/libqhull.so.%{srcver}
@@ -124,7 +124,6 @@
 %{_libdir}/libqhull_r.so.%{srcver}
 
 %files devel
-%defattr(-,root,root)
 %license COPYING.txt
 %{_includedir}/libqhull/
 %{_includedir}/libqhull_r/

++ 0001-Allow-disabling-of-static-or-shared-library-builds.patch ++
>From ffaa43a4d63997e64acfdbeeceabc2df774fa61b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Wed, 8 Jul 2020 20:18:06 +0200
Subject: [PATCH 1/2] Allow disabling of static or shared library builds

If the standard CMake options BUILD_STATIC_LIBS or BUILD_SHARED_LIBS are
set to off, the respective set of libraries is excluded from "make all"
and installation.

As disabling static libraries implies using shared libraries for the
tools (qhull, qhalf etc.), add a matching option. The tools will be
linked statically by default (if static libs are enabled), but shared
linking can be forced by LINK_APPS_SHARED=ON.

Fixes https://github.com/qhull/qhull/issues/57
---
 CMakeLists.txt | 69 --
 1 file changed, 56 insertions(+), 13 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07d3da2..62690d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,6 +79,18 @@ include(CMakeModules/CheckLFS.cmake)
 option(WITH_LFS "Enable Large File Support" ON)
 check_lfs(WITH_LFS)
 
+include(CMakeDependentOption)
+# Build shared and static libs by default
+option(BUILD_STATIC_LIBS "Build static libraries" ON)
+option(BUILD_SHARED_LIBS "Build shared libraries" ON)
+# When shared libs are built, allow to use it for linking the apps
+set(_NO_STATIC_LIBS NOCACHE INTERNAL (NOT ${BUILD_STATIC_LIBS}))
+cmake_dependent_option(LINK_APPS_SHARED "Use shared libraries for linking 
applications"
+_NO_STATIC_LIBS
+"BUILD_SHARED_LIBS;BUILD_STATIC_LIBS"
+${BUILD_SHARED_LIBS}
+)
+
 if(INCLUDE_INSTALL_DIR)
 else()
 set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include)
@@ -117,6 +129,9 @@ message(STATUS "Include Directory 

commit qhull for openSUSE:Factory

2020-02-20 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2020-02-20 14:53:22

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new.26092 (New)


Package is "qhull"

Thu Feb 20 14:53:22 2020 rev:18 rq:774718 version:2019.1

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2020-02-03 
11:10:57.533773380 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new.26092/qhull.changes   2020-02-20 
14:53:22.842051160 +0100
@@ -1,0 +2,7 @@
+Sun Feb 16 15:30:55 UTC 2020 - Stefan Brüns 
+
+- Add missing dependency from devel package to shared library.
+- Use shared linking for qhull tools.
+  0001-Link-tools-to-shared-library.patch
+
+---

New:

  0001-Link-tools-to-shared-library.patch



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.J2Nhuc/_old  2020-02-20 14:53:23.430052344 +0100
+++ /var/tmp/diff_new_pack.J2Nhuc/_new  2020-02-20 14:53:23.434052351 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Group:  Development/Libraries/C and C++
 URL:http://www.qhull.org
 Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
+# PATCH-FIX-OPENUSE -- https://github.com/qhull/qhull/issues/57
+Patch0: 0001-Link-tools-to-shared-library.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 
@@ -44,8 +46,8 @@
 
 %package -n libqhull%{sonum}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-Group:  System/Libraries
 # Bad naming of old packages, conflicts on the file level (libqhull.so.7)
+Group:  System/Libraries
 Obsoletes: libqhull%{sonum}-7_3_2 < %{version}-%{release}
 Provides:  libqhull%{sonum}-7_3_2 = %{version}-%{release}
 Obsoletes: libqhull%{sonum}-7_2_0 < %{version}
@@ -65,7 +67,7 @@
 %package devel
 Summary:Development and documentation files for qhull
 Group:  Development/Libraries/C and C++
-Requires:   qhull = %{version}
+Requires:   libqhull%{sonum} = %{version}
 
 %description devel
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram,
@@ -76,6 +78,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \

++ 0001-Link-tools-to-shared-library.patch ++
>From 8a287e822f402d49997a740f5cad0f8d505bf5c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Sun, 16 Feb 2020 16:30:36 +0100
Subject: [PATCH] Link tools to shared library

The default is static linking, change to shared linking.

See https://github.com/qhull/qhull/issues/57
---
 CMakeLists.txt | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d44056..d3c3891 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -484,22 +484,22 @@ set(qvoronoi_SOURCESsrc/qvoronoi/qvoronoi.c)
 set(qhalf_SOURCES   src/qhalf/qhalf.c)
 
 add_executable(qhull ${qhull_SOURCES})
-target_link_libraries(qhull ${qhull_STATICR})
+target_link_libraries(qhull ${qhull_SHAREDR})
 
 add_executable(rbox ${rbox_SOURCES})
-target_link_libraries(rbox ${qhull_STATIC})
+target_link_libraries(rbox ${qhull_SHARED})
 
 add_executable(qconvex ${qconvex_SOURCES})
-target_link_libraries(qconvex ${qhull_STATIC})
+target_link_libraries(qconvex ${qhull_SHARED})
 
 add_executable(qdelaunay ${qdelaunay_SOURCES})
-target_link_libraries(qdelaunay ${qhull_STATIC})
+target_link_libraries(qdelaunay ${qhull_SHARED})
 
 add_executable(qvoronoi ${qvoronoi_SOURCES})
-target_link_libraries(qvoronoi ${qhull_STATIC})
+target_link_libraries(qvoronoi ${qhull_SHARED})
 
 add_executable(qhalf ${qhalf_SOURCES})
-target_link_libraries(qhalf ${qhull_STATIC})
+target_link_libraries(qhalf ${qhull_SHARED})
 
 # ---
 # Define options for linking to qhull_SHAREDR or qhull_SHARED
-- 
2.25.0




commit qhull for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2020-02-03 11:10:50

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new.26092 (New)


Package is "qhull"

Mon Feb  3 11:10:50 2020 rev:17 rq:769056 version:2019.1

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2019-12-02 
11:37:40.618452294 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new.26092/qhull.changes   2020-02-03 
11:10:57.533773380 +0100
@@ -1,0 +2,8 @@
+Thu Jan 30 12:07:11 UTC 2020 - Stefan Brüns 
+
+- Correct name of the library package according to SLPP - the
+  current and older versions both packaged libqhull.so.7, but due
+  to the full version in the package name (libqhull7-7_3_2) it
+  was not considered an update of the old one (libqhull7-7_2_0).
+
+---



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.iW7Z53/_old  2020-02-03 11:10:58.193773714 +0100
+++ /var/tmp/diff_new_pack.iW7Z53/_new  2020-02-03 11:10:58.197773716 +0100
@@ -19,7 +19,6 @@
 %define sonum   7
 %define srcyear 2019
 %define srcver  7.3.2
-%define libver  7_3_2
 Name:   qhull
 Version:2019.1
 Release:0
@@ -43,11 +42,15 @@
 non-convex surfaces, mesh generation of non-convex objects, or medium-sized
 inputs in 9-D and higher.
 
-%package -n libqhull%{sonum}-%{libver}
+%package -n libqhull%{sonum}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
 Group:  System/Libraries
+# Bad naming of old packages, conflicts on the file level (libqhull.so.7)
+Obsoletes: libqhull%{sonum}-7_3_2 < %{version}-%{release}
+Provides:  libqhull%{sonum}-7_3_2 = %{version}-%{release}
+Obsoletes: libqhull%{sonum}-7_2_0 < %{version}
 
-%description -n libqhull%{sonum}-%{libver}
+%description -n libqhull%{sonum}
 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 2D
@@ -91,8 +94,8 @@
 mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
 %endif
 
-%post -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig
-%postun -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig
+%post -n libqhull%{sonum} -p /sbin/ldconfig
+%postun -n libqhull%{sonum} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -107,7 +110,7 @@
 %{_bindir}/rbox
 %{_mandir}/man1/*
 
-%files -n libqhull%{sonum}-%{libver}
+%files -n libqhull%{sonum}
 %defattr(-,root,root)
 %license COPYING.txt
 %{_libdir}/libqhull.so.%{sonum}




commit qhull for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2019-12-02 11:32:10

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new.4691 (New)


Package is "qhull"

Mon Dec  2 11:32:10 2019 rev:16 rq:752593 version:2019.1

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2017-07-17 
09:11:43.411159732 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new.4691/qhull.changes2019-12-02 
11:37:40.618452294 +0100
@@ -1,0 +2,7 @@
+Fri Nov 29 01:55:45 UTC 2019 - Stefan Brüns 
+
+- updated to 2019.1 (7.3.2):
+  * A large number of changes, please see included Changes.txt
+- General spec-file cleanups
+
+---

Old:

  qhull-2015-src-7.2.0.tgz

New:

  qhull-2019-src-7.3.2.tgz



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.ZDQE7p/_old  2019-12-02 11:37:41.458452470 +0100
+++ /var/tmp/diff_new_pack.ZDQE7p/_new  2019-12-02 11:37:41.458452470 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,24 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define sonum   7
-%define srcyear 2015
-%define srcver  7.2.0
-%define libver  7_2_0
+%define srcyear 2019
+%define srcver  7.3.2
+%define libver  7_3_2
 Name:   qhull
-Version:2015.2
+Version:2019.1
 Release:0
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
 License:Qhull
 Group:  Development/Libraries/C and C++
-Url:http://www.qhull.org
+URL:http://www.qhull.org
 Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-Requires:   libqhull%{sonum}-%{libver} = %{version}
 
 %description
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram,
@@ -87,13 +86,18 @@
 %install
 %cmake_install
 rm %{buildroot}%{_libdir}/*.a
+# Fixup wrong location
+%if "%{_lib}" != "lib"
+mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
+%endif
 
 %post -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig
 %postun -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%doc Announce.txt COPYING.txt README.txt REGISTER.txt
+%license COPYING.txt
+%doc src/Changes.txt
 %{_docdir}/%{name}/
 %{_bindir}/qconvex
 %{_bindir}/qdelaunay
@@ -105,7 +109,7 @@
 
 %files -n libqhull%{sonum}-%{libver}
 %defattr(-,root,root)
-%doc COPYING.txt
+%license COPYING.txt
 %{_libdir}/libqhull.so.%{sonum}
 %{_libdir}/libqhull.so.%{srcver}
 %{_libdir}/libqhull_p.so.%{sonum}
@@ -115,12 +119,13 @@
 
 %files devel
 %defattr(-,root,root)
-%doc COPYING.txt
+%license COPYING.txt
 %{_includedir}/libqhull/
 %{_includedir}/libqhull_r/
 %{_includedir}/libqhullcpp/
 %{_libdir}/libqhull.so
 %{_libdir}/libqhull_p.so
 %{_libdir}/libqhull_r.so
+%{_libdir}/cmake/Qhull
 
 %changelog

++ qhull-2015-src-7.2.0.tgz -> qhull-2019-src-7.3.2.tgz ++
 85189 lines of diff (skipped)




commit qhull for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2017-07-17 09:11:42

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is "qhull"

Mon Jul 17 09:11:42 2017 rev:15 rq:510265 version:2015.2

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2017-07-12 
19:36:14.942288562 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2017-07-17 
09:11:43.411159732 +0200
@@ -1,0 +2,6 @@
+Wed Jul 12 11:05:14 UTC 2017 - jeng...@inai.de
+
+- RPM group fix
+- Compact description a bit
+
+---



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.syrPrC/_old  2017-07-17 09:11:43.959082555 +0200
+++ /var/tmp/diff_new_pack.syrPrC/_new  2017-07-17 09:11:43.963081991 +0200
@@ -25,7 +25,7 @@
 Release:0
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
 License:Qhull
-Group:  System/Libraries
+Group:  Development/Libraries/C and C++
 Url:http://www.qhull.org
 Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
 BuildRequires:  cmake
@@ -35,7 +35,7 @@
 %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 furthest-site Voronoi diagram. The source code runs in 2D
 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.
@@ -46,12 +46,12 @@
 
 %package -n libqhull%{sonum}-%{libver}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-Group:  Development/Libraries/Other
+Group:  System/Libraries
 
 %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 furthest-site Voronoi diagram. The source code runs in 2D
 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.
@@ -62,20 +62,15 @@
 
 %package devel
 Summary:Development and documentation files for qhull
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/C and C++
 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.
+and furthest-site Voronoi diagram.
 
-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.
+This package contains the header files for the Qhull libraries.
 
 %prep
 %setup -q




commit qhull for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2017-07-12 19:36:12

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is "qhull"

Wed Jul 12 19:36:12 2017 rev:14 rq:509583 version:2015.2

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2014-09-03 
21:01:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2017-07-12 
19:36:14.942288562 +0200
@@ -1,0 +2,9 @@
+Mon Jul 10 16:40:00 UTC 2017 - toddrme2...@gmail.com
+
+- updated to 2015.2 (7.2.0):
+  * A large number of changes, please see:
+
https://github.com/qhull/qhull/blob/5a79a0009454c86e9848646b3c296009125231bf/src/Changes.txt
+- Update to more recent macros
+- General spec-file cleanups
+
+---

Old:

  qhull-2012.1-src.tgz

New:

  qhull-2015-src-7.2.0.tgz



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.X1B0Bi/_old  2017-07-12 19:36:15.486211729 +0200
+++ /var/tmp/diff_new_pack.X1B0Bi/_new  2017-07-12 19:36:15.490211164 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,21 @@
 #
 
 
-%define sonum   6 
-%define ver 2012.1
-%define libver  6_3_1_1494
-
+%define sonum   7
+%define srcyear 2015
+%define srcver  7.2.0
+%define libver  7_2_0
 Name:   qhull
-Version:%{ver}.2
+Version:2015.2
 Release:0
+Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
+License:Qhull
+Group:  System/Libraries
 Url:http://www.qhull.org
-Source0:%{name}-%{ver}-src.tgz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Source0:
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 Requires:   libqhull%{sonum}-%{libver} = %{version}
-Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-License:Qhull
-Group:  System/Libraries
 
 %description
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram, 
@@ -45,7 +44,6 @@
 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
@@ -79,62 +77,55 @@
 non-convex surfaces, mesh generation of non-convex objects, or medium-sized
 inputs in 9-D and higher.
 
-
 %prep
-%setup -q -n %{name}-%{ver}
+%setup -q
 
 %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} 
-DCMAKE_SKIP_INSTALL_RPATH=ON ..
-make %{?jobs:-j%jobs}
+%cmake \
+-DDOC_INSTALL_DIR="%{_docdir}/%{name}" \
+-DINCLUDE_INSTALL_DIR="%{_includedir}" \
+-DLIB_INSTALL_DIR"=%{_libdir}" \
+-DBIN_INSTALL_DIR="%{_bindir}" \
+-DMAN_INSTALL_DIR="%{_mandir}/man1/"
+%make_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}
+%cmake_install
+rm %{buildroot}%{_libdir}/*.a
 
 %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
+%doc Announce.txt COPYING.txt README.txt REGISTER.txt
+%{_docdir}/%{name}/
+%{_bindir}/qconvex
+%{_bindir}/qdelaunay
+%{_bindir}/qhalf
+%{_bindir}/qhull
+%{_bindir}/qvoronoi
+%{_bindir}/rbox
+%{_mandir}/man1/*
 
 %files -n libqhull%{sonum}-%{libver}
 %defattr(-,root,root)
-%{_libdir}/libqhull_p.so.*
-%{_libdir}/libqhull.so.*
-%dir 

commit qhull for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2014-09-03 18:23:01

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is qhull

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2013-08-06 
07:06:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2014-09-03 
21:01:58.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep  1 17:15:17 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Change license to Qhull - it is now recognized by spdx.org
+
+---



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.1544Mb/_old  2014-09-03 21:02:00.0 +0200
+++ /var/tmp/diff_new_pack.1544Mb/_new  2014-09-03 21:02:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -30,7 +30,7 @@
 BuildRequires:  gcc-c++
 Requires:   libqhull%{sonum}-%{libver} = %{version}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-License:SUSE-Qhull
+License:Qhull
 Group:  System/Libraries
 
 %description

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit qhull for openSUSE:Factory

2013-08-05 Thread h_root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2013-08-06 07:06:21

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is qhull

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2012-03-09 
21:27:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2013-08-06 
07:06:23.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug  5 17:58:21 UTC 2013 - hrvoje.sen...@gmail.com
+
+- enable CMAKE_SKIP_INSTALL_RPATH option so RPATH is ommited from 
+  install tree
+
+---



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.CpA2OH/_old  2013-08-06 07:06:23.0 +0200
+++ /var/tmp/diff_new_pack.CpA2OH/_new  2013-08-06 07:06:23.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -87,7 +87,7 @@
 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} ..
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DMAN_INSTALL_DIR=%{_mandir}/man1/ 
-DLIB_INSTALL_DIR=%{_libdir} -DDOC_INSTALL_DIR=%{_docdir}/%{name} 
-DCMAKE_SKIP_INSTALL_RPATH=ON ..
 make %{?jobs:-j%jobs}
 
 %install

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit qhull for openSUSE:Factory

2012-03-09 Thread h_root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2012-03-09 21:26:57

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is qhull, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2011-12-08 
11:31:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2012-03-09 
21:27:00.0 +0100
@@ -1,0 +2,37 @@
+Thu Mar  8 17:07:15 UTC 2012 - cfarr...@suse.com
+
+- license update: SUSE-Qhull
+  Use SUSE- proprietary prefix until Qhull (incidentially, also the Fedora
+  designation for the license) is accepted upstream at spdx.org
+
+---
+Thu Feb 23 14:39:46 UTC 2012 - sasc...@suse.de
+
+- Add some detail about the version update to 2012.1
+
+---
+Wed Feb 22 10:47:52 UTC 2012 - pgaj...@suse.com
+
+- updated to 2012.1.2 (6_3_1_1494)
+  - upstreamed liblibname.patch
+
+---
+Tue Feb 21 10:26:08 UTC 2012 - pgaj...@suse.com
+
+- updated to 2012.1.1 (6_3_1_1490):
+  - Require option 'Qz' for Delaunay triangulation/Voronoi diagram 
+of cocircular/cospherical points [D. Sheehy]
+  - qh_errexit: Do not call qh_printsummary or qh_printstats on qh_ERRinput
+  - Change error QH6227 (all degenerate) from qh_ERRinput to qh_ERRprec
+  - Change error QH6159 (ID overflow) from qh_ERRinput to qh_ERRqhull
+  - eg/q_eg, q_egtest, q_test: Run if qconvex is in $PATH [M. Atzeri]
+
+---
+Mon Jan 30 08:16:55 UTC 2012 - pgaj...@suse.com
+
+- updated to 2012.1:
+  - Add config to distribution
+  - Add testqset to config build
+  - config/bootstrap.sh copies program files into src/libqhull
+
+---

Old:

  qhull-2011.1.tar.bz2

New:

  qhull-2012.1-src.tgz



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.PTLwH8/_old  2012-03-09 21:27:03.0 +0100
+++ /var/tmp/diff_new_pack.PTLwH8/_new  2012-03-09 21:27:03.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -17,19 +17,21 @@
 
 
 %define sonum   6 
-%define libver  6_2_0_1385 
+%define ver 2012.1
+%define libver  6_3_1_1494
 
 Name:   qhull
-Version:2011.1
+Version:%{ver}.2
 Release:0
-License:Other License(s), see package
-Group:  System/Libraries
 Url:http://www.qhull.org
-Source0:%{name}-%{version}.tar.bz2
+Source0:%{name}-%{ver}-src.tgz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  cmake gcc-c++
+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, 
@@ -62,8 +64,8 @@
 
 %package devel
 Summary:Development and documentation files for qhull
-Requires:   qhull = %{version}
 Group:  Development/Libraries/Other
+Requires:   qhull = %{version}
 
 %description devel
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram,
@@ -79,20 +81,19 @@
 
 
 %prep
-%setup -q
+%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} ..
+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%{_bindir}/user_eg*
 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
@@ -123,14 +124,16 @@
 
 %files -n libqhull%{sonum}-%{libver}
 %defattr(-,root,root)
-%{_libdir}/libqhull%{sonum}.so.*
+%{_libdir}/libqhull_p.so.*
+%{_libdir}/libqhull.so.*
 %dir %{_docdir}/%{name}-%{libver}
 %{_docdir}/%{name}-%{libver}/COPYING.txt
 
 %files devel
 %defattr(-,root,root)
 

commit qhull for openSUSE:Factory

2011-12-08 Thread h_root
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2011-12-08 11:31:12

Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and  /work/SRC/openSUSE:Factory/.qhull.new (New)


Package is qhull, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/qhull/qhull.changes  2011-09-23 
12:43:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2011-12-08 
11:31:15.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov 28 10:27:10 UTC 2011 - idoen...@suse.de
+
+- Fix duplicate files
+
+---



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.D7ODv9/_old  2011-12-08 11:31:18.0 +0100
+++ /var/tmp/diff_new_pack.D7ODv9/_new  2011-12-08 11:31:18.0 +0100
@@ -129,7 +129,6 @@
 
 %files devel
 %defattr(-,root,root)
-%{_datadir}/doc/packages/qhull
 %{_includedir}/*
 %{_libdir}/libqhull%{sonum}.so
 %{_mandir}/man1/*

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit qhull for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package qhull for openSUSE:Factory
checked in at Wed Sep 21 17:22:10 CEST 2011.




--- qhull/qhull.changes 2010-07-20 16:30:57.0 +0200
+++ /mounts/work_src_done/STABLE/qhull/qhull.changes2011-09-20 
09:03:22.0 +0200
@@ -1,0 +2,16 @@
+Mon Sep 19 17:08:57 UTC 2011 - pgaj...@suse.com
+
+- updated to 2011.1:
+  * Remove deprecated libqhull/qhull.h. Use libqhull/libqhull.h instead.
+  * QhullFacet: Added isSimplicial, isTopOrient, isTriCoplanar, isUpperDelaunay
+  * Added Qhull::defineVertexFacetNeighbors() for facetNeighbors of vertices.
+Automatically called for facet merging and Voronoi diagrams
+Do not print QhullVertex::facetNeighbors is !facetNeighborsDefined()
+  * Add Fixup identifiers
+  * QhullError: Add copy constructor, assignment operator, and destructor
+  * Add throw() specifiers to RoadError and QhullError
+  * Renamed RoadError::defined() to RoadError::isDefined()
+  * Add #error to Qhull.h if qh_QHpointer is not defined
+  * etc. see Changes.txt
+
+---

calling whatdependson for head-i586


Old:

  qhull.tar.bz2
  susepatches.diff

New:

  qhull-2011.1.tar.bz2



Other differences:
--
++ qhull.spec ++
--- /var/tmp/diff_new_pack.M6lC9d/_old  2011-09-21 17:22:06.0 +0200
+++ /var/tmp/diff_new_pack.M6lC9d/_new  2011-09-21 17:22:06.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package qhull (Version 2010.1.next.git20100318)
+# spec file for package qhull
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -16,18 +16,19 @@
 #
 
 
-%define soname 0
+%define sonum   6 
+%define libver  6_2_0_1385 
 
 Name:   qhull
-Version:2010.1.next.git20100318
-Release:1
+Version:2011.1
+Release:0
 License:Other License(s), see package
 Group:  System/Libraries
 Url:http://www.qhull.org
-Source0:qhull.tar.bz2
-Patch:  susepatches.diff
+Source0:%{name}-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake gcc-c++
+Requires:   libqhull%{sonum}-%{libver} = %{version}
 Summary:Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
 
 %description
@@ -43,10 +44,25 @@
 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
-License:Other License(s), see package
 Summary:Development and documentation files for qhull
-Requires:   qhull = %version
+Requires:   qhull = %{version}
 Group:  Development/Libraries/Other
 
 %description devel
@@ -63,42 +79,60 @@
 
 
 %prep
-%setup -q -n %{name}
-%patch -p1
+%setup -q
 
 %build
-mkdir build
 cd build
 export CFLAGS=$RPM_OPT_FLAGS
 export CXXFLAGS=$RPM_OPT_FLAGS
-cmake -DCMAKE_INSTALL_PREFIX=%_prefix -DLIB_INSTALL_DIR=%_libdir ..
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DMAN_INSTALL_DIR=%{_mandir}/man1/ 
-DLIB_INSTALL_DIR=%{_libdir} ..
 make %{?jobs:-j%jobs}
 
 %install
 cd build
 make DESTDIR=$RPM_BUILD_ROOT install
-rm -f $RPM_BUILD_ROOT/%_libdir/*.a
+cd ..
+rm $RPM_BUILD_ROOT%{_bindir}/user_eg*
+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 -p /sbin/ldconfig
+%post -n libqhull%{sonum}-%{libver} -p /sbin/ldconfig
 
-%postun -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