provide compatibility symlinks to resolve qhull/qhull.h into libqhull/libqhull.h [release 2012.1-2mamba;Fri Jul 18 2014]
This commit is contained in:
parent
45f6fe6c4a
commit
9dc56a84e4
@ -1,13 +1,13 @@
|
|||||||
Name: libqhull
|
Name: libqhull
|
||||||
Version: 2009.1.3
|
Version: 2012.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: General dimension convex hull programs
|
Summary: General dimension convex hull programs
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.qhull.org/
|
URL: http://www.qhull.org/
|
||||||
Source: http://www.qhull.org/download/qhull-%{version}.tar.gz
|
Source: http://www.qhull.org/download/qhull-%{version}-src.tgz
|
||||||
License: Distributable
|
License: Distributable
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -27,24 +27,32 @@ Qhull is a general dimension convex hull program that reads a set of points from
|
|||||||
|
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Group: Applications/Development
|
||||||
|
Summary: Utility applications for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains utility applications for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q -n qhull-%{version}
|
%setup -q -n qhull-%{version}
|
||||||
sed -i -e "s,\"../html/,\"html/,g" src/*.htm
|
#sed -i -e "s,\"../html/,\"html/,g" src/*.htm
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dos2unix * config/*
|
%cmake -d build
|
||||||
dos2unix -f configure
|
|
||||||
libtoolize
|
|
||||||
%configure
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall\
|
%makeinstall -C build \
|
||||||
docdir=%{_docdir}/qhull-%{version}
|
docdir=%{_docdir}/qhull-%{version}
|
||||||
|
|
||||||
|
ln -s libqhull %{buildroot}%{_includedir}/qhull
|
||||||
|
ln -s libqhull.h %{buildroot}%{_includedir}/libqhull/qhull.h
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -53,40 +61,43 @@ libtoolize
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libqhull.so.*
|
||||||
|
%{_libdir}/libqhull_p.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/qhull
|
||||||
|
%dir %{_includedir}/libqhull
|
||||||
|
%{_includedir}/libqhull/*.h
|
||||||
|
%{_includedir}/libqhull/*.htm
|
||||||
|
%dir %{_includedir}/libqhullcpp
|
||||||
|
%{_includedir}/libqhullcpp/*.h
|
||||||
|
%{_libdir}/libqhull.so
|
||||||
|
%{_libdir}/libqhull_p.so
|
||||||
|
%{_libdir}/libqhullcpp.a
|
||||||
|
%{_libdir}/libqhullstatic.a
|
||||||
|
%{_libdir}/libqhullstatic_p.a
|
||||||
|
%dir %{_docdir}/qhull
|
||||||
|
%doc %{_docdir}/qhull/*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_bindir}/qconvex
|
%{_bindir}/qconvex
|
||||||
%{_bindir}/qdelaunay
|
%{_bindir}/qdelaunay
|
||||||
%{_bindir}/qhalf
|
%{_bindir}/qhalf
|
||||||
%{_bindir}/qhull
|
%{_bindir}/qhull
|
||||||
%{_bindir}/qvoronoi
|
%{_bindir}/qvoronoi
|
||||||
%{_bindir}/rbox
|
%{_bindir}/rbox
|
||||||
%{_libdir}/libqhull.so.*
|
|
||||||
%{_mandir}/man1/qhull.1.gz
|
%{_mandir}/man1/qhull.1.gz
|
||||||
%{_mandir}/man1/rbox.1.gz
|
%{_mandir}/man1/rbox.1.gz
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_includedir}/qhull
|
|
||||||
%{_includedir}/qhull/*.h
|
|
||||||
%{_libdir}/libqhull.a
|
|
||||||
%{_libdir}/libqhull.la
|
|
||||||
%{_libdir}/libqhull.so
|
|
||||||
%dir %{_docdir}/qhull-%{version}
|
|
||||||
%doc %{_docdir}/qhull-%{version}/*.txt
|
|
||||||
%doc %{_docdir}/qhull-%{version}/*.htm
|
|
||||||
%dir %{_docdir}/qhull-%{version}/examples
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/Makefile.txt
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/Mborland
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/q_eg
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/q_egtest
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/q_test
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/*.bat
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/*.cpp
|
|
||||||
%doc %{_docdir}/qhull-%{version}/examples/*.c
|
|
||||||
%dir %{_docdir}/qhull-%{version}/html
|
|
||||||
%doc %{_docdir}/qhull-%{version}/html/*.htm
|
|
||||||
%doc %{_docdir}/qhull-%{version}/html/qh--*.gif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2012.1-2mamba
|
||||||
|
- provide compatibility symlinks to resolve qhull/qhull.h into libqhull/libqhull.h
|
||||||
|
|
||||||
|
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 2012.1-1mamba
|
||||||
|
- update to 2012.1
|
||||||
|
|
||||||
* Mon Mar 18 2013 Automatic Build System <autodist@mambasoft.it> 2009.1.3-1mamba
|
* Mon Mar 18 2013 Automatic Build System <autodist@mambasoft.it> 2009.1.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user