]> git.pld-linux.org Git - packages/viking.git/blame - viking.spec
- up to 1.6.1
[packages/viking.git] / viking.spec
CommitLineData
0962f6ba
JK
1Summary: GPS data editor and analyzer
2Name: viking
030020f6
JR
3Version: 1.6.1
4Release: 1
b445de45 5License: GPL v2
0962f6ba 6Group: X11/Applications
c74b0ab7 7Source0: http://downloads.sourceforge.net/viking/%{name}-%{version}.tar.bz2
030020f6 8# Source0-md5: e79d8a092ef12a01975d4b92d30d9eb1
b445de45 9URL: http://viking.sourceforge.net/
0962f6ba 10BuildRequires: curl-devel
99349b33 11BuildRequires: docbook-dtd412-xml
0962f6ba 12BuildRequires: expat-devel
b917bb5a 13BuildRequires: gexiv2-devel
99349b33 14BuildRequires: gnome-doc-utils
3c1851b0 15BuildRequires: gpsd-devel
0962f6ba 16BuildRequires: gtk+2-devel >= 2.2.0
99349b33 17BuildRequires: libxml2-progs
387348eb 18BuildRequires: libxslt-progs
b917bb5a 19BuildRequires: mapnik-devel
b445de45 20BuildRequires: perl-XML-Parser
0962f6ba 21BuildRequires: pkgconfig
b445de45 22BuildRequires: rpm-pythonprov
ff519c6f
AF
23Requires(post,postun): gtk-update-icon-cache
24Requires(post,postun): hicolor-icon-theme
0962f6ba
JK
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
b917bb5a
BS
27%define filterout -flto
28
0962f6ba
JK
29%description
30Viking is a free/open source program to manage GPS data. You can
31import and plot tracks and waypoints, show Terraserver maps under it,
32add coordinate lines, make new tracks and waypoints, hide different
33things, etc. It is written in C with the GTK+ 2.
34
35%prep
36%setup -q
d0f3e4bd 37
0962f6ba 38%build
3c1851b0 39%configure
0962f6ba
JK
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
387348eb
JK
44%{__make} DESTDIR=$RPM_BUILD_ROOT install iconsdir=%{_pixmapsdir}
45
99349b33 46%find_lang %{name} --with-gnome --with-omf
0962f6ba
JK
47
48%check
49make test
50
387348eb 51%post
49ffe2d7 52%update_desktop_database_post
e34a4c95 53%update_icon_cache hicolor
387348eb
JK
54
55%postun
49ffe2d7 56%update_desktop_database_postun
e34a4c95 57%update_icon_cache hicolor
387348eb 58
0962f6ba
JK
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files -f %{name}.lang
63%defattr(644,root,root,755)
c74b0ab7 64%doc AUTHORS ChangeLog COPYING NEWS README TODO
0962f6ba 65%attr(755,root,root) %{_bindir}/viking
387348eb 66%{_desktopdir}/viking.desktop
49ffe2d7 67%{_pixmapsdir}/viking.png
c74b0ab7 68%{_datadir}/viking
This page took 0.110115 seconds and 4 git commands to generate.