%define srcname spatialindex %define major 4 %define libnamedev %mklibname %{srcname} -d %define libname %mklibname %{srcname} %{major} Name: lib%{srcname} Version: 1.8.5 Release: %mkrel 3 Summary: Spatial indexing libraries Group: System/Libraries License: MIT Url: http://libspatialindex.github.com/ Source0: http://download.osgeo.org/libspatialindex/%{srcname}-src-%{version}.tar.gz BuildRequires: cmake %description Spatial indexing libraries. %package -n %{libname} Summary: Spatial indexing libraries Group: System/Libraries %description -n %{libname} Spatial indexing libraries. The purpose of this library is to provide: - An extensible framework that will support robust spatial indexing methods. - Support for sophisticated spatial queries. Range, point location, nearest neighbor and k-nearest neighbor as well as parametric queries (defined by spatial constraints) should be easy to deploy and run. - Easy to use interfaces for inserting, deleting and updating information. - Wide variety of customization capabilities. Basic index and storage characteristics like the page size, node capacity, minimum fan-out, splitting algorithm, etc. should be easy to customize. - Index persistence. Internal memory and external memory structures should be supported. Clustered and non-clustered indices should be easy to be persisted. %package -n %{libnamedev} Summary: Development files for %{name} Group: Development/Databases Requires: %{libname} = %{version}-%{release} Provides: %{srcname}-devel = %{version}-%{release} %description -n %{libnamedev} Development files needed to build software using %{name} %prep %setup -q -n %{srcname}-src-%{version} %build %cmake %make %install %makeinstall_std -C build %files -n %{libname} %{_libdir}/*.so.%{major} %{_libdir}/*.so.%{major}.* %files -n %{libnamedev} %{_includedir}/spatialindex* %{_libdir}/*.so %changelog * Sun Sep 23 2018 umeabot <umeabot> 1.8.5-3.mga7 (not released yet) + Revision: 1299160 - Mageia 7 Mass Rebuild * Thu Feb 11 2016 umeabot <umeabot> 1.8.5-2.mga6 + Revision: 955651 - Mageia 6 Mass Rebuild * Tue Sep 01 2015 fwang <fwang> 1.8.5-1.mga6 + Revision: 871831 - 1.8.5 * Wed Oct 15 2014 umeabot <umeabot> 1.8.0-4.mga5 + Revision: 747746 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.8.0-3.mga5 + Revision: 681792 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 1.8.0-2.mga4 + Revision: 522598 - Mageia 4 Mass Rebuild * Fri Mar 22 2013 fwang <fwang> 1.8.0-1.mga3 + Revision: 404451 - br cmake - lock libmajor + obgr_seneca <obgr_seneca> - imported package libspatialindex * Mon Jan 14 2013 Oliver Burger <obgr_seneca@mageia.org> 1.8.0-1.mga3 - Imported package libspatialindex