973a7aa
Summary: A GPS based navigation tool 
973a7aa
Name: gpsdrive
Hicham HAOUARI 23808cb
Version: 2.11
1f141ba
Release: 53%{?dist}
7def948
License: GPLv2+
973a7aa
URL: http://www.gpsdrive.de/index.shtml
d38874f
Hicham HAOUARI 23808cb
Source0: http://www.gpsdrive.de/packages/%{name}-%{version}.tar.gz
89e35f4
Source1: http://downloads.sourceforge.net/sourceforge/gpsdrive/openstreetmap-map-icons-minimal.tar.gz
d38874f
4095e2d
Patch1: gpsdrive-2.10pre7-fedora.patch
7c15e24
Patch2: gpsdrive-2.10pre7-usepc.patch
Hicham HAOUARI 09c2e21
Patch3: gpsdrive-2.10-newgps.patch
Hicham HAOUARI 09c2e21
Patch4: gpsdrive-2.10-fix-dso-linking.patch
Hicham HAOUARI 23808cb
Patch5: gpsdrive-2.11-add-gdk-pixbuf2.patch
Hicham HAOUARI 957107a
Patch6: gpsdrive-2.11-set-boostfilesystemversion.patch
ab93665
Patch7: gpsdrive-2.11-remove-Switch.patch
b302f87
Patch8: gpsdrive-2.11-gpsd-2.96.patch
Hicham HAOUARI 24539f0
Patch9: gpsdrive-2.11-fix-lm-dso.patch
d38874f
Patch10: gpsdrive-speechd.patch
8c20efc
Patch11: gpsdrive-2.11-freetype-cmake.patch
bc50275
Patch12: gpsdrive-2.11-libgps6.patch
4095e2d
Igor Gnatenko cc0192d
BuildRequires:  gcc-c++
33045d6
BuildRequires: gcc
973a7aa
BuildRequires: gtk2-devel >= 2.0.6
4095e2d
BuildRequires: gettext intltool
973a7aa
BuildRequires: desktop-file-utils
973a7aa
BuildRequires: pcre-devel
973a7aa
BuildRequires: autoconf m4
4095e2d
BuildRequires: cmake
4095e2d
BuildRequires: libxml2-devel
4095e2d
BuildRequires: boost-devel
4095e2d
BuildRequires: sqlite-devel
4095e2d
BuildRequires: libicu-devel
4095e2d
BuildRequires: libtool-ltdl-devel
4095e2d
BuildRequires: perl-devel
8abf5bd
BuildRequires: perl-generators
4095e2d
BuildRequires: libcurl-devel
4095e2d
BuildRequires: gpsd-devel
4095e2d
BuildRequires: speech-dispatcher-devel
9c9968d
BuildRequires: libpq-devel
4095e2d
4095e2d
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
973a7aa
Requires: gpsd
973a7aa
Hicham HAOUARI 24539f0
Provides: perl(Geo::OSM::EntitiesV3) = %{version}
Hicham HAOUARI 24539f0
Provides: perl(Geo::OSM::OsmReaderV5) = %{version}
Hicham HAOUARI 24539f0
Provides: perl(Geo::OSM::EntitiesV5) = %{version}
Hicham HAOUARI 24539f0
Provides: perl(Geo::OSM::OsmReaderV3) = %{version}
4095e2d
973a7aa
%description
973a7aa
Gpsdrive is a map-based navigation system. 
973a7aa
It displays your position on a zoomable map 
973a7aa
provided from a NMEA-capable GPS receiver. The maps are autoselected 
973a7aa
for the best resolution, depending of your position, and the displayed 
973a7aa
image can be zoomed. Maps can be downloaded from the Internet with one 
973a7aa
mouse click. The program provides information about speed, direction, 
973a7aa
bearing, arrival time, actual position, and target position. 
973a7aa
Speech output is also available. MySQL is supported.
973a7aa
973a7aa
%prep
Hicham HAOUARI 23808cb
%setup -q
Hicham HAOUARI 23808cb
%setup -q -a 1 -T -D
973a7aa
973a7aa
%patch1 -p1
7c15e24
%patch2 -p1 -b .usepc
Hicham HAOUARI 09c2e21
%patch3 -p1 -b .newgps
Hicham HAOUARI 09c2e21
%patch4 -p1 -b .fix-dso-linking
Hicham HAOUARI 23808cb
%patch5 -p1 -b .gdk-pixbuf2
Hicham HAOUARI 957107a
%patch6 -p1 -b .boostfilesystemver
ab93665
%patch7 -p1 -b .removeswitch
b302f87
%patch8 -p1 -b .gpsd296
Hicham HAOUARI 24539f0
%patch9 -p1 -b .lm-dso
d38874f
%patch10 -p1 -b .gpsdrive
8c20efc
%patch11 -p1 -b .freetype-cmake
bc50275
%patch12 -p1
973a7aa
973a7aa
%build
Hicham HAOUARI 23808cb
mkdir build
Hicham HAOUARI 09c2e21
export Boost_LIBRARYDIR=%{_libdir}
4095e2d
cd build
Hicham HAOUARI 24539f0
%cmake -DWITH_MAPNIK=OFF \
Hicham HAOUARI 24539f0
        ..
