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