|
|
@ -29,15 +29,15 @@
|
|
|
|
# TODO: Check if that's still true anywhere
|
|
|
|
# TODO: Check if that's still true anywhere
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# At least 20 tests fail due to precision issues on ARM
|
|
|
|
# check_bufovflw test fails on gcc 4.9
|
|
|
|
# Contacted the author about the matter
|
|
|
|
# https://groups.google.com/forum/#!msg/spatialite-users/zkGP-gPByXk/EAZ-schWn1MJ
|
|
|
|
%ifarch armv7hl
|
|
|
|
%if 0%{?fedora} >= 21
|
|
|
|
%global _no_checks 1
|
|
|
|
%global _no_checks 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: libspatialite
|
|
|
|
Name: libspatialite
|
|
|
|
Version: 4.1.1
|
|
|
|
Version: 4.2.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Enables SQLite to support spatial data
|
|
|
|
Summary: Enables SQLite to support spatial data
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
@ -79,14 +79,6 @@ developing applications that use %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
# Remove test failing on 32 bit systems
|
|
|
|
|
|
|
|
# Contacted the author about it
|
|
|
|
|
|
|
|
%ifarch i386 i686 ppc
|
|
|
|
|
|
|
|
sed -i '/hexgrid22/ d' test/Makefile.in test/Makefile.am
|
|
|
|
|
|
|
|
rm test/sql_stmt_geosadvanced_tests/hexgrid22.testcase
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
@ -104,12 +96,14 @@ rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
# Delete undesired libtool archives
|
|
|
|
# Delete undesired libtool archives
|
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}.la
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%if 0%{?_no_checks}
|
|
|
|
%if 0%{?_no_checks}
|
|
|
|
|
|
|
|
# Run check but don't fail build
|
|
|
|
|
|
|
|
make check V=1 ||:
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
make check
|
|
|
|
make check V=1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -124,17 +118,22 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING AUTHORS
|
|
|
|
%doc COPYING AUTHORS
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
%{_libdir}/%{name}.so.7*
|
|
|
|
|
|
|
|
%{_libdir}/mod_spatialite.so.7*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc examples/*.c
|
|
|
|
%doc examples/*.c
|
|
|
|
%{_includedir}/spatialite.h
|
|
|
|
%{_includedir}/spatialite.h
|
|
|
|
%{_includedir}/spatialite
|
|
|
|
%{_includedir}/spatialite
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
|
|
|
%{_libdir}/mod_spatialite.so
|
|
|
|
%{_libdir}/pkgconfig/spatialite.pc
|
|
|
|
%{_libdir}/pkgconfig/spatialite.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jul 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 4.2.0-1
|
|
|
|
|
|
|
|
- Update to 4.2.0
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-3
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
@ -161,7 +160,7 @@ rm -rf %{buildroot}
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 1 2012 Volker Fröhlich <volker27@gmx.at> - 4.0.0-1
|
|
|
|
* Sat Dec 1 2012 Volker Fröhlich <volker27@gmx.at> - 4.0.0-1
|
|
|
|
- New upstream release
|
|
|
|
- New upstream release
|
|
|
|
- Remove arch restrictions, solving BZ 663938 and 846301
|
|
|
|
- Remove arch restrictions, solving BZ 663938 and 846301
|
|
|
|
- Update conditional for geosadvanced
|
|
|
|
- Update conditional for geosadvanced
|
|
|
@ -181,7 +180,7 @@ rm -rf %{buildroot}
|
|
|
|
- Don't run checks if built without advancedgeos
|
|
|
|
- Don't run checks if built without advancedgeos
|
|
|
|
- Include examples as documentation
|
|
|
|
- Include examples as documentation
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 14 2012 Volker Fröhlich <volker27@gmx.at> - 3.0.1-1
|
|
|
|
* Sat Jan 14 2012 Volker Fröhlich <volker27@gmx.at> - 3.0.1-1
|
|
|
|
- New upstream release
|
|
|
|
- New upstream release
|
|
|
|
- Drop defattr
|
|
|
|
- Drop defattr
|
|
|
|
- Run tests
|
|
|
|
- Run tests
|
|
|
|