Name: merkaartor Version: 0.18.4 Release: 20%{?dist} Summary: Qt-Based OpenStreetMap editor License: GPLv2 URL: http://www.merkaartor.be Source0: https://github.com/openstreetmap/merkaartor/archive/%{version}/%{name}-%{version}.tar.gz Requires: hicolor-icon-theme BuildRequires: make BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtwebkit-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qtsingleapplication-qt5-devel BuildRequires: qt5-qttools-devel BuildRequires: desktop-file-utils BuildRequires: exiv2-devel BuildRequires: gdal-devel BuildRequires: zlib-devel BuildRequires: proj-devel >= 6.0.0 BuildRequires: sqlite-devel Patch0: merkaartor-0.18.3-no-git-version.patch # Fix Qt5.15 build Patch1: merkaartor_qt5.15.patch # Upstream patch to port to proj >= 6 API, fixes FTBFS with proj >= 8 # https://github.com/openstreetmap/merkaartor/pull/233 Patch100: merkaartor-0.18.4-proj-remove-legacy-api.patch %description Merkaartor is a small editor for OpenStreetMap available under the GNU General Public License and developed using the Qt toolkit. It has some unique features like anti-aliased displaying, transparent display of map features like roads and curved roads. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .no-git-version %patch1 -p1 -b .qt5 %patch100 -p1 -b .proj %build # Use packaged qtsingleapplication instead of bundled version rm -rf 3rdparty/qtsingleapplication-2.6_1-opensource sed -i "s|../3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri|%{_libdir}/qt5/mkspecs/features/qtsingleapplication.prf|" src/src.pro lrelease-qt5 src/src.pro %{qmake_qt5} Merkaartor.pro PREFIX=%{_prefix} LIBDIR=%{_libdir} RELEASE=1 VERSION=0.18 REVISION=.3 NODEBUG=1 GEOIMAGE=1 GPSD=1 GDAL=1 ZBAR=0 make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make INSTALL_ROOT=${RPM_BUILD_ROOT} install desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.%{name}.desktop %files %{_bindir}/%{name} %dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/translations/ %{_datadir}/%{name}/translations/%{name}_*.qm %{_datadir}/%{name}/*.xml %{_datadir}/applications/org.%{name}.%{name}.desktop %dir %{_libdir}/%{name}/plugins %dir %{_libdir}/%{name}/plugins/background %{_libdir}/%{name}/plugins/background/*.so %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %{_datadir}/icons/hicolor/16x16/apps/%{name}.png %{_datadir}/icons/hicolor/192x192/apps/%{name}.png %{_datadir}/icons/hicolor/22x22/apps/%{name}.png %{_datadir}/icons/hicolor/24x24/apps/%{name}.png %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %{_datadir}/icons/hicolor/36x36/apps/%{name}.png %{_datadir}/icons/hicolor/40x40/apps/%{name}.png %{_datadir}/icons/hicolor/42x42/apps/%{name}.png %{_datadir}/icons/hicolor/512x512/apps/%{name}.png %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %{_datadir}/icons/hicolor/72x72/apps/%{name}.png %{_datadir}/icons/hicolor/80x80/apps/%{name}.png %{_datadir}/icons/hicolor/8x8/apps/%{name}.png %{_datadir}/icons/hicolor/96x96/apps/%{name}.png %doc AUTHORS CHANGELOG HACKING.md LICENSE %changelog * Thu Jul 20 2023 Fedora Release Engineering - 0.18.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 11 2023 Sandro Mani - 0.18.4-19 - Rebuild (gdal) * Thu Jan 19 2023 Fedora Release Engineering - 0.18.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 12 2022 Sandro Mani - 0.18.4-17 - Rebuild (gdal) * Thu Jul 21 2022 Fedora Release Engineering - 0.18.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri May 20 2022 Sandro Mani - 0.18.4-15 - Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 * Thu Mar 10 2022 Sandro Mani - 0.18.4-14 - Rebuild for proj-9.0.0 * Thu Jan 20 2022 Fedora Release Engineering - 0.18.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Nov 11 2021 Sandro Mani - 0.18.4-12 - Rebuild (gdal) * Thu Jul 22 2021 Fedora Release Engineering - 0.18.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 07 2021 Sandro Mani - 0.18.4-10 - Rebuild (gdal) * Mon Mar 08 2021 Kevin Kofler - 0.18.4-9 - Apply upstream patch to port to proj >= 6 API, fixes FTBFS with proj >= 8 * Sun Mar 07 2021 Sandro Mani - 0.18.4-8 - Rebuild (proj) * Tue Jan 26 2021 Fedora Release Engineering - 0.18.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 11 12:48:08 CET 2020 Sandro Mani - 0.18.4-6 - Rebuild (proj, gdal) - Fix build against Qt 5.15 * Tue Jul 28 2020 Fedora Release Engineering - 0.18.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu May 21 2020 Sandro Mani - 0.18.4-4 - Rebuild (gdal) * Tue Mar 03 2020 Sandro Mani - 0.18.4-3 - Rebuild (gdal) * Wed Jan 29 2020 Fedora Release Engineering - 0.18.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 14 2019 Kevin Kofler - 0.18.4-1 - update to 0.18.4, fixes FTBFS (#1736107) - set SourceURL to a valid URL rather than an unpathed file name * Thu Jul 25 2019 Fedora Release Engineering - 0.18.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 14 2019 Björn Esser - 0.18.3-11 - rebuilt (proj) * Fri Feb 01 2019 Fedora Release Engineering - 0.18.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 30 2019 Rex Dieter - 0.18.3-9 - rebuild (exiv2) * Tue Jan 29 2019 Kevin Kofler - 0.18.3-8 - Rebuild for GDAL 2.3.2 (#1650980) * Fri Jul 13 2018 Fedora Release Engineering - 0.18.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.18.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 0.18.3-5 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 0.18.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.18.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 02 2017 Rex Dieter - 0.18.3-2 - rebuild (exiv2) * Fri Feb 17 2017 Sven Lankes - 0.18.3-1 - new upstream release * Fri Feb 10 2017 Fedora Release Engineering - 0.18.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Feb 01 2016 Rex Dieter 0.18.2-2 - use %%qmake_qt5 macro to ensure proper build flags * Mon Jul 27 2015 Sven Lankes - 0.18.2-1 - new upstream release - now built against QT5 - zbar support disabled (zbar is only qt4 for now) - upstream patch for gdal2.0 * Wed Jun 24 2015 Rex Dieter - 0.18.1-14 - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 0.18.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.18.1-12 - Rebuilt for GCC 5 C++11 ABI change * Thu Mar 19 2015 Sven lankes - 0.18.1-11 - rebuild (libproj) * Sun Aug 17 2014 Fedora Release Engineering - 0.18.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.18.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Dec 04 2013 Kevin Kofler - 0.18.1-8 - fix the ARM fix (#992224) to also do the right thing at runtime * Tue Dec 03 2013 Rex Dieter - 0.18.1-7 - fix FTBFS on arm (#992224) * Tue Dec 03 2013 Rex Dieter - 0.18.1-6 - rebuild (exiv2) * Tue Aug 27 2013 Orion Poplawski - 0.18.1-5 - Rebuild for gdal 1.10.0 * Sat Aug 03 2013 Fedora Release Engineering - 0.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Sven lankes - 0.18.1-1 - new upstream release - remove upstreamed desktop-file patch * Tue Jun 05 2012 Sven Lankes - 0.18.0-4 - require hicolor-icon theme (fixes rhbz #768620 - again) * Mon Jun 04 2012 Sven Lankes - 0.18.0-3 - update icon cache (rhbz #768620) - Add Education to Desktop category to make desktop-file-validate happy (rhbz #768616) * Thu May 31 2012 Sven Lankes - 0.18.0-2 - new upstream release * Wed May 02 2012 Rex Dieter - 0.18.0-0.4.git654e49ba - rebuild (exiv2) * Fri Jan 13 2012 Fedora Release Engineering - 0.18.0-0.3.git654e49ba - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 14 2011 Rex Dieter - 0.18.0-0.2.git654e49ba - rebuild (exiv2) * Sun Feb 20 2011 Sven Lankes - 0.18.0-0.1.git654e49ba - git snapshot - no longer depend on boost (fixes FTBFS) * Sat Feb 12 2011 Sven Lankes - 0.17.2-1 - new upstream bugfix release - Fixes rhbz #673667 and #674944 * Tue Feb 08 2011 Fedora Release Engineering - 0.17.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 28 2010 Sven Lankes - 0.17.0-2 - fix source url and versioning * Tue Dec 28 2010 Sven Lankes - 0.17-1 - new upstream release * Sun Dec 19 2010 Sven Lankes - 0.17-0.3.rc5 - new upstream prerelease * Mon Dec 13 2010 Sven Lankes - 0.17-0.2.rc4 - fix build on i686 * Sun Dec 12 2010 Sven Lankes - 0.17-0.1.rc4 - new upstream pre-release - don't use bundled qtsingleapplication * Sun Dec 05 2010 Sven Lankes - 0.17-0.1.rc3 - new upstream pre-release - now includes a plugin for bing maps * Sun Aug 29 2010 Sven Lankes - 0.16.3-1 - new upstream release - fixes broken translations * Sun Aug 15 2010 Sven Lankes - 0.16.2-1 - new upstream release - add zbar dependency to enable zbar support * Fri Jul 09 2010 Sven Lankes - 0.16.1-2 - bump to fix broken dep and ftbfs (fixes #599993) * Tue Jun 15 2010 Sven Lankes - 0.16.1-1 - new upstream release * Sun Jun 06 2010 Sven Lankes - 0.16.0-1 - new upstream release * Mon May 31 2010 Rex Dieter - 0.15-0.3.svn20001 - rebuild (exiv2) - BR: qt4-webkit-devel * Sun Feb 14 2010 Sven Lankes - 0.15-0.2.svn20001 - remove upstreamed src.pro-patch * Sun Feb 14 2010 Sven Lankes - 0.15-0.1.svn20001 - new svn-prerelease - build against system boost instead of shipped copy * Sat Feb 13 2010 Sven Lankes - 0.15-0.1.svn19986 - svn-prerelease - fix DSO induced FTBFS * Mon Jan 04 2010 Rex Dieter - 0.14-3 - rebuild (exiv2) * Thu Dec 10 2009 Sven Lankes - 0.14-2 - Write log to /dev/null unless specified (bz# 544284) * Wed Aug 12 2009 Sven Lankes - 0.14-1 - 0.14 - Remove patch for gdal/qtgtkstyle-related crash - seems to be fixed in gdal * Sat Jul 25 2009 Fedora Release Engineering - 0.14-0.2.pre2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jul 05 2009 Sven Lankes - 0.14-0.1-pre2 - 0.14-pre2 * Thu Jul 02 2009 Sven Lankes - 0.14-0.1-pre1 - 0.14-pre1 * Tue Apr 28 2009 Sven Lankes - 0.13.2-2 - disable use of qgtkstyle until gdal conflict (bz# 498111) is solved * Sun Apr 26 2009 Sven Lankes - 0.13.2-1 - new upstream release * Sat Apr 04 2009 Sven Lankes - 0.13.1-1 - new upstream release * Wed Oct 15 2008 Sven Lankes - 0.12-2 - remove additional source merkaartor.xpm - now included - minor update of .desktop-file * Mon Oct 13 2008 Sven Lankes - 0.12-1 - new upstream release - enable geotagging support (requires exiv2) - remove -fixes patch * Wed Sep 10 2008 Sven Lankes - 0.11-3 - add patch from -fixes branch (fixes upload error) * Thu Aug 28 2008 Michael Schwendt - 0.11-2 - include unowned directories * Wed Aug 06 2008 Sven Lankes - 0.11-1 - final 0.11 release - Updated versioning scheme - 0.x * Mon Jul 28 2008 slankes - 0.0.11-0.1.rc1 - update to release candidate * Thu Jul 24 2008 slankes - 0.0.10-7 - fix executable source-files * Wed Jun 25 2008 slankes - 0.0.10-6 - remove superfluous make install from specfile - tune requires/buildrequires * Sat Jun 14 2008 slankes - 0.0.10-5 - Remove unneeded buildrequires - SPEC-Cleanup * Sun May 18 2008 slankes - 0.0.10-4 - Build in release mode instead of debug. This (among other things) makes merkaartor honour the rpm optflags) * Thu May 8 2008 slankes - 0.0.10-3 - Preserve timestamps * Sun May 4 2008 slankes - 0.0.10-2 - First package version