|
|
|
@ -1,18 +1,25 @@
|
|
|
|
|
# Upstream's versioning is bizarre
|
|
|
|
|
%global tarvers 2015-src-7.2.0
|
|
|
|
|
|
|
|
|
|
Summary: General dimension convex hull programs
|
|
|
|
|
Name: qhull
|
|
|
|
|
Version: 2015.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 7.2.1
|
|
|
|
|
# Add epoch, because upstream changed their versioning scheme:
|
|
|
|
|
# - Older releases used year.month
|
|
|
|
|
# - Newer releases use x.y.z
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
License: Qhull
|
|
|
|
|
Source0: http://www.qhull.org/download/qhull-%{tarvers}.tgz
|
|
|
|
|
Source0: https://github.com/qhull/qhull/archive/v%{version}.tar.gz#/qhull-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Link-executables-against-shared-libs.patch
|
|
|
|
|
Patch2: 0002-Install-docs-into-subdirs.patch
|
|
|
|
|
# Compile libqhullcpp.a with -fPIC
|
|
|
|
|
# https://github.com/qhull/qhull/pull/47
|
|
|
|
|
Patch3: qhull-pic.patch
|
|
|
|
|
|
|
|
|
|
URL: http://www.qhull.org
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
|
|
|
|
@ -43,9 +50,9 @@ Summary: libqhull_p
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for qhull
|
|
|
|
|
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: lib%{name}_r%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: lib%{name}_p%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: lib%{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: lib%{name}_r%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: lib%{name}_p%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Qhull is a general dimension convex hull program that reads a set
|
|
|
|
@ -55,14 +62,15 @@ diagrams, furthest-site Voronoi diagrams, and halfspace intersections
|
|
|
|
|
about a point.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p build
|
|
|
|
|
cd build
|
|
|
|
|
%cmake ..
|
|
|
|
|
%cmake -S .. -B .
|
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
@ -86,25 +94,19 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
|
|
|
|
|
%files -n libqhull
|
|
|
|
|
%{_libdir}/libqhull.so.*
|
|
|
|
|
|
|
|
|
|
%post -n libqhull -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libqhull -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets -n libqhull
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libqhull_r
|
|
|
|
|
%{_libdir}/libqhull_r.so.*
|
|
|
|
|
|
|
|
|
|
%post -n libqhull_r -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libqhull_r -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets -n libqhull_r
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libqhull_p
|
|
|
|
|
%{_libdir}/libqhull_p.so.*
|
|
|
|
|
|
|
|
|
|
%post -n libqhull_p -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libqhull_p -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets -n libqhull_p
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -117,8 +119,51 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2015.2-5
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Wed Nov 8 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-11
|
|
|
|
|
- Release bump to enable added gating.yaml
|
|
|
|
|
- Resolves: RHEL-5625
|
|
|
|
|
|
|
|
|
|
* Mon Aug 21 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-10
|
|
|
|
|
- Compile libqhullcpp with -fPIC
|
|
|
|
|
- Resolves: RHEL-5625
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-8
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 03 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:7.2.1-6
|
|
|
|
|
- Work around cmake madness (RHBZ#1863716).
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-5
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 22 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:7.2.1-1
|
|
|
|
|
- Update to 7.2.1.
|
|
|
|
|
- Rebase patches.
|
|
|
|
|
- Add Epoch: due to upstream having changed their version numbering scheme.
|
|
|
|
|
- Reflect Source0: having changed.
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2015.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2015.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2015.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|