Name: qmapshack Version: 1.6.3 Release: 1%{?dist} Summary: GPS mapping and management tool Group: Applications/Communications License: GPLv3+ and BSD URL: https://bitbucket.org/maproom/qmapshack/wiki/Home Source0: https://bitbucket.org/maproom/%{name}/downloads/%{name}-%{version}.tar.gz # needed for F-20 Patch0: %{name}-0.11.0-cmake28.patch # use planetsplitter from routino package Patch1: %{name}-1.4.0-system-routino.patch Requires: proj-epsg Requires: routino BuildRequires: cmake BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: qt5-qttools-devel BuildRequires: proj-devel BuildRequires: gdal-devel BuildRequires: zlib-devel BuildRequires: routino-devel BuildRequires: desktop-file-utils %description QMapShack provides a versatile tool for GPS maps in GeoTiff format as well as Garmin's img vector map format. You can also view and edit your GPX tracks. QMapShack is the successor of QLandkarteGT. Main features: - use of several work-spaces - use several maps on a work-space - handle data project-oriented - exchange data with the device by drag-n-drop %prep %setup -q %patch0 -p1 %patch1 -p1 # create build directory mkdir build %build cd build %cmake -DBUILD_SHARED_LIBS:BOOL=OFF .. make VERBOSE=1 %{?_smp_mflags} %install cd build make install DESTDIR=%{buildroot} desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %post /usr/bin/update-desktop-database &> /dev/null || : %postun /usr/bin/update-desktop-database &> /dev/null || : %files %license LICENSE %doc changelog.txt %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/QMapShack.* %{_datadir}/pixmaps/QMapShack.png %{_datadir}/%{name} %{_mandir}/man1/%{name}.* %changelog * Thu Jul 14 2016 Dan Horák - 1.6.3-1 - update to 1.6.3 * Mon Jul 04 2016 Dan Horák - 1.6.2-1 - update to 1.6.2 * Mon Mar 28 2016 Dan Horák - 1.6.1-1 - update to 1.6.1 * Fri Feb 26 2016 Dan Horák - 1.6.0-1 - update to 1.6.0 * Thu Feb 04 2016 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Nov 22 2015 Dan Horák - 1.5.1-1 - update to 1.5.1 * Thu Nov 12 2015 Dan Horák - 1.4.0-1 - update to 1.4.0 * Mon Jul 27 2015 Dan Horák - 1.3.0-2 - rebuild for GDAL 2.0 * Thu Jul 02 2015 Dan Horák - 1.3.0-1 - update to 1.3.0 * Wed Jun 24 2015 Dan Horák - 1.2.2-1 - update to 1.2.2 - add missing desktop-database scriptlets - fix license tag * Tue Apr 14 2015 Dan Horák - 1.2.0-1 - update to 1.2.0 * Sun Apr 05 2015 Dan Horák - 1.1.0-1 - initial Fedora version