]> git.pld-linux.org Git - packages/QLandkarte.git/blame - QLandkarte.spec
- 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}
7Release: 0.3
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
14URL: http://qlandkarte.sourceforge.net
15BuildRequires: QtCore-devel > 4.2.0
16BuildRequires: QtGui-devel
17BuildRequires: libusb-devel
18BuildRequires: proj-devel
19BuildRequires: qt4-qmake
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Garmin's MapSource clone for linux
24
25%description -l pl.UTF-8
26Klon MapSource pod linuxa
27
28%prep
29%setup -q -n %{name}.%{fver}
30%patch0 -p1
31%patch1 -p1
32
33%build
34qt4-qmake "QMAKE_CXXFLAGS_RELEASE=%{rpmcxxflags}" \
35 -after CONFIG+=%{!?debug:release}%{?debug:debug} QLandkarte.pro
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41install -d $RPM_BUILD_ROOT%{_bindir}
42
43%{__make} install \
44 INSTALL_ROOT=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc INSTALL changelog.txt index.html
52%attr(755,root,root) %{_bindir}/QLandkarte
5a9cd04f 53%dir %{_libdir}/qlandkarte
d6860926 54%attr(755,root,root) %{_libdir}/qlandkarte/*.so
This page took 0.066376 seconds and 4 git commands to generate.