]> git.pld-linux.org Git - packages/QLandkarte.git/blob - QLandkarte.spec
- updated to 0.7.3.
[packages/QLandkarte.git] / QLandkarte.spec
1 Summary:        Garmin's MapSource clone for Linux
2 Summary(pl.UTF-8):      Klon MapSource pod Linuksa
3 Name:           QLandkarte
4 Version:        0.7.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/qlandkarte/%{name}_%{version}.tar.gz
9 # Source0-md5:  51f804235511f1c10ae8538f86743135
10 URL:            http://qlandkarte.sourceforge.net
11 BuildRequires:  QtCore-devel > 4.2.0
12 BuildRequires:  QtGui-devel
13 BuildRequires:  QtXml-devel
14 BuildRequires:  QtNetwork-devel
15 BuildRequires:  libusb-devel
16 BuildRequires:  proj-devel
17 BuildRequires:  qt4-build >= 4.3.3-3
18 BuildRequires:  qt4-qmake >= 4.3.3-3
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Garmin's MapSource clone for Linux.
23
24 %description -l pl.UTF-8
25 Klon MapSource pod Linuksa.
26
27 %prep
28 %setup -q -n %{name}_%{version}
29 %{__sed} -i 's:QMAKE_CXXFLAGS_RELEASE += -O3:QMAKE_CXXFLAGS_RELEASE +=:' common.in
30
31 %build
32 %configure \
33         --enable-release
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39
40 %{__make} install \
41         INSTALL_ROOT=$RPM_BUILD_ROOT
42
43 mv $RPM_BUILD_ROOT%{_mandir}{,/man1}/*.1
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
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
54 %{_desktopdir}/qlandkarte.desktop
55 %{_mandir}/man1/*.1.gz
This page took 0.095756 seconds and 3 git commands to generate.