|
|
@ -1,19 +1,21 @@
|
|
|
|
Summary: General dimension convex hull programs
|
|
|
|
Summary: General dimension convex hull programs
|
|
|
|
Name: qhull
|
|
|
|
Name: qhull
|
|
|
|
Version: 7.2.1
|
|
|
|
Version: 8.0.2
|
|
|
|
# Add epoch, because upstream changed their versioning scheme:
|
|
|
|
# Add epoch, because upstream changed their versioning scheme:
|
|
|
|
# - Older releases used year.month
|
|
|
|
# - Older releases used year.month
|
|
|
|
# - Newer releases use x.y.z
|
|
|
|
# - Newer releases use x.y.z
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
License: Qhull
|
|
|
|
License: Qhull
|
|
|
|
Source0: https://github.com/qhull/qhull/archive/v%{version}.tar.gz#/qhull-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/qhull/qhull/archive/v%{version}.tar.gz#/qhull-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Link-executables-against-shared-libs.patch
|
|
|
|
# Install cmake and pkgconfig file into proper libdir
|
|
|
|
Patch2: 0002-Install-docs-into-subdirs.patch
|
|
|
|
# https://github.com/qhull/qhull/pull/123
|
|
|
|
# Compile libqhullcpp.a with -fPIC
|
|
|
|
Patch0: qhull-lib64.patch
|
|
|
|
# https://github.com/qhull/qhull/pull/47
|
|
|
|
# Install extra targets - libqhull and qhull_p
|
|
|
|
Patch3: qhull-pic.patch
|
|
|
|
Patch1: qhull-install.patch
|
|
|
|
|
|
|
|
# The static_r library needs fPIC
|
|
|
|
|
|
|
|
Patch2: qhull-staticr-pic.patch
|
|
|
|
|
|
|
|
|
|
|
|
URL: http://www.qhull.org
|
|
|
|
URL: http://www.qhull.org
|
|
|
|
|
|
|
|
|
|
|
@ -53,6 +55,7 @@ Summary: Development files for qhull
|
|
|
|
Requires: lib%{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: lib%{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: lib%{name}_r%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: lib%{name}_r%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: lib%{name}_p%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: lib%{name}_p%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
Qhull is a general dimension convex hull program that reads a set
|
|
|
|
Qhull is a general dimension convex hull program that reads a set
|
|
|
@ -63,15 +66,17 @@ about a point.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
|
|
|
%patch -P0 -p1 -b .lib64
|
|
|
|
%patch2 -p1
|
|
|
|
%patch -P1 -p1 -b .install
|
|
|
|
%patch3 -p1
|
|
|
|
%patch -P2 -p1 -b .pic
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p build
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cd build
|
|
|
|
%cmake -S .. -B .
|
|
|
|
%cmake -S .. -B . -DLINK_APPS_SHARED=ON
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
|
|
|
|
# These items are deprecated as of 8.0.2
|
|
|
|
|
|
|
|
make VERBOSE=1 %{?_smp_mflags} libqhull qhull_p
|
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -85,8 +90,6 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_pkgdocdir}
|
|
|
|
%{_pkgdocdir}
|
|
|
|
%exclude %{_pkgdocdir}/COPYING.txt
|
|
|
|
%exclude %{_pkgdocdir}/COPYING.txt
|
|
|
|
%exclude %{_pkgdocdir}/src/libqhull
|
|
|
|
|
|
|
|
%exclude %{_pkgdocdir}/src/libqhull_r
|
|
|
|
|
|
|
|
%license COPYING.txt
|
|
|
|
%license COPYING.txt
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
@ -110,29 +113,45 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_pkgdocdir}/src/libqhull
|
|
|
|
|
|
|
|
%{_pkgdocdir}/src/libqhull_r
|
|
|
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
|
|
|
|
# Easier to include these than to hack them out of the cmake bits
|
|
|
|
%{_libdir}/libqhullcpp.a
|
|
|
|
%{_libdir}/libqhullcpp.a
|
|
|
|
%exclude %{_libdir}/libqhullstatic*.a
|
|
|
|
%{_libdir}/libqhullstatic*.a
|
|
|
|
|
|
|
|
%dir %{_libdir}/cmake/Qhull
|
|
|
|
|
|
|
|
%{_libdir}/cmake/Qhull/QhullConfig*.cmake
|
|
|
|
|
|
|
|
%{_libdir}/cmake/Qhull/QhullTargets*.cmake
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/qhull_r.pc
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/qhullcpp.pc
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/qhullstatic*.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Nov 8 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-11
|
|
|
|
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.0.2-2
|
|
|
|
- Release bump to enable added gating.yaml
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Resolves: RHEL-5625
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 10 2023 Tom Callaway <spot@fedoraproject.org> - 1:8.0.2-2
|
|
|
|
|
|
|
|
- make the static_r library pic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 3 2023 Tom Callaway <spot@fedoraproject.org> - 1:8.0.2-1
|
|
|
|
|
|
|
|
- update to 8.0.2 (thanks to Orion Poplawski)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 21 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-10
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Oct 02 2022 Orion Poplawski <orion@nwra.com> - 1:7.2.1-11
|
|
|
|
- Compile libqhullcpp with -fPIC
|
|
|
|
- Compile libqhullcpp with -fPIC
|
|
|
|
- Resolves: RHEL-5625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-9
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-8
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-8
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2.1-7
|
|
|
|
* 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
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|