forked from pool/kosmindoormap
20.12 beta
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kosmindoormap?expand=0&rev=1
This commit is contained in:
commit
bd6ed1bf6e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
BIN
applications.keyring
Normal file
BIN
applications.keyring
Normal file
Binary file not shown.
3
kosmindoormap-20.11.80.tar.xz
Normal file
3
kosmindoormap-20.11.80.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:82e44e78a8ea37c1c572c112ab19f5e6125ca578ed4362ab74194f00ac158cd1
|
||||
size 310328
|
16
kosmindoormap-20.11.80.tar.xz.sig
Normal file
16
kosmindoormap-20.11.80.tar.xz.sig
Normal file
@ -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-----
|
4
kosmindoormap.changes
Normal file
4
kosmindoormap.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 14 13:58:34 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Initial package
|
129
kosmindoormap.spec
Normal file
129
kosmindoormap.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user