rpms/gpsdrive/FC-6 gpsdrive-2.09-greek.patch, NONE, 1.1 gpsdrive-disable-gcc3-test.patch, NONE, 1.1 gpsdrive.spec, NONE, 1.1 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Tue Jul 3 21:00:16 UTC 2007


Author: kevin

Update of /cvs/extras/rpms/gpsdrive/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23875

Modified Files:
	sources .cvsignore 
Added Files:
	gpsdrive-2.09-greek.patch gpsdrive-disable-gcc3-test.patch 
	gpsdrive.spec 
Log Message:
Initial version for fc6


gpsdrive-2.09-greek.patch:

--- NEW FILE gpsdrive-2.09-greek.patch ---
diff -Nur gpsdrive-2.09.orig/configure gpsdrive-2.09/configure
--- gpsdrive-2.09.orig/configure	2004-03-03 13:47:08.000000000 -0700
+++ gpsdrive-2.09/configure	2007-05-29 22:51:25.000000000 -0600
@@ -1887,7 +1887,7 @@
           ac_config_headers="$ac_config_headers config.h"
 
 
-ALL_LINGUAS="de es fr it da nl tr de_AT hu sk sv no pt_BR gr ja"
+ALL_LINGUAS="de es fr it da nl tr de_AT hu sk sv no pt_BR le ja"
 
 
 # Check whether --enable-shared or --disable-shared was given.
diff -Nur gpsdrive-2.09.orig/configure.ac gpsdrive-2.09/configure.ac
--- gpsdrive-2.09.orig/configure.ac	2004-03-03 13:46:47.000000000 -0700
+++ gpsdrive-2.09/configure.ac	2007-05-29 22:51:15.000000000 -0600
@@ -10,7 +10,7 @@
 AC_CONFIG_SRCDIR(src/gpsdrive.c)
 AC_CONFIG_HEADER(config.h)
 
-ALL_LINGUAS="de es fr it da nl tr de_AT hu sk sv no pt_BR gr ja"
+ALL_LINGUAS="de es fr it da nl tr de_AT hu sk sv no pt_BR le ja"
 
 
 dnl ************************

gpsdrive-disable-gcc3-test.patch:

--- NEW FILE gpsdrive-disable-gcc3-test.patch ---
diff -Nur gpsdrive-2.09.orig/configure gpsdrive-2.09/configure
--- gpsdrive-2.09.orig/configure	2004-03-03 13:47:08.000000000 -0700
+++ gpsdrive-2.09/configure	2007-05-13 21:26:23.000000000 -0600
@@ -9511,18 +9511,18 @@
 
 echo "Using $CC compiler"
 
-if test "$CC" = "gcc" ; then
+#if test "$CC" = "gcc" ; then
 
-if $CC -dumpversion|egrep -q "^3\.*"; then
-echo "GCC ok"
-else
-echo "*****************************************"
-echo "You need a gcc >= 3.x to compile GpsDrive"
-echo "*****************************************"
-exit
-fi
+#if $CC -dumpversion|egrep -q "^3\.*"; then
+#echo "GCC ok"
+#else
+#echo "*****************************************"
+#echo "You need a gcc >= 3.x to compile GpsDrive"
+#echo "*****************************************"
+#exit
+#fi
 
-fi
+#fi
 
 
 UNAMEP=`uname -p`


--- NEW FILE gpsdrive.spec ---
Summary: A GPS based navigation tool 
Name: gpsdrive
Version: 2.09
Release: 3%{?dist}
License: GPL
Group: Applications/Productivity
URL: http://www.gpsdrive.de/index.shtml
Source: http://www.gpsdrive.de/packages/gpsdrive-2.09.tar.gz
Patch0: gpsdrive-disable-gcc3-test.patch
Patch1: gpsdrive-2.09-greek.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.0.6
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: pcre-devel
BuildRequires: autoconf m4
Requires: gpsd

%description
Gpsdrive is a map-based navigation system. 
It displays your position on a zoomable map 
provided from a NMEA-capable GPS receiver. The maps are autoselected 
for the best resolution, depending of your position, and the displayed 
image can be zoomed. Maps can be downloaded from the Internet with one 
mouse click. The program provides information about speed, direction, 
bearing, arrival time, actual position, and target position. 
Speech output is also available. MySQL is supported.

%prep
%setup -q

%patch0 -p1
%patch1 -p1

