navit/navit.spec
2024-01-06 07:32:58 +01:00

112 lines
3.2 KiB
RPMSpec

Name: navit
Version: 0.5.0.4423
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: navit.%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libdirectfb-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libpython-devel
BuildRequires: libqt4-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libselinux
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
#libz.so.1: .so link not found
## 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 -n %{name}
./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
* 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