viking/viking.spec

94 lines
3.0 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-3)
Name: viking
Version: 1.5
Release: 1mamba
Summary: A GTK2-based GPS data editor and viewer
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://sourceforge.net/apps/mediawiki/viking/index.php?title=Source_code
Source: http://downloads.sourceforge.net/project/viking/viking-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libcurl-devel
BuildRequires: libexif-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgps-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libscrollkeeper-devel
Requires: gpsbabel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Viking is a GTK2-based GPS data editor and viewer. It can download and show OpenStreetMaps, Terraserver, and other maps, import and draw tracks and waypoints over them, add coordinate lines, make new tracks and waypoints, hide different things, and more. It uses a hierarchical layering system to organize GPS data, maps, and other layer types with spatial data (such as coordinate lines).
%debug_package
%prep
%setup -q
%build
%configure \
--disable-scrollkeeper
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/viking
%{_datadir}/applications/viking.desktop
%{_datadir}/gnome/help/viking/C/figures/*.png
%{_datadir}/gnome/help/viking/C/figures/*.jpg
%{_datadir}/gnome/help/viking/C/*.xml
%{_datadir}/icons/hicolor/48x48/apps/viking.png
%{_datadir}/omf/viking/viking-C.omf
%dir %{_datadir}/viking
%{_datadir}/viking/external_tools.xml
%{_datadir}/viking/goto_tools.xml
%{_datadir}/viking/maps.xml
%changelog
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
- update to 1.5
* Fri Aug 09 2013 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic update by autodist
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
- gpsd 3.9 mass rebuild
* Wed Apr 10 2013 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 1.3.2.1-1mamba
- update to 1.3.2.1
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3-2mamba
- added requirement for gpsbabel
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3-1mamba
- package created by autospec