4095e2d
make VERBOSE=1 %{?_smp_mflags}
973a7aa
973a7aa
%install
4095e2d
cd build
973a7aa
make install DESTDIR=$RPM_BUILD_ROOT
973a7aa
4095e2d
cd ..
4095e2d
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/map-icons/
4095e2d
cp -a usr/share/icons/map-icons/* $RPM_BUILD_ROOT/usr/share/icons/map-icons/
eab5cba
Hicham HAOUARI 24539f0
desktop-file-validate                            \
4095e2d
        ${RPM_BUILD_ROOT}%{_datadir}/applications/gpsdrive.desktop
973a7aa
973a7aa
%find_lang %{name}
973a7aa
d214f16
%ldconfig_scriptlets
973a7aa
973a7aa
%files -f %{name}.lang
4095e2d
%doc ABOUT-NLS AUTHORS ChangeLog COPYING README Documentation/*
4095e2d
%{_bindir}/friendsd
4095e2d
%{_bindir}/gdal_slice.sh
4095e2d
%{_bindir}/geocache2way.pl
4095e2d
%{_bindir}/gpsd-connect-bluetooth.sh
4095e2d
%{_bindir}/gpsreplay.pl
4095e2d
%{_bindir}/geoinfo.pl
4095e2d
%{_bindir}/gpsd_nmea.sh
973a7aa
%{_bindir}/gpsdrive
4095e2d
%{_bindir}/gpsdrive-update-mapnik-poitypes.pl
4095e2d
%{_bindir}/gpsdrive_mapnik_gentiles.*
973a7aa
%{_bindir}/gpsfetchmap.pl
973a7aa
%{_bindir}/gpspoint2gpsdrive.pl
4095e2d
%{_bindir}/nasaconv.sh
Hicham HAOUARI 24539f0
%{_datadir}/applications/%{name}.desktop
Hicham HAOUARI 24539f0
%{_datadir}/%{name}
4095e2d
%{_datadir}/icons/map-icons
Hicham HAOUARI 24539f0
%{_datadir}/icons/%{name}.png
4095e2d
%{_mandir}/*/man1/*
4095e2d
%{_mandir}/man1/*
4095e2d
%{perl_vendorlib}/*
973a7aa
973a7aa
%changelog
1f141ba
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-53
1f141ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1f141ba
bc92c83
* Wed Jul 03 2019 Björn Esser <besser82@fedoraproject.org> - 2.11-52
bc92c83
- Rebuild (gpsd)
bc92c83
553e7e2
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-51
553e7e2
- Perl 5.30 rebuild
553e7e2
06a15f6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-50
06a15f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
06a15f6
e4228b9
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 2.11-49
e4228b9
- Rebuilt for libcrypt.so.2 (#1666033)
e4228b9
fbe4664
* Sat Jan 05 2019 Björn Esser <besser82@fedoraproject.org> - 2.11-48
fbe4664
- Update gpsdrive-2.11-gpsd-2.96.patch for API change in gpsd 3.18.1
fbe4664
2b8a40a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-47
2b8a40a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2b8a40a
5bcd7a6
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-46
5bcd7a6
- Perl 5.28 rebuild
5bcd7a6
33045d6
* Tue Feb 20 2018 Nils Philippsen <nils@tiptoe.de> - 2.11-45
33045d6
- require gcc for building
33045d6
c767610
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-44
c767610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c767610
bd4ba8b
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.11-43
bd4ba8b
- Rebuilt for switch to libxcrypt
bd4ba8b
b2cf155
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-42
b2cf155
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b2cf155
988fde8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-41
988fde8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
988fde8
980516d
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 2.11-40
980516d
- Rebuilt for Boost 1.64
980516d
c3e294e
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-39
c3e294e
- Perl 5.26 rebuild
c3e294e
5b73f6c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-38
5b73f6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5b73f6c
d82b690
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 2.11-37
d82b690
- Rebuilt for Boost 1.63
d82b690
0f85980
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 2.11-36
0f85980
- Rebuilt for Boost 1.63
0f85980
30ad1a3
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-35
30ad1a3
- Perl 5.24 rebuild
30ad1a3
d35bee5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-34
d35bee5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d35bee5
d789d24
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 2.11-33
d789d24
- Rebuilt for Boost 1.60
d789d24
c2519e9
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 2.11-32
c2519e9
- Rebuilt for Boost 1.59
c2519e9
e262ae6
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-31
e262ae6
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
e262ae6
bcd25a2
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 2.11-30
bcd25a2
- rebuild for Boost 1.58
bcd25a2
1450ab1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-29
1450ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1450ab1
01b77b6
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-28
01b77b6
- Perl 5.22 rebuild
01b77b6
bc50275
* Sat Apr 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.11-27
bc50275
- Reflect libgps API-changes (FTFBS RHBZ #1202688).
bc50275
  Add gpsdrive-2.11-libgps6.patch.
bc50275
Petr Machata 8b4ac3f
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 2.11-26
Petr Machata 8b4ac3f
- Rebuild for boost 1.57.0
Petr Machata 8b4ac3f
3c2958a
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-25
3c2958a
- Perl 5.20 rebuild
3c2958a
6fbaafa
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-24
6fbaafa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6fbaafa
8c20efc
* Thu Jun 12 2014 Nils Philippsen <nils@redhat.com> - 2.11-23
8c20efc
- use system copy of FindFreetype.cmake (#1106719, patch by Hamish Bowman)
8c20efc
1641331
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-23
1641331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1641331
Petr Machata f58b8ea
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 2.11-22
Petr Machata f58b8ea
- Rebuild for boost 1.55.0
Petr Machata f58b8ea
c747c42
* Thu Jan 16 2014 Adam Williamson <awilliam@redhat.com> - 2.11-21
c747c42
- rebuild for new libgps
c747c42
d38874f
* Mon Aug 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.11-20
d38874f
- Fix FTBFS (speechd)
d38874f
- Cleanup spec and fix dates
d38874f
d38874f
* Fri Aug 16 2013 Nils Philippsen <nils@redhat.com> - 2.11-19
2cb9661
- don't require unused (compat-)libgda-devel for building (#991891)
2cb9661
616c8c2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-18
616c8c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
616c8c2
Petr Machata f47c8c5
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 2.11-17
Petr Machata f47c8c5
- Rebuild for boost 1.54.0
Petr Machata f47c8c5
8bf40fc
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.11-16
8bf40fc
- Perl 5.18 rebuild
8bf40fc
6fc3f26
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-15
6fc3f26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6fc3f26
89e35f4
* Mon Nov 19 2012 Nils Philippsen <nils@redhat.com> - 2.11-14
89e35f4
- update sourceforge download URL
89e35f4
6dd6b51
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-13
6dd6b51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6dd6b51
5762a4e
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 2.11-12
5762a4e
- Perl 5.16 rebuild
5762a4e
Hicham HAOUARI 24539f0
* Tue Feb 21 2012 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-11
Hicham HAOUARI 24539f0
- Disable mapnik library support since its API changed
Hicham HAOUARI 24539f0
- Add patch from debian 107-fix-disable-mapnik.patch
Hicham HAOUARI 24539f0
  to workaround a known bug when disabling mapnik
Hicham HAOUARI 24539f0
- Remove %%clean section
Hicham HAOUARI 98f6bd3
b302f87
* Tue Aug 23 2011 Tom Callaway <spot@fedoraproject.org> - 2.11-10
b302f87
- fix build against gpsd 2.96+
b302f87
ab93665
* Sun Jul 31 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-9
ab93665
- Add patch to remove bogus dep on perl(Switch). 
ab93665
c004d48
* Fri Jul 29 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-8
c004d48
- Rebuild again for new boost
c004d48
243bacd
* Thu Jul 21 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-7
243bacd
- Rebuild for new boost. 
243bacd
db17b7a
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.11-6
db17b7a
- Perl mass rebuild
db17b7a
140cdd6
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.11-5
140cdd6
- Perl 5.14 mass rebuild
140cdd6
Kalev Lember 0e6f678
* Sun Apr 17 2011 Kalev Lember <kalev@smartlink.ee> - 2.11-4
Kalev Lember 0e6f678
- Rebuilt for boost 1.46.1 soname bump
Kalev Lember 0e6f678
Hicham HAOUARI 957107a
* Thu Feb 17 2011 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-3
Hicham HAOUARI 957107a
- Set BOOST_FILESYSTEM_VERSION to 2 (gpsdrive-2.11-set-boostfilesystemversion.patch)
Hicham HAOUARI 957107a
73b9ac2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-2
73b9ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73b9ac2
Hicham HAOUARI 23808cb
* Wed Jul 28 2010 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-1
Hicham HAOUARI 23808cb
- Update to 2.11
Hicham HAOUARI 23808cb
- Add patch to add gdk-pixbuf2 to include path (gpsdrive-2.11-add-gdk-pixbuf2.patch)
Hicham HAOUARI 23808cb
934c9b1
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.10-0.9.20100508svn
934c9b1
- Mass rebuild with perl-5.12.0
934c9b1
Hicham HAOUARI 4e7e1b2
* Mon May 10 2010 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.10-0.8.20100508svn
Hicham HAOUARI ca74173
- Fix dso linking issue
Hicham HAOUARI ca74173
Hicham HAOUARI 09c2e21
* Sat May 08 2010 Kevin Fenzi <kevin@tummy.com> - 2.1.0-0.6.20100508svn
Hicham HAOUARI 09c2e21
- Update to svn version. 
Hicham HAOUARI 09c2e21
3f34105
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.0-0.5.pre7
3f34105
- Rebuild for Boost soname bump
3f34105
7c15e24
* Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-0.4.pre7
7c15e24
- use caolanm's fix (now that mapnik is properly fixed), use pkgconfig to figure out mapnik cflags/libs
7c15e24
3264f6b
* Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-0.3.pre7
3264f6b
- mapnik needs libagg to work
3264f6b
b211926
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-0.2.pre7
b211926
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b211926
4095e2d
* Tue Jun 16 2009 Kevin Fenzi <kevin@tummy.com> - 2.10-0.1.pre7
4095e2d
- update to 2.10pre7
4095e2d
4095e2d
* Sun Jun 07 2009 Kevin Fenzi <kevin@tummy.com> - 2.10-0.1.20090607svn
4095e2d
- update to 2.10-20090607svn
4095e2d
9735e3f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-8
9735e3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9735e3f
eab5cba
* Mon Feb 02 2009 Kevin Fenzi <kevin@tummy.com> - 2.09-7
eab5cba
- fix for CVE-2008-4959 - bug 470241
eab5cba
- fix for CVE-2008-5380 - bug 475478
eab5cba
- fix for CVE-2008-5703 - bug 481702
eab5cba
0d69979
* Tue Apr 08 2008 Kevin Fenzi <kevin@tummy.com> - 2.09-6
0d69979
- Add patch for gpsd arguments - bug 438615
0d69979
- Add patch for mysql - bug 441179
0d69979
3285187
* Sun Feb 10 2008 Kevin Fenzi <kevin@tummy.com> - 2.09-5
3285187
- Rebuild for gcc43
3285187
7def948
* Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-4
7def948
- Update License tag. 
7def948
973a7aa
* Mon May 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-3
973a7aa
- Do not ship useless INSTALL file. 
973a7aa
- Fix incorrect greek translation. 
973a7aa
973a7aa
* Tue May 15 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-2
973a7aa
- Update for current guidelines
973a7aa
973a7aa
* Tue Apr 12 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.09-1.iva.1
973a7aa
- Added gtk2-devel to BR
973a7aa
973a7aa
* Sat Jan  8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:2.09-1.iva.0
973a7aa
- Retooled spec file for standards