Пакет merkaartor: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict %ifarch %e2k ppc64le %def_disable qtwebengine %else %def_enable qtwebengine %endif Name: merkaartor Version: 0.19.0 Release: alt1 Summary: an OpenStreetMap editor License: GPLv2 Group: Sciences/Geosciences Url: https://github.com/openstreetmap/merkaartor # https://github.com/openstreetmap/merkaartor.git Source: %name-%version.tar Patch1: %name-0.18.3-fedora-no-git-version.patch BuildRequires: boost-devel gcc-c++ glibc-devel-static BuildRequires: libgdal-devel libproj-devel libexiv2-devel zlib-devel libsqlite3-devel BuildRequires: qt5-base-devel qt5-svg-devel qt5-tools-devel %if_enabled qtwebengine BuildRequires: qt5-webengine-devel %endif BuildRequires: libqtsingleapplication-qt5-devel %description Merkaartor is an openstreetmap mapping program. Merkaartor focuses on providing a visually pleasing but performant editing environment for free geographical data. %prep %setup %patch1 -p1 # remove bundled libraries rm -rf 3rdparty %build %add_optflags -D_FILE_OFFSET_BITS=64 %add_optflags -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 %add_optflags -I%_includedir/qt5/QtSolutions lrelease-qt5 Merkaartor.pro %qmake_qt5 \ CONFIG+=release CONFIG+=force_debug_info \ PREFIX=%_prefix \ %if_enabled qtwebengine USEWEBENGINE=1 \ %endif SYSTEM_QTSA=1 \ TRANSDIR_MERKAARTOR=%_datadir/%name/translations/ \ -after QMAKE_CFLAGS+='%optflags' \ -after QMAKE_CXXFLAGS+='%optflags' \ Merkaartor.pro %make_build %install %make_install INSTALL_ROOT=%buildroot LIB_SUFFIX=%_libsuff install %files %_bindir/merkaartor %_datadir/%name/ %_datadir/metainfo/*.xml %_libdir/%name/ %_desktopdir/*.desktop %_iconsdir/hicolor/*/apps/*.png %changelog * Tue Mar 01 2022 Aleksei Nikiforov <darktemplar@altlinux.org> 0.19.0-alt1 - Updated to upstream version 0.19.0. * Mon Jan 31 2022 Sergey V Turchin <zerg@altlinux.org> 0.18.4-alt4 - Build without qtwebengine on e2k and ppc64le. * Fri Sep 04 2020 Sergey V Turchin <zerg@altlinux.org> 0.18.4-alt3 - Fixed build with qt < 5.15.0. * Fri Aug 14 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.18.4-alt2 - Fixed build with qt-5.15.0. * Thu Jul 09 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.18.4-alt1 - Updated to upstream version 0.18.4. * Wed Nov 06 2019 Grigory Ustinov <grenka@altlinux.org> 0.18.3-alt5 - NMU: Rebuild with gdal 3.0.1. * Sun Oct 06 2019 Vladislav Zavjalov <slazav@altlinux.org> 0.18.3-alt4 - Fix build with libproj 6.2.0 (use DACCEPT_USE_OF_DEPRECATED_PROJ_API_H) * Fri Mar 29 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 0.18.3-alt3 - Fixed build with new version of qt5-webkit. - Rebuilt with system libraries instead of bundled ones. - Rebuilt with debug info. * Sat Feb 16 2019 Vladislav Zavjalov <slazav@altlinux.org> 0.18.3-alt2 - Rebuild with libproj 5.2.0 - Fix build on aarch64 * Sun Nov 05 2017 Andrey Cherepanov <cas@altlinux.org> 0.18.3-alt1.1 - NMU: Rebuild with gdal 2.2.2 * Thu Sep 14 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.18.3-alt1 - Updated to upstream version 0.18.3. * Fri Dec 07 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16.1-alt1.1 - Fixed build with glibc 2.16 & gcc 4.7 * Wed Aug 11 2010 Egor Glukhov <kaman@altlinux.org> 0.16.1-alt1 - 0.16.1 * Thu Aug 13 2009 Grigory Batalov <bga@altlinux.ru> 0.14-alt1 - New upstream release. * Tue Apr 28 2009 Grigory Batalov <bga@altlinux.ru> 0.13.2-alt2 - Own directory with translations. * Tue Apr 28 2009 Grigory Batalov <bga@altlinux.ru> 0.13.2-alt1 - New upstream release (OSM API 0.6). * Thu Apr 23 2009 Grigory Batalov <bga@altlinux.ru> 0.13.1-alt1 - New upstream release. * Tue Nov 11 2008 Grigory Batalov <bga@altlinux.ru> 0.0.13-alt0.r11862 - New SVN version. - Translations included (thanks to Maks Vasilev <max@stranger-team.ru>). * Tue May 27 2008 Grigory Batalov <bga@altlinux.ru> 0.0.11-alt0.r7914 - New SVN version. * Fri Apr 25 2008 Grigory Batalov <bga@altlinux.ru> 0.0.10-alt1 - Build for ALT Linux. |