]> git.pld-linux.org Git - packages/QLandkarte.git/blame - QLandkarte.spec
- added support for eTrex Vista and VistaCx
[packages/QLandkarte.git] / QLandkarte.spec
CommitLineData
d6860926 1
2%define fver 2007.03.16
3Summary: Garmin's MapSource clone for linux
4Summary(pl.UTF-8): Klon MapSource pod linuxa
5Name: QLandkarte
6Version: 0.2.2.%{fver}
cafd27d5 7Release: 0.4
d6860926 8License: GPL
9Group: Applications
10Source0: http://dl.sourceforge.net/qlandkarte/%{name}.%{fver}.tar.gz
11# Source0-md5: 072a0481078640b8d55961c7f9148153
12Patch0: %{name}-destdir.patch
13Patch1: %{name}-opt.patch
cafd27d5 14Patch2: %{name}-Vista.patch
d6860926 15URL: http://qlandkarte.sourceforge.net
16BuildRequires: QtCore-devel > 4.2.0
17BuildRequires: QtGui-devel
18BuildRequires: libusb-devel
19BuildRequires: proj-devel
20BuildRequires: qt4-qmake
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Garmin's MapSource clone for linux
25
26%description -l pl.UTF-8
27Klon MapSource pod linuxa
28
29%prep
30%setup -q -n %{name}.%{fver}
31%patch0 -p1
32%patch1 -p1
cafd27d5 33%patch2 -p1
d6860926 34
35%build
36qt4-qmake "QMAKE_CXXFLAGS_RELEASE=%{rpmcxxflags}" \
37 -after CONFIG+=%{!?debug:release}%{?debug:debug} QLandkarte.pro
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43install -d $RPM_BUILD_ROOT%{_bindir}
44
45%{__make} install \
46 INSTALL_ROOT=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc INSTALL changelog.txt index.html
54%attr(755,root,root) %{_bindir}/QLandkarte
5a9cd04f 55%dir %{_libdir}/qlandkarte
d6860926 56%attr(755,root,root) %{_libdir}/qlandkarte/*.so
This page took 0.061571 seconds and 4 git commands to generate.