]>
Commit | Line | Data |
---|---|---|
32952306 JB |
1 | Summary: Garmin's MapSource clone for Linux |
2 | Summary(pl.UTF-8): Klon MapSource pod Linuksa | |
d6860926 | 3 | Name: QLandkarte |
150e9541 PS |
4 | Version: 0.7.3 |
5 | Release: 1 | |
d6860926 | 6 | License: GPL |
748d8115 | 7 | Group: X11/Applications |
150e9541 PS |
8 | Source0: http://dl.sourceforge.net/qlandkarte/%{name}_%{version}.tar.gz |
9 | # Source0-md5: 51f804235511f1c10ae8538f86743135 | |
d6860926 | 10 | URL: http://qlandkarte.sourceforge.net |
11 | BuildRequires: QtCore-devel > 4.2.0 | |
12 | BuildRequires: QtGui-devel | |
306d4e01 | 13 | BuildRequires: QtXml-devel |
14 | BuildRequires: QtNetwork-devel | |
d6860926 | 15 | BuildRequires: libusb-devel |
16 | BuildRequires: proj-devel | |
9b12260a JB |
17 | BuildRequires: qt4-build >= 4.3.3-3 |
18 | BuildRequires: qt4-qmake >= 4.3.3-3 | |
d6860926 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
32952306 | 22 | Garmin's MapSource clone for Linux. |
d6860926 | 23 | |
24 | %description -l pl.UTF-8 | |
32952306 | 25 | Klon MapSource pod Linuksa. |
d6860926 | 26 | |
27 | %prep | |
150e9541 PS |
28 | %setup -q -n %{name}_%{version} |
29 | %{__sed} -i 's:QMAKE_CXXFLAGS_RELEASE += -O3:QMAKE_CXXFLAGS_RELEASE +=:' common.in | |
d6860926 | 30 | |
31 | %build | |
150e9541 PS |
32 | %configure \ |
33 | --enable-release | |
d6860926 | 34 | %{__make} |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
150e9541 | 38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
d6860926 | 39 | |
40 | %{__make} install \ | |
41 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
42 | ||
150e9541 PS |
43 | mv $RPM_BUILD_ROOT%{_mandir}{,/man1}/*.1 |
44 | ||
d6860926 | 45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc INSTALL changelog.txt index.html | |
150e9541 | 51 | %attr(755,root,root) %{_bindir}/qlandkarte |
5a9cd04f | 52 | %dir %{_libdir}/qlandkarte |
d6860926 | 53 | %attr(755,root,root) %{_libdir}/qlandkarte/*.so |
150e9541 PS |
54 | %{_desktopdir}/qlandkarte.desktop |
55 | %{_mandir}/man1/*.1.gz |