|
|
954e5a3 |
%{?mingw_package_header}
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%global pkgname libspatialite
|
|
|
980f7c0 |
#global pre beta0
|
|
|
954e5a3 |
|
|
|
954e5a3 |
Name: mingw-%{pkgname}
|
|
|
90897aa |
Version: 5.0.1
|
|
|
954e5a3 |
Summary: MinGW Windows libspatialite library
|
|
|
1bc02ce |
Release: 7%{?pre:.%pre}%{?dist}
|
|
|
954e5a3 |
|
|
|
954e5a3 |
BuildArch: noarch
|
|
|
954e5a3 |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
954e5a3 |
URL: https://www.gaia-gis.it/fossil/libspatialite
|
|
|
a8ecb91 |
Source0: http://www.gaia-gis.it/gaia-sins/%{pkgname}-sources/%{pkgname}-%{version}%{?pre:-%pre}.tar.gz
|
|
|
954e5a3 |
# Fix mingw detection in configure.ac
|
|
|
954e5a3 |
Patch0: libspatialite_mingw.patch
|
|
|
954e5a3 |
# Fix obsolete macros
|
|
|
954e5a3 |
Patch1: libspatialite_macros.patch
|
|
|
5f246fe |
# Use pkgconfig to find geos
|
|
|
5f246fe |
Patch2: libspatialite_geos.patch
|
|
|
954e5a3 |
|
|
|
1b5961b |
BuildRequires: make
|
|
|
954e5a3 |
BuildRequires: autoconf automake libtool
|
|
|
954e5a3 |
|
|
|
954e5a3 |
BuildRequires: mingw32-filesystem >= 95
|
|
|
954e5a3 |
BuildRequires: mingw32-gcc
|
|
|
954e5a3 |
BuildRequires: mingw32-freexl
|
|
|
954e5a3 |
BuildRequires: mingw32-geos
|
|
|
954e5a3 |
BuildRequires: mingw32-libcharset
|
|
|
90897aa |
BuildRequires: mingw32-librttopo
|
|
|
954e5a3 |
BuildRequires: mingw32-libxml2
|
|
|
a7159a0 |
BuildRequires: mingw32-minizip
|
|
|
954e5a3 |
BuildRequires: mingw32-proj
|
|
|
954e5a3 |
BuildRequires: mingw32-sqlite
|
|
|
954e5a3 |
BuildRequires: mingw32-zlib
|
|
|
954e5a3 |
|
|
|
954e5a3 |
BuildRequires: mingw64-filesystem >= 95
|
|
|
954e5a3 |
BuildRequires: mingw64-gcc
|
|
|
954e5a3 |
BuildRequires: mingw64-freexl
|
|
|
954e5a3 |
BuildRequires: mingw64-geos
|
|
|
954e5a3 |
BuildRequires: mingw64-libcharset
|
|
|
90897aa |
BuildRequires: mingw64-librttopo
|
|
|
954e5a3 |
BuildRequires: mingw64-libxml2
|
|
|
a7159a0 |
BuildRequires: mingw64-minizip
|
|
|
954e5a3 |
BuildRequires: mingw64-proj
|
|
|
954e5a3 |
BuildRequires: mingw64-sqlite
|
|
|
954e5a3 |
BuildRequires: mingw64-zlib
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%description
|
|
|
954e5a3 |
MinGW Windows libspatialite library.
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%package -n mingw32-%{pkgname}
|
|
|
954e5a3 |
Summary: MinGW Windows libspatialite library
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%description -n mingw32-%{pkgname}
|
|
|
954e5a3 |
MinGW Windows libspatialite library.
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%package -n mingw64-%{pkgname}
|
|
|
954e5a3 |
Summary: MinGW Windows libspatialite library
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%description -n mingw64-%{pkgname}
|
|
|
954e5a3 |
MinGW Windows libspatialite library.
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%{?mingw_debug_package}
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%prep
|
|
|
a8ecb91 |
%autosetup -p1 -n %{pkgname}-%{version}%{?pre:-%pre}
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%build
|
|
|
5f246fe |
# Needed for Patch0 and Patch2
|
|
|
954e5a3 |
autoreconf -ifv
|
|
|
954e5a3 |
|
|
|
954e5a3 |
mkdir build_win32$MINGW_BUILDDIR_SUFFIX
|
|
|
954e5a3 |
(
|
|
|
954e5a3 |
cd build_win32$MINGW_BUILDDIR_SUFFIX
|
|
|
954e5a3 |
%mingw32_configure --enable-shared --disable-static \
|
|
|
a7159a0 |
--enable-geocallbacks
|
|
|
954e5a3 |
)
|
|
|
954e5a3 |
mkdir build_win64$MINGW_BUILDDIR_SUFFIX
|
|
|
954e5a3 |
(
|
|
|
954e5a3 |
cd build_win64$MINGW_BUILDDIR_SUFFIX
|
|
|
954e5a3 |
%mingw64_configure --enable-shared --disable-static \
|
|
|
a7159a0 |
--enable-geocallbacks
|
|
|
954e5a3 |
)
|
|
|
954e5a3 |
|
|
|
980f7c0 |
%mingw_make_build
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%install
|
|
|
980f7c0 |
%mingw_make_install
|
|
|
954e5a3 |
|
|
|
954e5a3 |
# Delete undesired libtool archives
|
|
|
954e5a3 |
find %{buildroot} -type f -name "*.la" -delete
|
|
|
954e5a3 |
|
|
|
f6fb33f |
# Exclude debug files from the main files (note: the debug files are only created after %%install, so we can't search for them directly)
|
|
|
f6fb33f |
find %{buildroot}%{mingw32_prefix} | grep -E '.(exe|dll|pyd)$' | sed 's|^%{buildroot}\(.*\)$|%%exclude \1.debug|' > mingw32-%{pkgname}.debugfiles
|
|
|
f6fb33f |
find %{buildroot}%{mingw64_prefix} | grep -E '.(exe|dll|pyd)$' | sed 's|^%{buildroot}\(.*\)$|%%exclude \1.debug|' > mingw64-%{pkgname}.debugfiles
|
|
|
954e5a3 |
|
|
|
f6fb33f |
|
|
|
f6fb33f |
%files -n mingw32-%{pkgname} -f mingw32-%{pkgname}.debugfiles
|
|
|
954e5a3 |
%license COPYING
|
|
|
954e5a3 |
%{mingw32_bindir}/libspatialite-4.dll
|
|
|
954e5a3 |
%{mingw32_includedir}/spatialite.h
|
|
|
954e5a3 |
%{mingw32_includedir}/spatialite/
|
|
|
954e5a3 |
%{mingw32_libdir}/libspatialite.dll.a
|
|
|
954e5a3 |
%{mingw32_libdir}/mod_spatialite.dll*
|
|
|
954e5a3 |
%{mingw32_libdir}/pkgconfig/spatialite.pc
|
|
|
954e5a3 |
|
|
|
f6fb33f |
%files -n mingw64-%{pkgname} -f mingw64-%{pkgname}.debugfiles
|
|
|
954e5a3 |
%license COPYING
|
|
|
954e5a3 |
%{mingw64_bindir}/libspatialite-4.dll
|
|
|
954e5a3 |
%{mingw64_includedir}/spatialite.h
|
|
|
954e5a3 |
%{mingw64_includedir}/spatialite/
|
|
|
954e5a3 |
%{mingw64_libdir}/libspatialite.dll.a
|
|
|
954e5a3 |
%{mingw64_libdir}/mod_spatialite.dll*
|
|
|
954e5a3 |
%{mingw64_libdir}/pkgconfig/spatialite.pc
|
|
|
954e5a3 |
|
|
|
954e5a3 |
|
|
|
954e5a3 |
%changelog
|
|
|
1bc02ce |
* Thu Oct 21 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-7
|
|
|
1bc02ce |
- Rebuild (geos)
|
|
|
1bc02ce |
|
|
|
8c5e833 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-6
|
|
|
8c5e833 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
8c5e833 |
|
|
|
78f417e |
* Mon Jul 05 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-5
|
|
|
78f417e |
- Rebuild (proj)
|
|
|
78f417e |
|
|
|
028537c |
* Wed Mar 24 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-4
|
|
|
028537c |
- Rebuild (proj)
|
|
|
028537c |
|
|
|
34e6994 |
* Tue Mar 23 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-3
|
|
|
34e6994 |
- Bump
|
|
|
34e6994 |
|
|
|
885b537 |
* Mon Mar 08 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-2
|
|
|
885b537 |
- Rebuild (proj)
|
|
|
885b537 |
|
|
|
90897aa |
* Mon Mar 08 2021 Sandro Mani <manisandro@gmail.com> - 5.0.1-1
|
|
|
90897aa |
- Update to 5.0.1
|
|
|
90897aa |
|
|
|
af4d4fd |
* Sat Feb 13 2021 Sandro Mani <manisandro@gmail.com> - 5.0.0-5
|
|
|
af4d4fd |
- Rebuild (geos)
|
|
|
af4d4fd |
|
|
|
82d4e78 |
* Wed Feb 10 2021 Sandro Mani <manisandro@gmail.com> - 5.0.0-4
|
|
|
82d4e78 |
- Rebuild (minizip)
|
|
|
82d4e78 |
|
|
|
8416814 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
|
|
|
8416814 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8416814 |
|
|
|
a7159a0 |
* Thu Nov 12 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-2
|
|
|
a7159a0 |
- Enable minizip support
|
|
|
a7159a0 |
|
|
|
980f7c0 |
* Thu Nov 12 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-1
|
|
|
980f7c0 |
- Update to 5.0.0 final
|
|
|
980f7c0 |
|
|
|
b052dc7 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-0.4.beta0
|
|
|
b052dc7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b052dc7 |
|
|
|
df58069 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-0.3.beta0
|
|
|
df58069 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
df58069 |
|
|
|
5358011 |
* Tue Oct 08 2019 Sandro Mani <manisandro@gmail.com> - 5.0.0-0.2.beta0
|
|
|
5358011 |
- Rebuild (Changes/Mingw32GccDwarf2)
|
|
|
5358011 |
|
|
|
a8ecb91 |
* Mon Sep 16 2019 Sandro Mani <manisandro@gmail.com> - 5.0.0-0.1.beta0
|
|
|
a8ecb91 |
- Update to 5.0.0-beta0
|
|
|
a8ecb91 |
|
|
|
728f497 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0a-9
|
|
|
728f497 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
728f497 |
|
|
|
6a80c16 |
* Tue Feb 05 2019 Sandro Mani <manisandro@gmail.com> - 4.3.0a-8
|
|
|
6a80c16 |
- Rebuild (proj, geos)
|
|
|
6a80c16 |
|
|
|
f9df8c7 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0a-7
|
|
|
f9df8c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f9df8c7 |
|
|
|
9e9f290 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0a-6
|
|
|
9e9f290 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9e9f290 |
|
|
|
584d618 |
* Tue May 08 2018 Sandro Mani <manisandro@gmail.com> - 4.3.0a-5
|
|
|
584d618 |
- --enable-geocallbacks
|
|
|
584d618 |
|
|
|
b2bfb1b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0a-4
|
|
|
b2bfb1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b2bfb1b |
|
|
|
f6fb33f |
* Sat Sep 09 2017 Sandro Mani <manisandro@gmail.com> - 4.3.0a-3
|
|
|
f6fb33f |
- Fix debug file in main package
|
|
|
f6fb33f |
|
|
|
954e5a3 |
* Wed Sep 06 2017 Sandro Mani <manisandro@gmail.com> - 4.3.0a-2
|
|
|
954e5a3 |
- Add libspatialite_macros.patch
|
|
|
954e5a3 |
|
|
|
954e5a3 |
* Fri Jan 22 2016 Sandro Mani <manisandro@gmail.com> - 4.3.0a-1
|
|
|
954e5a3 |
- Update to 4.3.0a
|
|
|
954e5a3 |
|
|
|
954e5a3 |
* Mon May 11 2015 Sandro Mani <manisandro@gmail.com> - 4.2.0-1
|
|
|
954e5a3 |
- Initial package
|