]>
Commit | Line | Data |
---|---|---|
819ae85f QT |
1 | #%% Fedora style spec file written by Michael A. Peters |
2 | #%% It is released under Public Domain | |
3 | #%% May be redistributed without this notice. | |
4 | ||
5 | Name: viking | |
6 | Version: @VERSION@ | |
7 | Release: 1 | |
8 | ||
9 | Summary: GPS data editor and analyzer | |
10 | ||
11 | Group: Applications/Productivity | |
7fead48d | 12 | License: GPLv2 |
819ae85f QT |
13 | URL: http://sourceforge.net/projects/viking/ |
14 | Source0: %{name}-%{version}.tar.gz | |
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
16 | ||
06e94d26 | 17 | BuildRequires: curl-devel |
819ae85f | 18 | BuildRequires: expat-devel |
513b1a7b | 19 | BuildRequires: gtk2-devel >= 2.16 |
819ae85f | 20 | BuildRequires: pkgconfig |
7fead48d QT |
21 | BuildRequires: gpsd-devel |
22 | BuildRequires: gettext perl(XML::Parser) | |
63af53bc SB |
23 | BuildRequires: intltool |
24 | BuildRequires: libxslt | |
72bbd562 | 25 | BuildRequires: libgexiv2-devel |
513b1a7b RN |
26 | BuildRequires: libbz2-devel |
27 | BuildRequires: libmagic-devel | |
28 | BuildRequires: libsqlite3-devel | |
5fa4fe86 | 29 | BuildRequires: libmapnik-devel |
819ae85f QT |
30 | |
31 | %description | |
167f9d8c | 32 | Viking is a free/open source program to manage GPS data. |
86d0e935 RN |
33 | You can import, plot and create tracks, routes and waypoints, show OSM and other maps, see real-time GPS position, control items, etc. |
34 | Other advanced capabilities include Geotagging Images, Upload and Download tracks from OSM, Routing from OSRM or Google, Name Searches from OSM Nominatim or Google and more. | |
167f9d8c | 35 | It is written in C with the GTK+2 toolkit. |
819ae85f QT |
36 | |
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %configure | |
42 | make | |
43 | ||
44 | %install | |
45 | rm -rf %{buildroot} | |
46 | make DESTDIR=%{buildroot} install | |
7fead48d | 47 | %find_lang %{name} |
819ae85f QT |
48 | rm -f doc/Makefile* |
49 | rm -f doc/dev/Makefile* | |
50 | ||
51 | %check | |
52 | make test | |
53 | ||
54 | %clean | |
55 | rm -rf %{buildroot} | |
56 | ||
7fead48d | 57 | %files -f %{name}.lang |
819ae85f QT |
58 | %defattr(-,root,root,-) |
59 | %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/ | |
60 | %{_bindir}/viking | |
63af53bc SB |
61 | %{_datadir}/applications/viking.desktop |
62 | %{_datadir}/icons/hicolor/48x48/apps/viking.png | |
819ae85f QT |
63 | |
64 | %changelog | |
7fead48d QT |
65 | * Thu Feb 21 2008 Michael A. Peters <mpeters@mac.com> - 0.9.3.20080220-1 |
66 | - change License field from GPL to GPLv2 | |
67 | - BR gpsd-devel | |
68 | - BR gettext perl(XML::Parser) - needed for intltool | |
69 | - use find_land macro to package mo files | |
70 | ||
13c9d849 GB |
71 | * Sun Sep 4 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.2-1 |
72 | - Update to upstream version 0.9.2. | |
73 | ||
ad11b047 GB |
74 | * Sun Sep 2 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.1-1 |
75 | - Update to upstream version 0.9.1. | |
76 | ||
44a9a037 GB |
77 | * Fri Jul 13 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9-1 |
78 | - Update to upstream version 0.9. | |
79 | ||
06e94d26 QT |
80 | * Thu May 18 2007 Quy Tonthat <qtonthat@gmail.com> |
81 | - Added curl-devel to BuildRequires list. | |
82 | ||
9c89ac8e GB |
83 | * Thu May 15 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.1.3-1 |
84 | - Update to upstream version 0.1.3. | |
85 | ||
819ae85f QT |
86 | * Wed Feb 14 2007 Michael A. Peters <mpeters@mac.com> - 0.1.2-1 |
87 | - Initial Fedora style spec file. |