Update to 1.1.0-beta1
This commit is contained in:
parent
810b8d5e07
commit
ca1290109c
|
@ -1 +1,2 @@
|
|||
/librasterlite2-1.0.0-rc0.tar.gz
|
||||
/librasterlite2-1.1.0-beta1.tar.gz
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
%global pre beta1
|
||||
|
||||
# This package requires libspatialite 4.2 and solves the tasks librasterlite
|
||||
# and gaiagraphics solved in the past. It is not a drop-in replacement for either.
|
||||
Name: librasterlite2
|
||||
Version: 1.0.0
|
||||
Release: 3.rc0%{?dist}.15
|
||||
Summary: Stores and retrieves huge raster coverages using a SpatiaLite DBMS
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
URL: https://www.gaia-gis.it/fossil/librasterlite2
|
||||
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-sources/%{name}-%{version}-rc0.tar.gz
|
||||
Name: librasterlite2
|
||||
Version: 1.1.0
|
||||
Release: 0.1%{?pre:.%pre}%{?dist}
|
||||
Summary: Stores and retrieves huge raster coverages using a SpatiaLite DBMS
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
URL: https://www.gaia-gis.it/fossil/librasterlite2
|
||||
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-sources/%{name}-%{version}%{?pre:-%pre}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: CharLS-devel
|
||||
BuildRequires: giflib-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgeotiff-devel
|
||||
|
@ -18,6 +21,10 @@ BuildRequires: libpng-devel
|
|||
BuildRequires: libspatialite-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: minizip-devel
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: proj-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: xz-devel
|
||||
|
@ -27,6 +34,7 @@ BuildRequires: zlib-devel
|
|||
librasterlite2 is a library that stores and retrieves huge raster coverages
|
||||
using a SpatiaLite DBMS.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries and headers for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
@ -35,6 +43,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
This package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package tools
|
||||
Summary: Tools for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
@ -47,26 +56,16 @@ wmslite is a simple WMS server (Web Map Service) based on librasterlite2.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-rc0
|
||||
%autosetup -p1 -n %{name}-%{version}%{?pre:-%pre}
|
||||
|
||||
|
||||
%build
|
||||
# Let the author know on the mailing list
|
||||
# This issue should be sorted out for releases after 1.0.0.rc0
|
||||
export LDFLAGS="-lpthread"
|
||||
|
||||
# Link tools to sqlite3
|
||||
# https://groups.google.com/forum/#!topic/spatialite-users/BGKWBxCO0DY
|
||||
sed -i 's/lrasterlite2/lrasterlite2 -lsqlite3/' tools/Makefile.in
|
||||
|
||||
%configure \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# Delete undesired libtool archives
|
||||
rm -f %{buildroot}/%{_libdir}/%{name}.la
|
||||
|
@ -86,8 +85,9 @@ make check || true
|
|||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS
|
||||
%files
|
||||
%doc AUTHORS
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}.so.*
|
||||
# The symlink must be present to allow loading the extension
|
||||
# https://groups.google.com/forum/#!topic/spatialite-users/zkGP-gPByXk
|
||||
|
@ -100,13 +100,17 @@ make check || true
|
|||
%{_libdir}/pkgconfig/rasterlite2.pc
|
||||
|
||||
%files tools
|
||||
%{_bindir}/rl2sniff
|
||||
%{_bindir}/rl2tool
|
||||
%{_bindir}/wmslite
|
||||
|
||||
#TODO: Make the release at least 4 on the final release, to fix the versioning mistake I made.
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3.rc0.15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
* Fri Nov 13 2020 Sandro Mani <manisandro@gmail.com> - 1.1.0-0.1.beta1
|
||||
- Update to 1.1.0-beta1
|
||||
|
||||
* Tue Apr 14 2020 Sandro Mani <manisandro@gmail.com> - 1.1.0-0.1.beta0
|
||||
- Update to 1.1.0-beta0
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3.rc0.14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
|
Loading…
Reference in New Issue