2 %define fver 2007.03.16
3 Summary: Garmin's MapSource clone for linux
4 Summary(pl.UTF-8): Klon MapSource pod linuxa
10 Source0: http://dl.sourceforge.net/qlandkarte/%{name}.%{fver}.tar.gz
11 # Source0-md5: 072a0481078640b8d55961c7f9148153
12 Patch0: %{name}-destdir.patch
13 Patch1: %{name}-opt.patch
14 Patch2: %{name}-Vista.patch
15 URL: http://qlandkarte.sourceforge.net
16 BuildRequires: QtCore-devel > 4.2.0
17 BuildRequires: QtGui-devel
18 BuildRequires: libusb-devel
19 BuildRequires: proj-devel
20 BuildRequires: qt4-qmake
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Garmin's MapSource clone for linux
26 %description -l pl.UTF-8
27 Klon MapSource pod linuxa
30 %setup -q -n %{name}.%{fver}
36 qt4-qmake "QMAKE_CXXFLAGS_RELEASE=%{rpmcxxflags}" \
37 -after CONFIG+=%{!?debug:release}%{?debug:debug} QLandkarte.pro
41 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_bindir}
46 INSTALL_ROOT=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc INSTALL changelog.txt index.html
54 %attr(755,root,root) %{_bindir}/QLandkarte
55 %dir %{_libdir}/qlandkarte
56 %attr(755,root,root) %{_libdir}/qlandkarte/*.so