Update to latest available versions
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
Name: mod_tile
|
||||
Version: 0.5
|
||||
Release: 3%{?dist}
|
||||
Version: 0.6.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A program to efficiently render and serve map tiles for www.openstreetmap.org map using Apache and Mapnik.
|
||||
|
||||
License: GPLv2
|
||||
URL: https://github.com/openstreetmap/mod_tile
|
||||
Source0: %{name}-%{version}.tgz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: 10-tile.conf
|
||||
Patch0: mod_tile-move-variables-to-prevent-duplicates.patch
|
||||
Source2: mod_tile.conf
|
||||
|
||||
BuildRequires: httpd-devel, apr
|
||||
BuildRequires: mapnik-devel
|
||||
BuildRequires: iniparser-devel
|
||||
BuildRequires: sqlite-devel
|
||||
|
||||
%description
|
||||
The rendering is implemented in a multithreaded process
|
||||
@@ -33,9 +35,9 @@ at compile time, see: render_config.h
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1 -b duplicated-variables
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--with-apxs \
|
||||
--with-libmapnik
|
||||
@@ -45,6 +47,7 @@ at compile time, see: render_config.h
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
%{__make} install-%{name} DESTDIR=%{buildroot}
|
||||
%{__install} -D %{S:1} %{buildroot}%{_sysconfdir}/httpd/conf.modules.d/10-tile.conf
|
||||
%{__install} -D %{S:2} %{buildroot}%{_sysconfdir}/httpd/conf.d/mod_tile.conf
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
@@ -61,15 +64,18 @@ fi
|
||||
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||
|
||||
%files
|
||||
%doc COPYING mod_tile.conf
|
||||
%doc COPYING
|
||||
%config(noreplace) %{_sysconfdir}/renderd.conf
|
||||
%config %{_sysconfdir}/httpd/conf.modules.d/10-tile.conf
|
||||
%config %{_sysconfdir}/httpd/conf.d/mod_tile.conf
|
||||
%{_bindir}/render*
|
||||
%{_libdir}/httpd/modules/%{name}.so
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 4 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to latest (0.6.1).
|
||||
|
||||
* Fri May 21 2020 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
- First build on Fedora 34.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user