2004-11-08 05:17:10 +00:00
|
|
|
Summary: General dimension convex hull programs
|
2005-05-22 23:59:59 +00:00
|
|
|
Name: qhull
|
|
|
|
Version: 2003.1
|
2014-04-14 16:46:16 +00:00
|
|
|
Release: 23%{?dist}
|
2008-05-22 19:17:33 +00:00
|
|
|
License: Qhull
|
2004-11-08 05:17:10 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz
|
2008-03-04 12:49:47 +00:00
|
|
|
Patch0: qhull-2003.1-alias.patch
|
2010-02-02 08:56:26 +00:00
|
|
|
Patch1: http://www.qhull.org/download/qhull-2003.1-qh_gethash.patch
|
2012-07-09 05:12:51 +00:00
|
|
|
# Add pkgconfig support
|
|
|
|
Patch2: qhull-2003.1-pkgconfig.patch
|
|
|
|
# Misc. fixes related to 64bit compliance
|
|
|
|
Patch3: qhull-2003.1-64bit.patch
|
2013-03-24 05:28:34 +00:00
|
|
|
# Update config.{guess,sub} for *-aarch64 (RHBZ #926411)
|
|
|
|
Patch4: qhull-2003.1-config.patch
|
2014-04-14 16:46:16 +00:00
|
|
|
Patch5: qhull-2003.1-format-security.patch
|
2008-03-04 12:49:47 +00:00
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
URL: http://www.qhull.org
|
|
|
|
|
2013-08-06 14:29:08 +00:00
|
|
|
# To be dropped when F19 reaches EOL
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for qhull
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%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}
|
2008-03-04 12:49:47 +00:00
|
|
|
%patch0 -p1
|
2010-02-02 08:56:26 +00:00
|
|
|
%patch1 -p1
|
2012-07-09 05:12:51 +00:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2013-03-24 05:28:34 +00:00
|
|
|
%patch4 -p1
|
2014-04-14 16:46:16 +00:00
|
|
|
%patch5 -p1
|
2006-02-17 04:49:46 +00:00
|
|
|
sed -i -e "s,\"../html/,\"html/,g" src/*.htm
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%build
|
2006-02-17 04:49:46 +00:00
|
|
|
%configure --disable-static
|
2010-02-02 08:56:26 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
make
|
|
|
|
|
2012-07-09 05:12:51 +00:00
|
|
|
sed -e 's|@prefix@|%{_prefix}|' \
|
|
|
|
-e 's|@exec_prefix@|%{_exec_prefix}|' \
|
|
|
|
-e 's|@includedir@|%{_includedir}|' \
|
|
|
|
-e 's|@libdir@|%{_libdir}|' \
|
|
|
|
-e 's|@VERSION@|%{version}|' \
|
|
|
|
qhull.pc.in > qhull.pc
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT \
|
2013-08-06 14:29:08 +00:00
|
|
|
docdir=%{_pkgdocdir} install
|
2012-07-09 05:12:51 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
|
|
|
|
|
|
install -m644 -D qhull.pc ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/qhull.pc
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
|
2005-05-22 23:59:59 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2004-11-08 05:17:10 +00:00
|
|
|
|
2005-05-22 23:59:59 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-08-06 14:29:08 +00:00
|
|
|
%doc %{_pkgdocdir}
|
2004-11-08 05:17:10 +00:00
|
|
|
%_bindir/*
|
|
|
|
%_libdir/*.so.*
|
|
|
|
%_mandir/man1/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2012-07-09 05:12:51 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/qhull.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
|
2004-11-08 05:17:10 +00:00
|
|
|
|
|
|
|
%changelog
|
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.
|