]> git.street.me.uk Git - andy/viking.git/blob - viking.spec.in
Update spec file
[andy/viking.git] / viking.spec.in
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
12 License:        GPLv2
13 URL:            http://sourceforge.net/projects/viking/
14 Source0:        %{name}-%{version}.tar.gz
15 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
17 BuildRequires:  curl-devel
18 BuildRequires:  expat-devel
19 BuildRequires:  gtk2-devel >= 2.16
20 BuildRequires:  pkgconfig
21 BuildRequires:  gpsd-devel
22 BuildRequires:  gettext perl(XML::Parser)
23 BuildRequires:  intltool
24 BuildRequires:  libxslt
25 BuildRequires:  libexif-devel
26 BuildRequires:  libbz2-devel
27 BuildRequires:  libmagic-devel
28 BuildRequires:  libsqlite3-devel
29
30 %description
31 Viking is a free/open source program to manage GPS data.
32 You can import, plot and create tracks, routes and waypoints, show OSM, Terraserver and other maps, see real-time GPS position, get geocaches, control items, etc.
33 It is written in C with the GTK+2 toolkit.
34
35 %prep
36 %setup -q
37
38 %build
39 %configure
40 make 
41
42 %install
43 rm -rf %{buildroot}
44 make DESTDIR=%{buildroot} install
45 %find_lang %{name}
46 rm -f doc/Makefile*
47 rm -f doc/dev/Makefile*
48
49 %check
50 make test
51
52 %clean
53 rm -rf %{buildroot}
54
55 %files -f %{name}.lang
56 %defattr(-,root,root,-)
57 %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/
58 %{_bindir}/viking
59 %{_datadir}/applications/viking.desktop
60 %{_datadir}/icons/hicolor/48x48/apps/viking.png
61
62 %changelog
63 * Thu Feb 21 2008 Michael A. Peters <mpeters@mac.com> - 0.9.3.20080220-1
64 - change License field from GPL to GPLv2
65 - BR gpsd-devel
66 - BR gettext perl(XML::Parser) - needed for intltool
67 - use find_land macro to package mo files
68
69 * Sun Sep  4 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.2-1
70 - Update to upstream version 0.9.2.
71
72 * Sun Sep  2 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9.1-1
73 - Update to upstream version 0.9.1.
74
75 * Fri Jul 13 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.9-1
76 - Update to upstream version 0.9.
77
78 * Thu May 18 2007 Quy Tonthat <qtonthat@gmail.com>
79 - Added curl-devel to BuildRequires list.
80
81 * Thu May 15 2007 Guilhem Bonnefille <guilhem.bonnefille> - 0.1.3-1
82 - Update to upstream version 0.1.3.
83
84 * Wed Feb 14 2007 Michael A. Peters <mpeters@mac.com> - 0.1.2-1
85 - Initial Fedora style spec file.