Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2025 The CoMaps Community -->
<component type="desktop-application">
<id>app.comaps.comaps</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Apache-2.0</project_license>
<content_rating type="oars-1.1" />
<name>CoMaps</name>
<summary>Free offline maps for everyone</summary>
<developer id="app.comaps">
<name>The CoMaps Community</name>
</developer>
<launchable type="desktop-id">app.comaps.comaps.desktop</launchable>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<description>
<p>
CoMaps is a free Android &amp; iOS offline maps app for travellers,
tourists, hikers, drivers and cyclists.
It uses crowd-sourced OpenStreetMap data.
</p>
<p>
The Linux version of CoMaps does not have feature parity
with the Android and iPhone versions, and has not yet been
optimized for mobile devices.
</p>
</description>
<branding>
<color type="primary" scheme_preference="light">#456644</color>
<color type="primary" scheme_preference="dark">#375237</color>
</branding>
<url type="homepage">https://comaps.app</url>
<url type="bugtracker">https://codeberg.org/comaps/comaps/issues</url>
<url type="faq">https://www.comaps.app/support/</url>
<url type="help">https://www.comaps.app/community/</url>
<url type="donation">https://www.comaps.app/donate/</url>
<url type="translate">https://codeberg.org/comaps/comaps/src/branch/main/docs/TRANSLATIONS.md</url>
<url type="contact">https://www.comaps.app/community/</url>
<url type="vcs-browser">https://codeberg.org/comaps/comaps</url>
<url type="contribute">https://codeberg.org/comaps/comaps/src/branch/main/docs/CONTRIBUTING.md</url>
<screenshots>
<screenshot type="default" environment="plasma">
<image>https://www.comaps.app/images/screenshots/Desktop_light_routing.png</image>
<caption>Routing in light mode</caption>
</screenshot>
<screenshot environment="plasma:dark">
<image>https://www.comaps.app/images/screenshots/Desktop_dark_routing.png</image>
<caption>Routing in dark mode</caption>
</screenshot>
<screenshot environment="plasma">
<image>https://www.comaps.app/images/screenshots/Desktop_light_overview.png</image>
<caption>Map overview in light mode</caption>
</screenshot>
<screenshot environment="plasma:dark">
<image>https://www.comaps.app/images/screenshots/Desktop_dark_overview.png</image>
<caption>Map overview in dark mode</caption>
</screenshot>
</screenshots>
<releases>
<release version="2025.07.13-9" date="2025-08-09">
<description>
<p>CoMaps is now on Linux!</p>
</description>
</release>
</releases>
</component>

View file

@ -0,0 +1,69 @@
%define project %(echo $PROJECT)
%define tool_name %(echo $SUBPROJECT)
%define version %(echo $VERSION)
%define project_repo %(echo $REPO_URL)/%{project}.git
%define release %(echo $RELEASE)
%define project_tool_name %{project}-%{tool_name}
%define project_root %{_builddir}/%{project_tool_name}-%{version}
%define source_dir_name %{project}-%{version}
%define project_src %{project_root}/%{source_dir_name}
%define _empty_manifest_terminate_build 0
Name: %{project_tool_name}
Summary: %{project_tool_name} - a utility from %{project} (maps.me project)
Version: %{version}
Release: %{release}
License: Apache 2.0
Url: http://github.com/mapsme/%{project}
Buildroot: %{_tmppath}/%{project_tool_name}-%{version}-%(%{__id_u} -n)
Source: %{source_dir_name}.tar.gz
BuildRequires: cmake3
%if %{rhel} == 7
BuildRequires: devtoolset-7-gcc-c++
%endif
%if %{rhel} == 8
BuildRequires: gcc-c++
%endif
BuildRequires: git
BuildRequires: qt5-qtbase-devel
BuildRequires: sqlite-devel
BuildRequires: zlib-devel
%description
%{project_tool_name} is a maps.me tool.
%prep
rm -rf %{project_root} 2> /dev/null
mkdir -p %{project_src}
git clone -b %{version} --depth 1 --recurse-submodules %{project_repo} %{project_src}
rm -rf %{project_src}/.git
cd %{project_src}/..
%{__tar} czf %{S:0} %{source_dir_name}
%setup -T -D
%build
%if %{rhel} == 7
source /opt/rh/devtoolset-7/enable
%endif
mkdir -p %{project_root}/build
cd %{project_root}/build
cmake3 %{project_src} -DSKIP_QT_GUI=ON
make %{?_smp_mflags} %{tool_name}
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/%{project_tool_name}
cp -Rp %{project_root}/build/%{tool_name} %{buildroot}/%{_bindir}/%{project_tool_name}
cp -Rp %{project_src}/data %{buildroot}/%{_datadir}/%{project_tool_name}
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/*
%changelog
* Thu Jul 22 2020 Maksim Andrianov <m.andrianov@corp.mail.ru>
- Initial build