navit/navit.spec

120 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: navit
Version: 0.5.0_20140921svn
Release: 1mamba
Summary: Navit is a car navigation software for Linux
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://www.navit-project.org/
# to download source: svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit
Source: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/navit-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libdirectfb-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgps-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libimlib2-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpostgresql-devel
BuildRequires: libpython27-devel
BuildRequires: libqt4-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libts-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Navit is a car navigation system with routing engine.
Navit's modular design is capable of using vector maps of various formats for routing and rendering on the screen. It's even possible to use multiple maps at the same time.
%prep
%setup -q
./autogen.sh
%configure --prefix=/usr
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/maptool
%{_bindir}/navit
%{_datadir}/applications/navit.desktop
%{_datadir}/icons/hicolor/*/apps/navit.png
%{_datadir}/navit/README
%{_datadir}/navit/navit.xml
%{_datadir}/navit/maps/*.bin
%{_datadir}/navit/xpm/*.png
%{_datadir}/navit/xpm/*.svgz
%{_datadir}/navit/xpm/*.xpm
%{_datadir}/navit/xpm/*.svg
%{_libdir}/navit/vehicle/*.la
%{_libdir}/navit/vehicle/*.so
%{_libdir}/navit/speech/*.la
%{_libdir}/navit/speech/*.so
%{_libdir}/navit/osd/*.la
%{_libdir}/navit/osd/*.so
%{_libdir}/navit/map/*.la
%{_libdir}/navit/map/*.so
%{_libdir}/navit/gui/*.la
%{_libdir}/navit/gui/*.so
%{_libdir}/navit/graphics/*.la
%{_libdir}/navit/graphics/*.so
%{_libdir}/navit/font/*.la
%{_libdir}/navit/font/*.so
%{_libdir}/navit/binding/*.la
%{_libdir}/navit/binding/*.so
%{_datadir}/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.xml
%{_datadir}/dbus-1/services/org.navit_project.navit.service
%{_mandir}/man1/*.gz
%doc AUTHORS COPYING ChangeLog README
%changelog
* Sun Sep 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0_20140921svn-1mamba
- update to 0.5.0_20140921svn
* Wed Apr 13 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.5.0-4423-1mamba
- update to 0.5.0-4423
* Mon Apr 04 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.5.0.4414-1mamba
- package created by autospec