qmapshack/qmapshack.spec

115 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: qmapshack
Version: 1.16.1
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: libQt5Positioning-devel
BuildRequires: libQt5WebChannel-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libgcc
BuildRequires: libgdal-devel
BuildRequires: libglvnd-devel
BuildRequires: libjpeg-devel
BuildRequires: libproj-devel
BuildRequires: libquazip-devel
BuildRequires: libroutino-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qttools-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: routino
BuildRequires: libproj-devel >= 8.0.1
Requires: routino
Provides: qlandkartegt
Obsoletes: qlandkartegt <= 1.15.2
%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
* Sat Dec 04 2021 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
- automatic version update by autodist
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-1mamba
- update to 1.16.0
* 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