Update to latest available versions

This commit is contained in:
2022-01-06 07:55:17 +01:00
parent a42bab335a
commit c2d123b6cb
2 changed files with 17 additions and 8 deletions

View File

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

View File

@@ -1,5 +1,5 @@
Name: phyghtmap Name: phyghtmap
Version: 2.21 Version: 2.23
Release: 1%{?dist} Release: 1%{?dist}
Summary: Generate OSM contour lines from NASA SRTM data Summary: Generate OSM contour lines from NASA SRTM data
License: GPLv2+ License: GPLv2+
@@ -39,6 +39,9 @@ install -Dpm 644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/ %{python3_sitelib}/%{name}-%{version}-py*.egg-info/
%changelog %changelog
* Tue Jan 4 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Update to latest (2.23).
* Fri May 21 2021 Daniel Steiner <daniel.steiner@dsteiner.ch> * Fri May 21 2021 Daniel Steiner <daniel.steiner@dsteiner.ch>
- First build on Fedora 34. - First build on Fedora 34.