qmapshack/qmapshack.spec

106 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: qmapshack
Version: 1.15.2
Release: 1mamba
Summary: Application to plan outdoor trips and visualize and archive all the GPS recordings
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Maproom/qmapshack/wiki
Source: https://github.com/Maproom/qmapshack.git/V_%{version}/qmapshack-%{version}.tar.bz2
Patch0: qmapshack-1.15.0-libqt5-5.15.0-0.patch
Patch1: qmapshack-1.15.0-libqt5-5.15.0.patch
Patch2: qmapshack-1.15.0-fix_crash_in_profile.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libgcc
BuildRequires: libgdal-devel
BuildRequires: libjpeg-devel
BuildRequires: libproj-devel
BuildRequires: libqt5-devel
BuildRequires: libquazip-devel
BuildRequires: libroutino-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: routino
Requires: routino
Provides: qlandkartegt
Obsoletes: qlandkartegt
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Use QMapShack to plan your next outdoor trip or to visualize and archive all the GPS recordings of your past exciting adventures.
QMapShack is the next generation of the famous QLandkarte GT application. And of course it's even better and easier to use.
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/qmapshack
%{_bindir}/qmaptool
%{_bindir}/qmt_map2jnx
%{_bindir}/qmt_rgb2pct
%{_datadir}/applications/qmapshack.desktop
%{_datadir}/applications/qmaptool.desktop
%{_mandir}/man1/qmapshack.1*
%{_mandir}/man1/qmaptool.1*
%{_mandir}/man1/qmt_map2jnx.1*
%{_mandir}/man1/qmt_rgb2pct.1*
%{_datadir}/icons/hicolor/*/apps/QMap*.png
%{_datadir}/pixmaps/QMapShack.png
%{_datadir}/pixmaps/QMapTool.png
%{_datadir}/doc/HTML/QMSHelp.qch
%{_datadir}/doc/HTML/QMSHelp.qhc
%{_datadir}/doc/HTML/QMTHelp.qch
%{_datadir}/doc/HTML/QMTHelp.qhc
%dir %{_datadir}/qmapshack
%dir %{_datadir}/qmapshack/translations
%{_datadir}/qmapshack/translations/qmapshack_ca.qm
%{_datadir}/qmapshack/translations/qmapshack_cs.qm
%{_datadir}/qmapshack/translations/qmapshack_de.qm
%{_datadir}/qmapshack/translations/qmapshack_es.qm
%{_datadir}/qmapshack/translations/qmapshack_fr.qm
%{_datadir}/qmapshack/translations/qmapshack_it.qm
%{_datadir}/qmapshack/translations/qmapshack_nl.qm
%{_datadir}/qmapshack/translations/qmapshack_ru.qm
%dir %{_datadir}/qmaptool
%dir %{_datadir}/qmaptool/translations
%{_datadir}/qmaptool/translations/qmaptool_de.qm
%{_datadir}/qmaptool/translations/qmaptool_es.qm
%{_datadir}/qmaptool/translations/qmaptool_it.qm
%{_datadir}/qmaptool/translations/qmaptool_ru.qm
%dir %{_datadir}/qmt_rgb2pct
%dir %{_datadir}/qmt_rgb2pct/translations
%{_datadir}/qmt_rgb2pct/translations/qmt_rgb2pct_de.qm
%doc LICENSE
%changelog
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 1.15.2-1mamba
- automatic version update by autodist
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.0-1mamba
- package created using the webbuild interface