SPECS: QLandkarte.spec - updated to 0.7.3.

pluto pluto at pld-linux.org
Wed Sep 3 17:07:03 CEST 2008


Author: pluto                        Date: Wed Sep  3 15:07:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.7.3.

---- Files affected:
SPECS:
   QLandkarte.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/QLandkarte.spec
diff -u SPECS/QLandkarte.spec:1.8 SPECS/QLandkarte.spec:1.9
--- SPECS/QLandkarte.spec:1.8	Sun Jan 27 11:14:51 2008
+++ SPECS/QLandkarte.spec	Wed Sep  3 17:06:57 2008
@@ -1,15 +1,13 @@
 # $Revision$, $Date$
-
-%define	fver 2007.12.22
 Summary:	Garmin's MapSource clone for Linux
 Summary(pl.UTF-8):	Klon MapSource pod Linuksa
 Name:		QLandkarte
-Version:	0.6.0.%{fver}
-Release:	0.1
+Version:	0.7.3
+Release:	1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/qlandkarte/%{name}.%{fver}.tar.gz
-# Source0-md5:	614cd25963e834fefcaea7137e2aa8d8
+Source0:	http://dl.sourceforge.net/qlandkarte/%{name}_%{version}.tar.gz
+# Source0-md5:	51f804235511f1c10ae8538f86743135
 URL:		http://qlandkarte.sourceforge.net
 BuildRequires:	QtCore-devel > 4.2.0
 BuildRequires:	QtGui-devel
@@ -28,30 +26,34 @@
 Klon MapSource pod Linuksa.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}_%{version}
+%{__sed} -i 's:QMAKE_CXXFLAGS_RELEASE += -O3:QMAKE_CXXFLAGS_RELEASE +=:' common.in
 
 %build
-qmake-qt4 \
-	"QMAKE_CXXFLAGS_RELEASE=%{rpmcxxflags}" \
-	-after CONFIG+=%{!?debug:release}%{?debug:debug} QLandkarte.pro
+%configure \
+	--enable-release
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_mandir}{,/man1}/*.1
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc INSTALL changelog.txt index.html
-%attr(755,root,root) %{_bindir}/QLandkarte
+%attr(755,root,root) %{_bindir}/qlandkarte
 %dir %{_libdir}/qlandkarte
 %attr(755,root,root) %{_libdir}/qlandkarte/*.so
+%{_desktopdir}/qlandkarte.desktop
+%{_mandir}/man1/*.1.gz
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,7 +61,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.8  2008/01/27 10:14:51  bszx
+Revision 1.9  2008/09/03 15:06:57  pluto
+- updated to 0.7.3.
+
+Revision 1.8  2008-01-27 10:14:51  bszx
 - updated to 0.6.0
 
 Revision 1.7  2008-01-04 19:30:36  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/QLandkarte.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list