Summary(pl.UTF-8): Klon MapSource pod Linuksa
Name: qlandkartegt
Version: 1.8.1
-Release: 4
+Release: 5
License: GPLv2
Group: X11/Applications
Source0: http://downloads.sourceforge.net/qlandkartegt/%{name}-%{version}.tar.gz
# Source0-md5: 2bfe90aff7e21b19572b7b250d76a540
+Patch0: gcc8.patch
URL: http://qlandkarte.org
BuildRequires: QtCore-devel >= 4.6.0
BuildRequires: QtDBus-devel >= 4.6.0
%prep
%setup -q
+%patch0 -p1
%build
install -d build
cd build
+CFLAGS="%{rpmcflags} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
+CXXFLAGS="%{rpmcxxflags} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
%cmake ..
%{__make}