commit bd6ed1bf6ef6ba7dd13c3cc29aa48612a72e0acd443e800a6dc79b7519e61675 Author: Christophe Giboudeaux Date: Sat Nov 21 12:58:32 2020 +0000 20.12 beta OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kosmindoormap?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..48be415 Binary files /dev/null and b/applications.keyring differ diff --git a/kosmindoormap-20.11.80.tar.xz b/kosmindoormap-20.11.80.tar.xz new file mode 100644 index 0000000..6506608 --- /dev/null +++ b/kosmindoormap-20.11.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82e44e78a8ea37c1c572c112ab19f5e6125ca578ed4362ab74194f00ac158cd1 +size 310328 diff --git a/kosmindoormap-20.11.80.tar.xz.sig b/kosmindoormap-20.11.80.tar.xz.sig new file mode 100644 index 0000000..33d5416 --- /dev/null +++ b/kosmindoormap-20.11.80.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAl+uonoACgkQOmpNuDnq +pteq4w//TYiooEStSDGyOmcgMjg4WC/paTimfzZOWbltQKFeaJqfcmn2UMkswq/D +YiYtWUPEZKm5rRq2CE6/Sl8CJ/aeWmPtiumV34njQt+yr8mHo/Ywf5GbYrjzInO0 +Y5LuadYK/QdWQ25ywaMmmSvIV+uIRLQxxwpYhIGJ/sY41OECsElBz9yT4sjvoMbv +HGxiI9kQJvB7fMqknM0OwdfSkRK2MCWInLU5craAZ+5m1+n8l7IOiU/46e1jcnCU +GJAypOB3S2P3SKAxmQ68Fah/dwIzqgtE4zxn5PRlCAKjw9MC5N4b1G4Dx41liFu5 +T7oOfw85DNJr9uK9gZtHYNbd238nCRYXLhwJOLxdmuSojqy7Wta30doiUg23eZ0/ +fQ5OZPiWOizce5TUtRADIBlxmpKl1/zENt/Faq7l8hZgfXfBMuFkJE5ZqdkW7xn+ +mSiM8zoLoDHxc0Worqmto84Kmvqo8v1J26WjbWoGY2fVu1J7QqeyAH6xBarFjUAk +PchknNWjxi6yUtUe6FAr7LPPpU6xxOsdyZacvsINV/t1cDPmYemqp+kjG0f50ce+ ++j//X2TzyLNwW+KD1JPcQhu3D/7mxlyEfM1dYPfAd24gGBlb6yZaUIFaQXOWHi1n +01BDDMMya2dZ/vKOcS6tVsV0SH+TysmkAQTisa1Hh4gmOWlqero= +=dwdU +-----END PGP SIGNATURE----- diff --git a/kosmindoormap.changes b/kosmindoormap.changes new file mode 100644 index 0000000..e35b233 --- /dev/null +++ b/kosmindoormap.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 14 13:58:34 UTC 2020 - Christophe Giboudeaux + +- Initial package diff --git a/kosmindoormap.spec b/kosmindoormap.spec new file mode 100644 index 0000000..63f0e25 --- /dev/null +++ b/kosmindoormap.spec @@ -0,0 +1,129 @@ +# +# spec file for package kosmindoormap +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define kf5_version 5.71.0 +%define soversion 20 +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) +%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} +%bcond_without lang +Name: kosmindoormap +Version: 20.11.80 +Release: 0 +Summary: OSM indoor map QML component +License: LGPL-2.0-or-later AND CC0-1.0 +URL: https://kde.org +Source0: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif +BuildRequires: bison +BuildRequires: extra-cmake-modules +BuildRequires: flex +BuildRequires: pkgconfig +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KPublicTransport) +BuildRequires: cmake(Qt5Quick) +BuildRequires: cmake(Qt5Test) +BuildRequires: libQt5Core-private-headers-devel +BuildRequires: pkgconfig(protobuf) +BuildRequires: pkgconfig(zlib) +Requires: libKOSM%{soversion} = %{version} +Recommends: %{name}-lang + +%description +QML components for KDE Itinerary. + +%package -n libKOSM%{soversion} +Summary: OSM primitives for kosmindoormap + +%description -n libKOSM%{soversion} +OSM primitives for kosmindoormap. + +%package -n libKOSMIndoorMap%{soversion} +Summary: OSM multi-floor indoor map renderer + +%description -n libKOSMIndoorMap%{soversion} +OSM multi-floor indoor map renderer library. + +%package devel +Summary: Development package for kosmindoormap +Requires: libKOSM%{soversion} = %{version} +Requires: libKOSMIndoorMap%{soversion} = %{version} + +%description devel +This package contains development files for the KOSM and KOSMIndoorMap libraries. + +%lang_package + +%prep +%autosetup -p1 + +%build +%cmake_kf5 -d build -- -DBUILD_TESTING=ON + +%cmake_build + +%install +%kf5_makeinstall -C build + +%check +# Two tests fail on i586 (one minor floating point issue and a color one). +# Upstream is investigating +%ifnarch i586 +%ctest +%endif + +%if %{with lang} +%find_lang %{name} +%endif + +%post -n libKOSM%{soversion} -p /sbin/ldconfig +%postun -n libKOSM%{soversion} -p /sbin/ldconfig +%post -n libKOSMIndoorMap%{soversion} -p /sbin/ldconfig +%postun -n libKOSMIndoorMap%{soversion} -p /sbin/ldconfig + +%files +%license LICENSES/* +%doc README.md +%dir %{_kf5_qmldir}/org +%dir %{_kf5_qmldir}/org/kde +%{_kf5_debugdir}/org_kde_kosmindoormap.categories +%{_kf5_qmldir}/org/kde/kosmindoormap/ + +%files -n libKOSM%{soversion} +%{_kf5_libdir}/libKOSM.so.* + +%files -n libKOSMIndoorMap%{soversion} +%{_kf5_libdir}/libKOSMIndoorMap.so.* + +%files devel +%{_includedir}/KOSM/ +%{_includedir}/KOSMIndoorMap/ +%{_includedir}/kosm/ +%{_includedir}/kosmindoormap/ +%{_includedir}/kosmindoormap_version.h +%{_kf5_cmakedir}/KOSMIndoorMap/ +%{_kf5_libdir}/libKOSM.so +%{_kf5_libdir}/libKOSMIndoorMap.so + +%if %{with lang} +%files lang -f %{name}.lang +%endif + +%changelog