2016-04-29 11:15:36 +00:00
|
|
|
# Upstream's versioning is bizarre
|
|
|
|
%global tarvers 2015-src-7.2.0
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
Summary: General dimension convex hull programs
|
2005-05-22 23:59:59 +00:00
|
|
|
Name: qhull
|
2016-04-29 11:15:36 +00:00
|
|
|
Version: 2015.2
|
|
|
|
Release: 1%{?dist}
|
2008-05-22 19:17:33 +00:00
|
|
|
License: Qhull
|
2016-04-29 11:15:36 +00:00
|
|
|
Source0: http://www.qhull.org/download/qhull-%{tarvers}.tgz
|
|
|
|
|
|
|
|
Patch1: 0001-Link-executables-against-shared-libs.patch
|
|
|
|
Patch2: 0002-Install-docs-into-subdirs.patch
|
2008-03-04 12:49:47 +00:00
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
URL: http://www.qhull.org
|
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: chrpath
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%package -n libqhull
|
|
|
|
Summary: -n libqhull
|
|
|
|
|
|
|
|
%description -n libqhull
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
%package -n libqhull_r
|
|
|
|
Summary: libqhull_r
|
|
|
|
|
|
|
|
%description -n libqhull_r
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
%package -n libqhull_p
|
|
|
|
Summary: libqhull_p
|
|
|
|
|
|
|
|
%description -n libqhull_p
|
|
|
|
%{summary}
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for qhull
|
2016-04-29 11:15:36 +00:00
|
|
|
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: lib%{name}_r%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: lib%{name}_p%{?_isa} = %{version}-%{release}
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
2010-02-02 08:56:26 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%patch1 -p1
|
2012-07-09 05:12:51 +00:00
|
|
|
%patch2 -p1
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%build
|
2016-04-29 11:15:36 +00:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
%cmake ..
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
cd ..
|
2010-02-02 08:56:26 +00:00
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%install
|
|
|
|
cd build
|
|
|
|
make VERBOSE=1 DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
cd ..
|
2004-11-08 05:17:10 +00:00
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
|
2012-07-09 05:12:51 +00:00
|
|
|
|
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%files
|
|
|
|
%{_pkgdocdir}
|
|
|
|
%exclude %{_pkgdocdir}/COPYING.txt
|
|
|
|
%exclude %{_pkgdocdir}/src/libqhull
|
|
|
|
%exclude %{_pkgdocdir}/src/libqhull_r
|
|
|
|
%license COPYING.txt
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
2004-11-08 05:17:10 +00:00
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%files -n libqhull
|
|
|
|
%{_libdir}/libqhull.so.*
|
2004-11-08 05:17:10 +00:00
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%post -n libqhull -p /sbin/ldconfig
|
2004-11-08 05:17:10 +00:00
|
|
|
|
2016-04-29 11:15:36 +00:00
|
|
|
%postun -n libqhull -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libqhull_r
|
|
|
|
%{_libdir}/libqhull_r.so.*
|
|
|
|
|
|
|
|
%post -n libqhull_r -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libqhull_r -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libqhull_p
|
|
|
|
%{_libdir}/libqhull_p.so.*
|
|
|
|
|
|
|
|
%post -n libqhull_p -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libqhull_p -p /sbin/ldconfig
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
2016-04-29 11:15:36 +00:00
|
|
|
%{_pkgdocdir}/src/libqhull
|
|
|
|
%{_pkgdocdir}/src/libqhull_r
|
2012-07-09 05:12:51 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/*
|
2016-04-29 11:15:36 +00:00
|
|
|
%{_libdir}/libqhullcpp.a
|
|
|
|
%exclude %{_libdir}/libqhullstatic*.a
|
2012-07-09 05:12:51 +00:00
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-04-29 11:15:36 +00:00
|
|
|
* Fri Apr 29 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 2015.2-1
|
|
|
|
- Update to 2015.2-7.2.0.
|
|
|
|
- Split out libqhull, libqhull_p, libqhull_r packages.
|
|
|
|
- drop pkgconfig.
|
|
|
|
|
2016-02-04 21:38:54 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2003.1-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-26 16:41:04 +00:00
|
|
|
* Tue Jan 26 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 2003.1-27
|
|
|
|
- Remove %%defattr.
|
|
|
|
- Add %%license.
|
|
|
|
- Move docs into *-devel.
|
|
|
|
- Cleanup spec.
|
|
|
|
|
2015-06-18 21:40:52 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 22:26:11 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 01:03:14 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-14 16:46:16 +00:00
|
|
|
* Mon Apr 14 2014 Jaromir Capik <jcapik@redhat.com> - 2003.1-23
|
|
|
|
- Fixing format-security flaws (#1037293)
|
|
|
|
|
2013-08-06 14:29:08 +00:00
|
|
|
* Tue Aug 06 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 2003.1-22
|
|
|
|
- Reflect docdir changes (RHBZ #993921).
|
|
|
|
- Fix bogus %%changelog date.
|
|
|
|
|
2013-08-04 11:27:51 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-24 05:28:34 +00:00
|
|
|
* Sun Mar 24 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 2003.1-20
|
|
|
|
- Update config.sub,guess for aarch64 (RHBZ #926411).
|
|
|
|
|
2013-02-14 21:07:49 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 12:57:34 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-09 05:12:51 +00:00
|
|
|
* Sun Jul 08 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2003.1-17
|
|
|
|
- Modernize spec.
|
|
|
|
- Add qhull.pc.
|
|
|
|
- Misc. 64bit fixes.
|
|
|
|
|
2012-01-14 02:27:52 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 05:04:14 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-02-02 08:56:26 +00:00
|
|
|
* Tue Feb 02 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 2003.1-14
|
|
|
|
- Apply upstream's qh_gethash patch
|
|
|
|
- Silence %%setup.
|
|
|
|
- Remove rpath.
|
|
|
|
|
2009-07-27 02:25:56 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 17:33:09 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2003.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-22 19:17:33 +00:00
|
|
|
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2003.1-11
|
|
|
|
- fix license tag
|
|
|
|
|
2008-03-04 12:49:47 +00:00
|
|
|
* Tue Mar 04 2008 Ralf Corsépius <rc040203@freenet.de> - 2003.1-10
|
|
|
|
- Add qhull-2003.1-alias.patch (BZ 432309)
|
|
|
|
Thanks to Orion Poplawski (orion@cora.nwra.com).
|
|
|
|
|
2008-02-10 05:27:24 +00:00
|
|
|
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 2003.1-9
|
|
|
|
- Rebuild for gcc43.
|
|
|
|
|
2007-08-22 04:11:28 +00:00
|
|
|
* Wed Aug 22 2007 Ralf Corsépius <rc040203@freenet.de> - 2003.1-8
|
|
|
|
- Mass rebuild.
|
|
|
|
|
2007-06-20 08:41:07 +00:00
|
|
|
* Wed Jun 20 2007 Ralf Corsépius <rc040203@freenet.de> - 2003.1-7
|
|
|
|
- Remove *.la.
|
|
|
|
|
2006-09-05 09:09:53 +00:00
|
|
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 2003.1-6
|
|
|
|
- Mass rebuild.
|
|
|
|
|
2010-02-02 08:56:26 +00:00
|
|
|
* Fri Feb 17 2006 Ralf Corsépius <rc040203@freenet.de> - 2003.1-5
|
2006-02-17 04:49:46 +00:00
|
|
|
- Disable static libs.
|
|
|
|
- Fixup some broken links in doc.
|
|
|
|
- Add %%{?dist}.
|
|
|
|
|
2005-05-22 23:59:59 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2003.1-4
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2013-08-06 14:29:08 +00:00
|
|
|
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
2005-04-06 22:13:31 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
* Sun Aug 08 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.2
|
|
|
|
- Use default documentation installation scheme.
|
|
|
|
|
|
|
|
* Fri Jul 16 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.1
|
|
|
|
- Initial Fedora RPM.
|