141 lines
4.1 KiB
RPMSpec
141 lines
4.1 KiB
RPMSpec
Name: navit
|
|
Version: 0.5.6
|
|
Release: 2mamba
|
|
Summary: Navit is a car navigation software for Linux
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libGLU-devel
|
|
BuildRequires: libQt5Multimedia-devel
|
|
BuildRequires: libQt5Positioning-devel
|
|
BuildRequires: libQt5Sensors-devel
|
|
BuildRequires: libQt5Svg-devel
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: libSDL_image-devel
|
|
BuildRequires: libat-spi2-core-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdbus-glib-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreeglut-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libfribidi-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libgeoclue-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libgps-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libimlib2-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libprotobuf-c-devel
|
|
BuildRequires: libpython310-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libgps-devel >= 0:3.25-1mamba
|
|
BuildRequires: libespeak-ng-devel >= 1.50
|
|
BuildRequires: xorg-server-xvfb
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DCMAKE_C_FLAGS="%{optflags} -fcommon" \
|
|
-DCMAKE_CXX_FLAGS="%{optflags} -fcommon"
|
|
|
|
# runs ksvg2png to convert images
|
|
xvfb-run make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name}
|
|
|
|
%ifarch x86_64
|
|
install -D -m0755 build/navit/maptool/libmaptool_core.so %{buildroot}%{_libdir}/libmaptool_core.so
|
|
%endif
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%ifarch x86_64
|
|
%{_bindir}/maptool
|
|
%{_libdir}/libmaptool_core.so
|
|
%endif
|
|
%{_bindir}/navit
|
|
%{_datadir}/dbus-1/services/org.navit_project.navit.service
|
|
%{_datadir}/applications/navit.desktop
|
|
%dir %{_datadir}/navit
|
|
%{_datadir}/navit/*
|
|
%dir %{_libdir}/navit
|
|
%{_libdir}/navit/lib*.so
|
|
%dir %{_libdir}/navit/binding
|
|
%{_libdir}/navit/binding/*.so
|
|
%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
|
|
|
|
%changelog
|
|
* Wed Feb 08 2023 Sdk Build System <sdk@mambasoft.it> 0.5.6-2mamba
|
|
- rebuilt by autoport with build requirements: libgps-devel>=0:3.25-1mamba
|
|
|
|
* 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
|
|
|
|
* 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
|