Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
libspatialite
libspatialite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libspatialite.spec of Package libspatialite
# # spec file for package libspatialite # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 8 %define libname %{name}%{sover} Name: libspatialite Version: 5.1.0 Release: 0 Summary: Spatial SQLite License: MPL-1.1 Group: Development/Libraries/C and C++ URL: https://www.gaia-gis.it/fossil/libspatialite/index Source: https://www.gaia-gis.it/gaia-sins/libspatialite-sources/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libgeos-devel BuildRequires: pkgconfig # Mandatory for tests to have proj.db BuildRequires: proj BuildRequires: sqlite-devel >= 3.7.3 BuildRequires: pkgconfig(freexl) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(proj) BuildRequires: pkgconfig(rttopo) BuildRequires: pkgconfig(zlib) %description The SpatiaLite extension enables SQLite to support spatial data too [aka GEOMETRY], in a way conformant to OpenGis specifications. %package -n %{libname} Summary: Spatial SQLite Group: System/Libraries %description -n %{libname} The SpatiaLite extension enables SQLite to support spatial data too [aka GEOMETRY], in a way conformant to OpenGis specifications. %package -n mod_spatialite Summary: Spatial SQLite extension Requires: %{libname} = %{version} %description -n mod_spatialite The SpatiaLite extension enables SQLite to support spatial data too [aka GEOMETRY], in a way conformant to OpenGis specifications. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: pkgconfig(freexl) Requires: pkgconfig(libxml-2.0) Requires: pkgconfig(minizip) Requires: pkgconfig(proj) Requires: pkgconfig(rttopo) %description devel This package contains all necessary include files and libraries needed to compile and develop applications that use libspatialite. %prep %setup -q %build %configure --disable-static %make_build # build tests %make_build check TESTS="" %check # Don't fail build - four failures (reported to upstream) %make_build check || : %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license COPYING %doc README README.coverage %{_libdir}/libspatialite.so.%{sover}* %{_libdir}/mod_spatialite.so.%{sover}* %files -n mod_spatialite %license COPYING %doc README README.coverage %{_libdir}/mod_spatialite.so %files devel %license COPYING %doc README README.coverage %{_includedir}/* %{_libdir}/libspatialite.so %{_libdir}/pkgconfig/spatialite.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor