packages: qlandkartegt/qlandkartegt.spec (NEW) - initial

krystian krystian at pld-linux.org
Fri Jun 24 21:22:50 CEST 2011


Author: krystian                     Date: Fri Jun 24 19:22:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/qlandkartegt:
   qlandkartegt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/qlandkartegt/qlandkartegt.spec
diff -u /dev/null packages/qlandkartegt/qlandkartegt.spec:1.1
--- /dev/null	Fri Jun 24 21:22:50 2011
+++ packages/qlandkartegt/qlandkartegt.spec	Fri Jun 24 21:22:45 2011
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# TODO: GarminDev - maybe as other package
+#	BR check
+#
+Summary:	Garmin's MapSource clone for Linux
+Summary(pl.UTF-8):	Klon MapSource pod Linuksa
+Name:		qlandkartegt
+Version:	1.2.0
+Release:	0.1
+License:	GPLv2
+Group:		X11/Applications
+Source0:	http://downloads.sourceforge.net/qlandkartegt/%{name}-%{version}.tar.gz
+# Source0-md5:	fd437944f597323453bd920ff0075a2a
+URL:		http://qlandkarte.org
+BuildRequires:	QtCore-devel >= 4.6.0
+BuildRequires:	QtDBus-devel >= 4.6.0
+BuildRequires:	QtGui-devel
+BuildRequires:	QtNetwork-devel
+BuildRequires:	QtOpenGL-devel >= 4.6.0
+BuildRequires:	QtSql-devel >= 4.6.0
+BuildRequires:	QtWebKit-devel >= 4.6.0
+BuildRequires:	QtXml-devel
+BuildRequires:	cmake >= 2.6.0
+BuildRequires:	gdal-devel
+BuildRequires:	libusb-devel
+BuildRequires:	proj-devel
+BuildRequires:	qt4-build >= 4.6.0
+BuildRequires:	qt4-linguist
+BuildRequires:	qt4-qmake >= 4.6.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Garmin's MapSource clone for Linux.
+
+%description -l pl.UTF-8
+Klon MapSource pod Linuksa.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake .. \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_bindir},%{_datadir}/qladkartegt,%{_libdir}}
+cp build/lib/*.so $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL changelog.txt
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/qlandkartegt
+%dir %{_datadir}/qlandkartegt/translations
+%{_datadir}/qlandkartegt/translations/*.qm
+%attr(755,root,root) %{_libdir}/*.so
+%{_desktopdir}/qlandkartegt.desktop
+%{_mandir}/man1/*.1*
+%{_pixmapsdir}/qlandkartegt.png
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+$Log$
+Revision 1.1  2011/06/24 19:22:45  krystian
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list