2024-01-06 07:32:58 +01:00
Name : navit
2024-01-06 07:32:58 +01:00
Version : 0.5.6
2024-01-06 07:32:58 +01:00
Release : 1mamba
Summary : Navit is a car navigation software for Linux
Group : Graphical Desktop/Applications/Utilities
Vendor : openmamba
Distribution : openmamba
2024-01-06 07:32:58 +01:00
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : https://www.navit-project.org/
Source : https://github.com/navit-gps/navit.git/v%{version} /navit-%{version} .tar.bz2
Patch0 : navit-0.5.6-espeak-fix-multiple-definitions.patch
2024-01-06 07:32:58 +01:00
License : GPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libGLU-devel
BuildRequires : libQt5Multimedia-devel
BuildRequires : libQt5Positioning-devel
BuildRequires : libQt5Sensors-devel
BuildRequires : libQt5Svg-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libSDL-devel
BuildRequires : libSDL_image-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libatk-devel
BuildRequires : libcairo-devel
BuildRequires : libdbus-devel
BuildRequires : libdbus-glib-devel
BuildRequires : libfontconfig-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libfreeglut-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libfreetype-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libfribidi-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libgcc
BuildRequires : libgdk-pixbuf-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libgeoclue-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libglib-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libglvnd-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libgps-devel
BuildRequires : libgtk2-devel
BuildRequires : libharfbuzz-devel
BuildRequires : libimlib2-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libpango-devel
BuildRequires : libpng-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libprotobuf-c-devel
BuildRequires : libpython39-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libstdc++6-devel
2024-01-06 07:32:58 +01:00
BuildRequires : libz-devel
2024-01-06 07:32:58 +01:00
BuildRequires : qt5-qtbase-devel
BuildRequires : qt5-qtdeclarative-devel
2024-01-06 07:32:58 +01:00
## AUTOBUILDREQ-END
2024-01-06 07:32:58 +01:00
BuildRequires : libespeak-ng-devel >= 1.50
BuildRequires : libgps-devel >= 3.21
2024-01-06 07:32:58 +01:00
%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.
2024-01-06 07:32:58 +01:00
%debug_package
2024-01-06 07:32:58 +01:00
%prep
2024-01-06 07:32:58 +01:00
%setup -q
2024-01-06 07:32:58 +01:00
%patch0 -p1
2024-01-06 07:32:58 +01:00
%build
2024-01-06 07:32:58 +01:00
%cmake -d build \
-DCMAKE_C_FLAGS=" %{optflags} - f c o m m o n " \
-DCMAKE_CXX_FLAGS=" %{optflags} - f c o m m o n "
2024-01-06 07:32:58 +01:00
%make
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-06 07:32:58 +01:00
%makeinstall -C build
2024-01-06 07:32:58 +01:00
%find_lang %{name}
2024-01-06 07:32:58 +01:00
%ifarch x86_64
install -D -m0755 build/navit/maptool/libmaptool_core.so %{buildroot} %{_libdir} /libmaptool_core.so
%endif
2024-01-06 07:32:58 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files -f %{name}.lang
%defattr (-,root,root)
2024-01-06 07:32:58 +01:00
%ifarch x86_64
2024-01-06 07:32:58 +01:00
%{_bindir} /maptool
2024-01-06 07:32:58 +01:00
%{_libdir} /libmaptool_core.so
%endif
2024-01-06 07:32:58 +01:00
%{_bindir} /navit
2024-01-06 07:32:58 +01:00
%{_datadir} /dbus-1/services/org.navit_project.navit.service
2024-01-06 07:32:58 +01:00
%{_datadir} /applications/navit.desktop
2024-01-06 07:32:58 +01:00
%dir %{_datadir} /navit
%{_datadir} /navit/*
%dir %{_libdir} /navit
%{_libdir} /navit/lib*.so
%dir %{_libdir} /navit/binding
2024-01-06 07:32:58 +01:00
%{_libdir} /navit/binding/*.so
2024-01-06 07:32:58 +01:00
%dir %{_libdir} /navit/font
%{_libdir} /navit/font/*.so
%dir %{_libdir} /navit/graphics
%{_libdir} /navit/graphics/*.so
%dir %{_libdir} /navit/gui
%{_libdir} /navit/gui/*.so
%dir %{_libdir} /navit/map
%{_libdir} /navit/map/*.so
%dir %{_libdir} /navit/osd
%{_libdir} /navit/osd/*.so
%dir %{_libdir} /navit/speech
%{_libdir} /navit/speech/*.so
%dir %{_libdir} /navit/traffic
%{_libdir} /navit/traffic/libtraffic_*.so
%dir %{_libdir} /navit/vehicle
%{_libdir} /navit/vehicle/*.so
%{_datadir} /icons/hicolor/*/apps/navit.png
%{_mandir} /man1/maptool.1*
%{_mandir} /man1/navit.1*
%doc AUTHORS COPYING
2024-01-06 07:32:58 +01:00
%changelog
2024-01-06 07:32:58 +01:00
* Sat Dec 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.6-1mamba
- update to 0.5.6
* Mon Sep 10 2018 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
2024-01-06 07:32:58 +01:00
* Sun Sep 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0_20140921svn-1mamba
- update to 0.5.0_20140921svn
2024-01-06 07:32:58 +01:00
* 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