Declaring Debianization
[viking.git] / viking.spec.in
blob5fad04e1e2cf583464e3d339221ff381a652857c
1 #%% Fedora style spec file written by Michael A. Peters
2 #%% It is released under Public Domain
3 #%% May be redistributed without this notice.
5 Name: viking
6 Version: @VERSION@
7 Release: 1
9 Summary: GPS data editor and analyzer
11 Group: Applications/Productivity
12 License: GPL
13 URL: http://sourceforge.net/projects/viking/
14 Source0: %{name}-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 BuildRequires: expat-devel
18 BuildRequires: gtk2-devel >= 2.2.0
19 BuildRequires: pkgconfig
21 %description
22 Viking is a free/open source program to manage GPS data. You can import and
23 plot tracks and waypoints, show Terraserver maps under it, add coordinate
24 lines, make new tracks and waypoints, hide different things, etc. It is written
25 in C with the GTK+ 2.
27 %prep
28 %setup -q
30 %build
31 %configure
32 make
34 %install
35 rm -rf %{buildroot}
36 make DESTDIR=%{buildroot} install
37 rm -f doc/Makefile*
38 rm -f doc/dev/Makefile*
40 %check
41 make test
43 %clean
44 rm -rf %{buildroot}
46 %files
47 %defattr(-,root,root,-)
48 %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/
49 %{_bindir}/viking
50 %{_bindir}/viking-remote
52 %changelog
53 * Wed Feb 14 2007 Michael A. Peters <mpeters@mac.com> - 0.1.2-1
54 - Initial Fedora style spec file.