# Convert 8859 man pages to UTF-8
for f in man/es/gpsdrive.1 man/de/gpsdrive.1 ; do
    iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done

# move greek from gr to el
mv po/gr.gmo po/le.gmo
mv po/gr.po po/le.po

# make wp2sql script work. 
sed -i -e '1i #!/bin/sh' wp2sql

%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

chmod 755 $RPM_BUILD_ROOT/%{_datadir}/gpsdrive/wp2sql

rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

# Don't ship local gpsd, depend on gpsd package
rm -f $RPM_BUILD_ROOT%{_bindir}/gpsd

# remove .so files as they are the only thing that would be in a devel subpackage. 
rm -f $RPM_BUILD_ROOT%{_libdir}/libfly.so
rm -f $RPM_BUILD_ROOT%{_libdir}/libnautic.so

rm -f ${RPM_BUILD_ROOT}%{_datadir}/applications/gpsdrive.desktop

# remove doc files from sharedir, as they are packaged 
# in docdir in this package. 
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/AUTHORS
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/CREDITS
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/FAQ.gpsdrive
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/FAQ.gpsdrive.fr
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/GPS-receivers
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/LEEME
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/LISEZMOI
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/NMEA.txt
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README.FreeBSD
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README.SQL
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README.gpspoint2gspdrive
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README.kismet
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/README.nasamaps
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/TODO
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gpsdrive/create.sql

desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        gpsdrive.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr (-,root,root,-)
%doc GPS-receivers AUTHORS COPYING CREDITS TODO
%doc TODO README LEEME LISEZMOI README.FreeBSD README.nasamaps
%doc README.gpspoint2gspdrive FAQ.gpsdrive FAQ.gpsdrive.fr
%doc README.SQL create.sql  NMEA.txt README.kismet  LISEZMOI.kismet LISEZMOI.SQL
%doc %{_mandir}/de/man1/gpsdrive.1*
%doc %{_mandir}/es/man1/gpsdrive.1*
%doc %{_mandir}/man1/gpsdrive.1*
%{_libdir}/libfly*
%{_libdir}/libnautic*
%{_bindir}/friendsd2
%{_bindir}/garble
%{_bindir}/geo-code
%{_bindir}/geo-nearest
%{_bindir}/geocache2way
%{_bindir}/gpsdrive
%{_bindir}/gpsfetchmap.pl
%{_bindir}/gpspoint2gpsdrive.pl
%{_bindir}/gpsreplay
%{_bindir}/gpssmswatch
%{_bindir}/gpssql_backup.sh
%{_bindir}/gpssql_restore.sh
%{_bindir}/wpcvt
%{_bindir}/wpget
%dir %{_datadir}/gpsdrive
%{_datadir}/gpsdrive/gpsdrivesplash.png
%{_datadir}/gpsdrive/gpsdrivemini.png
%{_datadir}/gpsdrive/friendsicon.png
%{_datadir}/gpsdrive/gpsicon.png
%{_datadir}/gpsdrive/gpsiconbt.png
%{_datadir}/gpsdrive/gpsdriveanim.gif
%{_datadir}/gpsdrive/top_GPSWORLD.jpg
%{_datadir}/gpsdrive/wp2sql
%{_datadir}/applications/fedora-gpsdrive.desktop
%{_datadir}/pixmaps/gpsicon.png

%changelog
* Mon May 21 2007 Kevin Fenzi <kevin at tummy.com> - 2.09-3
- Do not ship useless INSTALL file. 
- Fix incorrect greek translation. 

* Tue May 15 2007 Kevin Fenzi <kevin at tummy.com> - 2.09-2
- Update for current guidelines

* Tue Apr 12 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.09-1.iva.1
- Added gtk2-devel to BR

* Sat Jan  8 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0:2.09-1.iva.0
- Retooled spec file for standards


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gpsdrive/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Jun 2007 19:48:21 -0000	1.1
+++ sources	3 Jul 2007 20:59:38 -0000	1.2
@@ -0,0 +1 @@
+eaa52cb220f3d10312a1046dd47126bb  gpsdrive-2.09.tar.gz


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gpsdrive/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Jun 2007 19:48:21 -0000	1.1
+++ .cvsignore	3 Jul 2007 20:59:38 -0000	1.2
@@ -0,0 +1 @@
+gpsdrive-2.09.tar.gz




More information about the scm-commits mailing list