automatic version update by autodist [release 3.0.23-1mamba;Sun Sep 06 2020]
This commit is contained in:
parent
8f4b40d080
commit
e283224313
@ -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 <autodist@mambasoft.it> 3.0.23-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Oct 14 2018 Automatic Build System <autodist@mambasoft.it> 3.0.21-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user