]>
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 QT |
18 | BuildRequires: expat-devel |
19 | BuildRequires: gtk2-devel >= 2.2.0 | |
20 | BuildRequires: pkgconfig | |
7fead48d QT |
21 | BuildRequires: gpsd-devel |
22 | BuildRequires: gettext perl(XML::Parser) | |
819ae85f QT |
23 | |
24 | %description | |
25 | Viking is a free/open source program to manage GPS data. You can import and | |
26 | plot tracks and waypoints, show Terraserver maps under it, add coordinate | |
27 | lines, make new tracks and waypoints, hide different things, etc. It is written | |
28 | in C with the GTK+ 2. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %configure | |
35 | make | |
36 | ||
37 | %install | |
38 | rm -rf %{buildroot} | |
39 | make DESTDIR=%{buildroot} install | |
7fead48d | 40 | %find_lang %{name} |
819ae85f QT |
41 | rm -f doc/Makefile* |
42 | rm -f doc/dev/Makefile* | |
43 | ||
44 | %check | |
45 | make test | |
46 | ||
47 | %clean | |
48 | rm -rf %{buildroot} | |
49 | ||
7fead48d | 50 | %files -f %{name}.lang |
819ae85f QT |
51 | %defattr(-,root,root,-) |
52 | %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/ | |
53 | %{_bindir}/viking | |
54 | %{_bindir}/viking-remote | |
55 | ||
56 | %changelog | |
7fead48d QT |
57 | * Thu Feb 21 2008 Michael A. Peters <mpeters@mac.com> - 0.9.3.20080220-1 |
58 | - change License field from GPL to GPLv2 | |
59 | - BR gpsd-devel | |
60 | - BR gettext perl(XML::Parser) - needed for intltool | |
61 | - use find_land macro to package mo files | |
62 | ||
13c9d849 GB |
63 | * Sun Sep 4 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.2-1 |
64 | - Update to upstream version 0.9.2. | |
65 | ||
ad11b047 GB |
66 | * Sun Sep 2 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.1-1 |
67 | - Update to upstream version 0.9.1. | |
68 | ||
44a9a037 GB |
69 | * Fri Jul 13 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9-1 |
70 | - Update to upstream version 0.9. | |
71 | ||
06e94d26 QT |
72 | * Thu May 18 2007 Quy Tonthat <qtonthat@gmail.com> |
73 | - Added curl-devel to BuildRequires list. | |
74 | ||
9c89ac8e GB |
75 | * Thu May 15 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.1.3-1 |
76 | - Update to upstream version 0.1.3. | |
77 | ||
819ae85f QT |
78 | * Wed Feb 14 2007 Michael A. Peters <mpeters@mac.com> - 0.1.2-1 |
79 | - Initial Fedora style spec file. |