@@ -1,774 +0,0 @@
-# if the macros are not defined, define them equal to 0
-%{!?with_sailfish: %define with_sailfish 0}
-%{!?with_harbour: %define with_harbour 0}
-
-Summary: A flexible navigation system.
-%if 0%{with_sailfish}
-%define __provides_exclude_from ^%{_datadir}/.*$
-%define __requires_exclude /bin/bash|/usr/bin/env|/bin/sh
-Name: harbour-modrana
-Release: 1
-%else
-Name: modrana
-Release: 1%{?dist}
-# debug package generation seems to get confused on Fedora:
-# "RPM build error: empty %files file debugfiles.list"
-# Maybe it's the Qt5/C++ launcher or switch to arch build ?
-# Let's disable it for now.
-%global debug_package %{nil}
-%endif
-Url: http://modrana.org
-Version: 0.56.3
-Source0: modrana-%{version}.tar.gz
-
-License: GPLv3+
-Group: Applications/Productivity
-BuildRoot: %{_tmppath}/modrana-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: make
-BuildRequires: python3-devel
-BuildRequires: rsync
-BuildRequires: qt5-qtdeclarative-devel
-
-
-%if 0%{with_sailfish}
-BuildRequires: qt5-qmake
-BuildRequires: pkgconfig(Qt5Core)
-BuildRequires: pkgconfig(Qt5Gui)
-BuildRequires: pkgconfig(Qt5Qml)
-BuildRequires: pkgconfig(Qt5Quick)
-BuildRequires: pkgconfig(sailfishapp)
-Requires: sailfishsilica-qt5
-Requires: mapplauncherd-booster-silica-qt5
-Requires: pyotherside-qml-plugin-python3-qt5
-Requires: libsailfishapp-launcher
-Requires: qt5-qtdeclarative-import-positioning
-Requires: qt5-qtpositioning
-Requires: qt5-qtquickcontrols-layouts
-%else
-Requires: pyotherside
-Requires: qt5-qtlocation
-# qmlscene is in the qt5-qtdeclarative package
-Requires: qt5-qtdeclarative-devel
-Requires: qt5-qtquickcontrols2
-Requires: qt5-qtsensors
-# pygtk2 is needed for the GTK GUI
-Requires: pygtk2
-%endif
-
-%description
-ModRana is a flexible navigation system for mobile linux devices.
-* support for many map layers
-* POI manager
-* turn-by-turn navigation with voice directions
-* online amenity, Wikipedia & address search
-* GPX tracklog support - both creating & visualisation
-* quick, elegant and touch friendly interface
-* pinch zoom support (where supported)
-* global landscape and portrait support
-* efficient sqlite-based tile storage
-* easily configurable
-* powerful command-line interface
-See the project homepage at http://www.modrana.org for more information.
-
-%prep
-%setup -q -n modrana-%{version}
-
-
-%build
-# start by populating the input directory
-# with an initial set of files and folders
-make
-# then in the next step, based on the build environment,
-# we filter the files that will actually reach the package
-%if 0%{with_sailfish}
-%if 0%{with_harbour}
-make rsync-harbour # run the more strinc rsync for a Harbour package
-%else
-make rsync-sailfish # run rsync with a Sailfish OS specific filtering
-make launcher-sailfish QMAKE=qmake # build Sailfish OS specific native launcher
-%endif
-make bytecode-python3 # modRana is Python 3 only on Sailfish OS
-%else
-make rsync # run regular rsync
-make launcher QMAKE=%{qmake_qt5} # build regular native launcher
-# both the GTK (Python 2) and Qt 5 (Python 3) GUIs are available on Fedora
-make bytecode-python2
-make bytecode-python3
-%endif
-
-%install
-rm -rf %{buildroot}
-%if 0%{with_sailfish}
-make install-sailfish DESTDIR=%{buildroot}
-%else
-make install DESTDIR=%{buildroot}
-%endif
-
-%clean
-rm -rf %{buildroot}
-
-%if ! 0%{with_sailfish}
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%endif
-
-%files
-%defattr(-,root,root,-)
-/usr/share/applications/*
-
-%if 0%{with_sailfish}
-/usr/share/harbour-modrana
-/usr/share/icons/hicolor/86x86/apps/*
-/usr/share/icons/hicolor/108x108/apps/*
-/usr/share/icons/hicolor/128x128/apps/*
-/usr/share/icons/hicolor/256x256/apps/*
-/usr/bin/harbour-modrana
-%else
-%doc README.rst
-%license COPYING.txt
-/usr/bin/*
-/usr/share/modrana
-/usr/share/icons/hicolor/48x48/apps/*
-/usr/share/icons/hicolor/64x64/apps/*
-/usr/share/icons/hicolor/128x128/apps/*
-/usr/share/icons/hicolor/256x256/apps/*
-%endif
-
-%changelog
-* Thu Mar 14 2019 Martin Kolman <martin.kolman@gmail.com> - 0.56.3-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-- Fix prefix for native launcher (martin.kolman)
-make[2]: Opouští se adresář „/home/melf-san/data/coding/gps/modrana“
-
-* Thu Mar 14 2019 Martin Kolman <martin.kolman@gmail.com> - 0.56.2-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-- Add a scratch target to the makefile (martin.kolman)
-- Add support for building the launchers to Makefile and spec (martin.kolman)
-- Set some reasonable install target for the launcher (martin.kolman)
-- Add initial native launcher (martin.kolman)
-make[2]: Opouští se adresář „/home/melf-san/data/coding/gps/modrana“
-
-* Tue Mar 05 2019 Martin Kolman <martin.kolman@gmail.com> - 0.56.1-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-
-make[2]: Opouští se adresář „/home/melf-san/data/coding/gps/modrana“
-
-* Thu Sep 06 2018 Martin Kolman <martin.kolman@gmail.com> - 0.55.20-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-- Improve UX for arbitrary POI creation (martin.kolman)
-- Show marker for newly added POI (martin.kolman)
-- Return index for newly created POI (martin.kolman)
-- Improve the POI delete workflow (martin.kolman)
-- Trigger a signal when POI database changes (martin.kolman)
-- Tweak TwoOptionPage layout and button colors (martin.kolman)
-- Make it possible to correctly set spacing between SmartGrid elements (martin.kolman)
-- Add support for deleting stored POI (martin.kolman)
-- Add support for removing individual visible POI markers (martin.kolman)
-- Add the TwoOptionPage element (martin.kolman)
-- Fix right margin missing with SmartGrid (martin.kolman)
-- Remove the getMap() function (martin.kolman)
-- Add POI marker and search marker handling to BaseMapPage API (martin.kolman)
-- Add map layer handling to BaseMapPage API (martin.kolman)
-- Don't ship Python 2.5 version of bundled Urllib 3 in Sailfish OS package (martin.kolman)
-make[2]: Opouští se adresář „/home/melf-san/data/coding/gps/modrana“
-
-* Sun Jun 24 2018 Martin Kolman <martin.kolman@gmail.com> - 0.55.19-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-- Don't ship PNG icons in the Sailfish OS package (martin.kolman)
-- Replace Bitcoin qrcode PNG with SVG (martin.kolman)
-- Fix removel of QML tests from Silfish OS package (martin.kolman)
-- Remove a redundant code for setting map layer (martin.kolman)
-- Document BaseMapPage API functions (martin.kolman)
-- Add tracklog handling to BaseMapPage API (martin.kolman)
-- Rename current MapPage to PinchMapPage (martin.kolman)
-- Move PinchMap.qml to the pinchmap folder (martin.kolman)
-make[2]: Opouští se adresář „/home/melf-san/data/coding/gps/modrana“
-
-* Sun Jun 24 2018 Martin Kolman <martin.kolman@gmail.com> - 0.55.18-1
-make[2]: Vstupuje se do adresáře „/home/melf-san/data/coding/gps/modrana“
-- Fix centering button toggle color (martin.kolman)
|