From e283224313ac23cab5cb155746395e5d631a3b89 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:00:47 +0100 Subject: [PATCH] automatic version update by autodist [release 3.0.23-1mamba;Sun Sep 06 2020] --- libmapnik.spec | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/libmapnik.spec b/libmapnik.spec index fa28f3a..34f5b32 100644 --- a/libmapnik.spec +++ b/libmapnik.spec @@ -1,5 +1,5 @@ Name: libmapnik -Version: 3.0.21 +Version: 3.0.23 Release: 1mamba Summary: A Free Toolkit for developing mapping applications Group: System/Tools @@ -14,6 +14,7 @@ Patch1: libmapnik-3.0.15-icu-59.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libboost-devel BuildRequires: libcairo-devel BuildRequires: libfreetype-devel @@ -24,7 +25,6 @@ BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libpostgresql-devel -BuildRequires: libproj-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel @@ -47,26 +47,36 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Mapnik is a Free Toolkit for developing mapping applications. Above all Mapnik is about making beautiful maps. It is easily extensible and suitable for both desktop and web development. This is the devel package. +%debug_package + %prep %setup -q -n mapnik-v%{version} #-D -T #:<< _EOF #%patch1 -p1 +%ifarch x86_64 +sed -i "s|LIBDIR_SCHEMA_DEFAULT=.*|LIBDIR_SCHEMA_DEFAULT='lib64'|" SConstruct +%endif + %build #:<< _EOF -%{__python} scons/scons.py configure \ +export PYTHON=%{__python3} + +%configure \ PREFIX=%{_prefix} \ LIBDIR_SCHEMA=%{_lib} \ - THREADING=multi \ - CUSTOM_LDFLAGS="-L%{_libdir} -ldl" + DESTDIR=%{buildroot} \ + PYTHON=%{__python3} \ + CUSTOM_LDFLAGS="-L%{_libdir} -ldl" \ + THREADING=multi -%make +%make PYTHON=%{__python3} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -sed -i "s|max-drift=1 install|max-drift=1 install DESTDIR=%{buildroot}|" Makefile -%makeinstall +#sed -i "s|max-drift=1 install|max-drift=1 install DESTDIR=%{buildroot}|" Makefile +%makeinstall PYTHON=%{__python3} #%{__python} scons/scons.py install \ # DESTDIR=%{buildroot} %{_smp_mflags} @@ -101,6 +111,9 @@ sed -i "s|max-drift=1 install|max-drift=1 install DESTDIR=%{buildroot}|" Makefil #%doc README %changelog +* Sun Sep 06 2020 Automatic Build System 3.0.23-1mamba +- automatic version update by autodist + * Sun Oct 14 2018 Automatic Build System 3.0.21-1mamba - automatic version update by autodist