2 %define fver 2007.12.22
3 Summary: Garmin's MapSource clone for Linux
4 Summary(pl.UTF-8): Klon MapSource pod Linuksa
9 Group: X11/Applications
10 Source0: http://dl.sourceforge.net/qlandkarte/%{name}.%{fver}.tar.gz
11 # Source0-md5: 614cd25963e834fefcaea7137e2aa8d8
12 URL: http://qlandkarte.sourceforge.net
13 BuildRequires: QtCore-devel > 4.2.0
14 BuildRequires: QtGui-devel
15 BuildRequires: QtXml-devel
16 BuildRequires: QtNetwork-devel
17 BuildRequires: libusb-devel
18 BuildRequires: proj-devel
19 BuildRequires: qt4-build >= 4.3.3-3
20 BuildRequires: qt4-qmake >= 4.3.3-3
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 Linuksa.
34 "QMAKE_CXXFLAGS_RELEASE=%{rpmcxxflags}" \
35 -after CONFIG+=%{!?debug:release}%{?debug:debug} QLandkarte.pro
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_bindir}
43 INSTALL_ROOT=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc INSTALL changelog.txt index.html
51 %attr(755,root,root) %{_bindir}/QLandkarte
52 %dir %{_libdir}/qlandkarte
53 %attr(755,root,root) %{_libdir}/qlandkarte/*.so