source: projects/specs/trunk/g/gpsdrive/gpsdrive-vl.spec @ 9140

Revision 9140, 8.8 KB checked in by Takemikaduchi, 9 years ago (diff)

perl-WWW-Curl: NEW
dotconf,perl-HTTP-Server-Simple,speech-dispatcher: new upstream release
others: rebuild

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