|
|
|
@ -1,197 +1,77 @@
|
|
|
|
|
Name: spatialite-tools
|
|
|
|
|
Version: 5.0.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: A set of useful CLI tools for SpatiaLite
|
|
|
|
|
# Add missing -lxml2
|
|
|
|
|
Patch0: spatialite-tools_lxml2.patch
|
|
|
|
|
%if 0%{?fedora} == 22
|
|
|
|
|
%global sqlitever 3.11.0
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} == 23
|
|
|
|
|
%global sqlitever 3.11.0
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} == 24
|
|
|
|
|
%global sqlitever 3.11.0
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
|
%global sqlitever 3.6.20
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: spatialite-tools
|
|
|
|
|
Version: 4.3.0
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Summary: A set of useful CLI tools for SpatiaLite
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-%{version}.tar.gz
|
|
|
|
|
URL: https://www.gaia-gis.it/fossil/spatialite-tools
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
|
BuildRequires: freexl-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: geos-devel
|
|
|
|
|
BuildRequires: libspatialite-devel
|
|
|
|
|
BuildRequires: librttopo-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: minizip-devel
|
|
|
|
|
BuildRequires: proj-devel
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
BuildRequires: readosm-devel
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
BuildRequires: sqlite-devel %{?sqlitever: = %{sqlitever}}
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
# BZ 1048587
|
|
|
|
|
# The spatialite binary is a derivative of the sqlite shell and
|
|
|
|
|
# inherits its check for the exact same library version.
|
|
|
|
|
# This package thus requires a rebuild! Should be sorted out in 4.3!
|
|
|
|
|
Requires: sqlite %{?sqlitever: = %{sqlitever}}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Spatialite-Tools is a set of useful CLI tools for SpatiaLite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
# Remove unused Makefiles
|
|
|
|
|
rm -f Makefile-static*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ifarch i686 armv7hl
|
|
|
|
|
export LDFLAGS="%{__global_ldflags} -lm"
|
|
|
|
|
%endif
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
%{_bindir}/exif_loader
|
|
|
|
|
%{_bindir}/shp_doctor
|
|
|
|
|
%{_bindir}/shp_sanitize
|
|
|
|
|
%{_bindir}/spatialite
|
|
|
|
|
%{_bindir}/spatialite_convert
|
|
|
|
|
%{_bindir}/spatialite_dem
|
|
|
|
|
%{_bindir}/spatialite_dxf
|
|
|
|
|
%{_bindir}/spatialite_gml
|
|
|
|
|
%{_bindir}/spatialite_network
|
|
|
|
|
%{_bindir}/spatialite_osm*
|
|
|
|
|
%{_bindir}/spatialite_tool
|
|
|
|
|
%{_bindir}/spatialite_xml_*
|
|
|
|
|
%{_bindir}/spatialite_xml2utf8
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 14 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-1
|
|
|
|
|
- Update to 5.0.1
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 13 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-1
|
|
|
|
|
- Update to 5.0.0
|
|
|
|
|
|
|
|
|
|
* Thu Aug 20 08:46:50 GMT 2020 Sandro Mani <manisandro@gmail.com> - 4.3.0-46
|
|
|
|
|
- Rebuild (sqlite)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-45
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 24 2020 Ondrej Dubaj <odubaj@redhat.com> - 4.3.0-44
|
|
|
|
|
- Rebuild for sqlite 3.32.3
|
|
|
|
|
|
|
|
|
|
* Fri Jun 05 2020 Ondrej Dubaj <odubaj@redhat.com> - 4.3.0-43
|
|
|
|
|
- Rebuild for sqlite 3.32.2
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Ondrej Dubaj <odubaj@redhat.com> - 4.3.0-42
|
|
|
|
|
- Rebuild for sqlite 3.32.1
|
|
|
|
|
|
|
|
|
|
* Wed Feb 05 2020 Ondrej Dubaj <odubaj@redhat.com> - 4.3.0-41
|
|
|
|
|
- Rebuild for sqlite 3.31.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-40
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 15 2019 Petr Kubat <pkubat@redhat.com> - 4.3.0-39
|
|
|
|
|
- Rebuild for sqlite 3.30.1
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-38
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 16 2019 Petr Kubat <pkubat@redhat.com> - 4.3.0-37
|
|
|
|
|
- Rebuild for sqlite 3.29.0
|
|
|
|
|
|
|
|
|
|
* Mon May 13 2019 Petr Kubat <pkubat@redhat.com> - 4.3.0-36
|
|
|
|
|
- Rebuild for sqlite 3.28.0
|
|
|
|
|
|
|
|
|
|
* Thu Feb 28 2019 Petr Kubat <pkubat@redhat.com> - 4.3.0-35
|
|
|
|
|
- Rebuild for sqlite 3.27.2
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.3.0-34
|
|
|
|
|
- Rebuild for readline 8.0
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-33
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 12 2018 Petr Kubat <pkubat@redhat.com> - 4.3.0-32
|
|
|
|
|
- Rebuild for sqlite 3.26.0
|
|
|
|
|
|
|
|
|
|
* Thu Oct 11 2018 Petr Kubat <pkubat@redhat.com> - 4.3.0-31
|
|
|
|
|
- Rebuild for sqlite 3.25.2
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Volker Froehlich <volker27@gmx.at> - 4.3.0-30
|
|
|
|
|
- Rebuild for sqlite 3.24.0
|
|
|
|
|
- Add BR for gcc
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-29
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 13 2018 Tom Hughes <tom@compton.nu> - 4.3.0-28
|
|
|
|
|
- Rebuilt for sqlite 3.22.0
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-27
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 04 2017 Petr Kubat <pkubat@redhat.com> - 4.3.0-26
|
|
|
|
|
- Rebuild for sqlite 3.20.1
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Petr Kubat <pkubat@redhat.com> - 4.3.0-25
|
|
|
|
|
- Rebuild for sqlite 3.20.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2017 Petr Kubat <pkubat@redhat.com> - 4.3.0-23
|
|
|
|
|
- Rebuild for sqlite 3.19.3
|
|
|
|
|
|
|
|
|
|
* Thu May 25 2017 Petr Kubat <pkubat@redhat.com> - 4.3.0-22
|
|
|
|
|
- Rebuild for sqlite 3.19.1
|
|
|
|
|
|
|
|
|
|
* Mon Apr 03 2017 Petr Kubat <pkubat@redhat.com> - 4.3.0-21
|
|
|
|
|
- Rebuild for sqlite 3.18.0
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 4.3.0-20
|
|
|
|
|
- Rebuild for sqlite 3.17.0
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2017 Volker Froehlich <volker27@gmx.at> - 4.3.0-18
|
|
|
|
|
- Rebuild for libproj
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.3.0-17
|
|
|
|
|
- Rebuild for readline 7.x
|
|
|
|
|
|
|
|
|
|
* Sat Jan 7 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 4.3.0-16
|
|
|
|
|
- Rebuild for sqlite 3.16.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 6 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 4.3.0-15
|
|
|
|
|
- Rebuild for sqlite 3.16.1
|
|
|
|
|
|
|
|
|
|
* Wed Sep 21 2016 Jakub Dorňák <jdornak@redhat.com> - 4.3.0-14
|
|
|
|
|
- Rebuild for sqlite 3.14.2
|
|
|
|
|
|
|
|
|
|
* Tue Aug 16 2016 Jakub Dorňák <jdornak@redhat.com> - 4.3.0-13
|
|
|
|
|
- Rebuild for sqlite 3.14.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 28 2016 Jakub Dorňák <jdornak@redhat.com> - 4.3.0-12
|
|
|
|
|
- Rebuild for sqlite 3.13.0
|
|
|
|
|
|
|
|
|
|
* Mon May 2 2016 Jakub Dorňák <jdornak@redhat.com> - 4.3.0-10
|
|
|
|
|
- Rebuild for sqlite 3.12.2
|
|
|
|
|
|
|
|
|
|
* Wed Feb 17 2016 Jan Stanek <jstanek@redhat.com> - 4.3.0-9
|
|
|
|
|
- Rebuild for sqlite 3.11.0
|
|
|
|
|
|
|
|
|
|