gpsdrive-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. Summary: A GPS based navigation tool
  2. Summary(ja): GPS ナビゲーションツール
  3. Name: gpsdrive
  4. Version: 2.11
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Productivity
  8. URL: http://www.gpsdrive.de/index.shtml
  9. Source0: http://www.gpsdrive.de/packages/%{name}-%{version}.tar.gz
  10. Source1: http://downloads.sourceforge.net/sourceforge/gpsdrive/openstreetmap-map-icons-minimal.tar.gz
  11. Patch1: gpsdrive-2.10pre7-fedora.patch
  12. Patch2: gpsdrive-2.10pre7-usepc.patch
  13. Patch3: gpsdrive-2.10-newgps.patch
  14. Patch4: gpsdrive-2.10-fix-dso-linking.patch
  15. Patch5: gpsdrive-2.11-add-gdk-pixbuf2.patch
  16. Patch6: gpsdrive-2.11-set-boostfilesystemversion.patch
  17. Patch7: gpsdrive-2.11-remove-Switch.patch
  18. Patch8: gpsdrive-2.11-gpsd-2.96.patch
  19. Patch9: gpsdrive-2.11-fix-lm-dso.patch
  20. Patch10: gpsdrive-speechd.patch
  21. Patch11: gpsdrive-2.11-freetype-cmake.patch
  22. BuildRequires: gtk2-devel >= 2.0.6
  23. BuildRequires: gettext intltool
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: pcre-devel
  26. BuildRequires: autoconf m4
  27. BuildRequires: cmake
  28. BuildRequires: libxml2-devel
  29. BuildRequires: libboost-devel
  30. BuildRequires: sqlite3-devel
  31. BuildRequires: libicu-devel
  32. BuildRequires: libtool-ltdl-devel
  33. BuildRequires: perl
  34. BuildRequires: curl-devel
  35. BuildRequires: gpsd-devel
  36. BuildRequires: speech-dispatcher-devel
  37. BuildRequires: libpq-devel
  38. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  39. Requires: gpsd
  40. Provides: perl(Geo::OSM::EntitiesV3) = %{version}
  41. Provides: perl(Geo::OSM::OsmReaderV5) = %{version}
  42. Provides: perl(Geo::OSM::EntitiesV5) = %{version}
  43. Provides: perl(Geo::OSM::OsmReaderV3) = %{version}
  44. %description
  45. Gpsdrive is a map-based navigation system.
  46. It displays your position on a zoomable map
  47. provided from a NMEA-capable GPS receiver. The maps are autoselected
  48. for the best resolution, depending of your position, and the displayed
  49. image can be zoomed. Maps can be downloaded from the Internet with one
  50. mouse click. The program provides information about speed, direction,
  51. bearing, arrival time, actual position, and target position.
  52. Speech output is also available. MySQL is supported.
  53. %prep
  54. %setup -q
  55. %setup -q -a 1 -T -D
  56. %patch1 -p1
  57. %patch2 -p1 -b .usepc
  58. %patch3 -p1 -b .newgps
  59. %patch4 -p1 -b .fix-dso-linking
  60. %patch5 -p1 -b .gdk-pixbuf2
  61. %patch6 -p1 -b .boostfilesystemver
  62. %patch7 -p1 -b .removeswitch
  63. %patch8 -p1 -b .gpsd296
  64. %patch9 -p1 -b .lm-dso
  65. %patch10 -p1 -b .gpsdrive
  66. %patch11 -p1 -b .freetype-cmake
  67. %build
  68. mkdir build
  69. export Boost_LIBRARYDIR=%{_libdir}
  70. cd build
  71. %cmake -DWITH_MAPNIK=OFF \
  72. ..
  73. make VERBOSE=1 %{?_smp_mflags}
  74. %install
  75. cd build
  76. make install DESTDIR=$RPM_BUILD_ROOT
  77. cd ..
  78. mkdir -p $RPM_BUILD_ROOT/usr/share/icons/map-icons/
  79. cp -a usr/share/icons/map-icons/* $RPM_BUILD_ROOT/usr/share/icons/map-icons/
  80. desktop-file-validate \
  81. ${RPM_BUILD_ROOT}%{_datadir}/applications/gpsdrive.desktop
  82. %find_lang %{name}
  83. %post -p /sbin/ldconfig
  84. %postun -p /sbin/ldconfig
  85. %files -f %{name}.lang
  86. %doc ABOUT-NLS AUTHORS ChangeLog COPYING README Documentation/*
  87. %{_bindir}/friendsd
  88. %{_bindir}/gdal_slice.sh
  89. %{_bindir}/geocache2way.pl
  90. %{_bindir}/gpsd-connect-bluetooth.sh
  91. %{_bindir}/gpsreplay.pl
  92. %{_bindir}/geoinfo.pl
  93. %{_bindir}/gpsd_nmea.sh
  94. %{_bindir}/gpsdrive
  95. %{_bindir}/gpsdrive-update-mapnik-poitypes.pl
  96. %{_bindir}/gpsdrive_mapnik_gentiles.*
  97. %{_bindir}/gpsfetchmap.pl
  98. %{_bindir}/gpspoint2gpsdrive.pl
  99. %{_bindir}/nasaconv.sh
  100. %{_datadir}/applications/%{name}.desktop
  101. %{_datadir}/%{name}
  102. %{_datadir}/icons/map-icons
  103. %{_datadir}/icons/%{name}.png
  104. %{_mandir}/*/man1/*
  105. %{_mandir}/man1/*
  106. %{perl_vendorlib}/*
  107. %changelog
  108. * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.11-1
  109. - initial build for Vine Linux based on fedora
  110. * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-25
  111. - Perl 5.20 rebuild
  112. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-24
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  114. * Thu Jun 12 2014 Nils Philippsen <nils@redhat.com> - 2.11-23
  115. - use system copy of FindFreetype.cmake (#1106719, patch by Hamish Bowman)
  116. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-23
  117. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  118. * Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 2.11-22
  119. - Rebuild for boost 1.55.0
  120. * Thu Jan 16 2014 Adam Williamson <awilliam@redhat.com> - 2.11-21
  121. - rebuild for new libgps
  122. * Mon Aug 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.11-20
  123. - Fix FTBFS (speechd)
  124. - Cleanup spec and fix dates
  125. * Fri Aug 16 2013 Nils Philippsen <nils@redhat.com> - 2.11-19
  126. - don't require unused (compat-)libgda-devel for building (#991891)
  127. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-18
  128. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  129. * Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 2.11-17
  130. - Rebuild for boost 1.54.0
  131. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.11-16
  132. - Perl 5.18 rebuild
  133. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-15
  134. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  135. * Mon Nov 19 2012 Nils Philippsen <nils@redhat.com> - 2.11-14
  136. - update sourceforge download URL
  137. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-13
  138. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  139. * Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 2.11-12
  140. - Perl 5.16 rebuild
  141. * Tue Feb 21 2012 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-11
  142. - Disable mapnik library support since its API changed
  143. - Add patch from debian 107-fix-disable-mapnik.patch
  144. to workaround a known bug when disabling mapnik
  145. - Remove %%clean section
  146. * Tue Aug 23 2011 Tom Callaway <spot@fedoraproject.org> - 2.11-10
  147. - fix build against gpsd 2.96+
  148. * Sun Jul 31 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-9
  149. - Add patch to remove bogus dep on perl(Switch).
  150. * Fri Jul 29 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-8
  151. - Rebuild again for new boost
  152. * Thu Jul 21 2011 Kevin Fenzi <kevin@scrye.com> - 2.11-7
  153. - Rebuild for new boost.
  154. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.11-6
  155. - Perl mass rebuild
  156. * Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.11-5
  157. - Perl 5.14 mass rebuild
  158. * Sun Apr 17 2011 Kalev Lember <kalev@smartlink.ee> - 2.11-4
  159. - Rebuilt for boost 1.46.1 soname bump
  160. * Thu Feb 17 2011 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-3
  161. - Set BOOST_FILESYSTEM_VERSION to 2 (gpsdrive-2.11-set-boostfilesystemversion.patch)
  162. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-2
  163. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  164. * Wed Jul 28 2010 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.11-1
  165. - Update to 2.11
  166. - Add patch to add gdk-pixbuf2 to include path (gpsdrive-2.11-add-gdk-pixbuf2.patch)
  167. * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.10-0.9.20100508svn
  168. - Mass rebuild with perl-5.12.0
  169. * Mon May 10 2010 Hicham HAOUARI <hicham.haouari@gmail.com> - 2.10-0.8.20100508svn
  170. - Fix dso linking issue
  171. * Sat May 08 2010 Kevin Fenzi <kevin@tummy.com> - 2.1.0-0.6.20100508svn
  172. - Update to svn version.
  173. * Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.0-0.5.pre7
  174. - Rebuild for Boost soname bump
  175. * Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-0.4.pre7
  176. - use caolanm's fix (now that mapnik is properly fixed), use pkgconfig to figure out mapnik cflags/libs
  177. * Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-0.3.pre7
  178. - mapnik needs libagg to work
  179. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-0.2.pre7
  180. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  181. * Tue Jun 16 2009 Kevin Fenzi <kevin@tummy.com> - 2.10-0.1.pre7
  182. - update to 2.10pre7
  183. * Sun Jun 07 2009 Kevin Fenzi <kevin@tummy.com> - 2.10-0.1.20090607svn
  184. - update to 2.10-20090607svn
  185. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-8
  186. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  187. * Mon Feb 02 2009 Kevin Fenzi <kevin@tummy.com> - 2.09-7
  188. - fix for CVE-2008-4959 - bug 470241
  189. - fix for CVE-2008-5380 - bug 475478
  190. - fix for CVE-2008-5703 - bug 481702
  191. * Tue Apr 08 2008 Kevin Fenzi <kevin@tummy.com> - 2.09-6
  192. - Add patch for gpsd arguments - bug 438615
  193. - Add patch for mysql - bug 441179
  194. * Sun Feb 10 2008 Kevin Fenzi <kevin@tummy.com> - 2.09-5
  195. - Rebuild for gcc43
  196. * Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-4
  197. - Update License tag.
  198. * Mon May 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-3
  199. - Do not ship useless INSTALL file.
  200. - Fix incorrect greek translation.
  201. * Tue May 15 2007 Kevin Fenzi <kevin@tummy.com> - 2.09-2
  202. - Update for current guidelines
  203. * Tue Apr 12 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.09-1.iva.1
  204. - Added gtk2-devel to BR
  205. * Sat Jan 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:2.09-1.iva.0
  206. - Retooled spec file for standards