[packages/ka6-kosmindoormap] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:26:14 CET 2024


commit ad383904e14f21deb42a2d39ecb8f878a2ac0b65
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:26:05 2024 +0100

    - updated to 24.02.0

 ka6-kosmindoormap.spec | 144 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 144 insertions(+)
---
diff --git a/ka6-kosmindoormap.spec b/ka6-kosmindoormap.spec
new file mode 100644
index 0000000..2ba5433
--- /dev/null
+++ b/ka6-kosmindoormap.spec
@@ -0,0 +1,144 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.02.0
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		kosmindoormap
+Summary:	A library for rendering multi-level OSM indoor maps
+Name:		ka6-%{kaname}
+Version:	24.02.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	ce8e1e7e50b929557b8f2ab098cd9cea
+URL:		https://community.kde.org/
+BuildRequires:	Qt6Gui-devel
+BuildRequires:	Qt6Network-devel >= 5.15.2
+BuildRequires:	Qt6Qml-devel >= 5.15.2
+BuildRequires:	Qt6Quick-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	bison
+BuildRequires:	flex
+BuildRequires:	gettext-devel
+BuildRequires:	ka6-kopeninghours-devel >= %{kdeappsver}
+BuildRequires:	ka6-kpublictransport-devel >= %{kdeappsver}
+BuildRequires:	kf6-extra-cmake-modules >= 5.89
+BuildRequires:	kf6-ki18n-devel
+BuildRequires:	ninja
+BuildRequires:	protobuf-devel
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRequires:	shared-mime-info
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library and QML component for rendering multi-level OSM indoor maps
+of for example a (large) train station.
+
+## Features
+
+User facing:
+- Floor-level separation of OSM data and inter-floor navigation using
+  stairs, escalators or elevators.
+- Information model for showing details about a selected amenity.
+- Support for identifying railway platforms or airport gates in the
+  map data.
+- Integration with KPublicTransport line meta-data to show line icons
+  for railway platforms.
+- Integration with KPublicTransport rental vehicle data to show
+  availability of rental bikes.
+- Integration with KPublicTransport realtime equipment
+  (elevators/escalators/etc) status information.
+
+Technical:
+- QPainter and QML integration interface.
+- Declarative styling using MapCSS.
+- Picking support for implementing interaction with map elements.
+- Support for externally provided overlay elements.
+- Based on OSM raw data tiles from maps.kde.org.
+- Pre-loading and caching API for offline support in applications.
+
+%package devel
+Summary:	Header files for %{kaname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kaname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKOSM.so.1
+%attr(755,root,root) %{_libdir}/libKOSM.so.*.*
+%ghost %{_libdir}/libKOSMIndoorMap.so.1
+%attr(755,root,root) %{_libdir}/libKOSMIndoorMap.so.*.*
+%dir %{_libdir}/qt6/qml/org/kde/kosmindoormap
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/IndoorMap.qml
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/IndoorMapAttributionLabel.qml
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/IndoorMapScale.qml
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/kde-qmlmodule.version
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/kosmindoormapquickplugin.qmltypes
+%dir %{_libdir}/qt6/qml/org/kde/kosmindoormap/kpublictransport
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/kpublictransport/kde-qmlmodule.version
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/kpublictransport/kosmindoormap_kpublictransport_integration_plugin.qmltypes
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/kosmindoormap/kpublictransport/libkosmindoormap_kpublictransport_integration_plugin.so
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/kpublictransport/qmldir
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/kosmindoormap/libkosmindoormapquickplugin.so
+%{_libdir}/qt6/qml/org/kde/kosmindoormap/qmldir
+%dir %{_libdir}/qt6/qml/org/kde/osm
+%dir %{_libdir}/qt6/qml/org/kde/osm/editorcontroller
+%{_libdir}/qt6/qml/org/kde/osm/editorcontroller/kde-qmlmodule.version
+%{_libdir}/qt6/qml/org/kde/osm/editorcontroller/kosmeditorcontrollerplugin.qmltypes
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/osm/editorcontroller/libkosmeditorcontrollerplugin.so
+%{_libdir}/qt6/qml/org/kde/osm/editorcontroller/qmldir
+%{_datadir}/qlogging-categories6/org_kde_kosmindoormap.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KOSM
+%{_includedir}/KOSMIndoorMap
+%{_includedir}/kosm
+%{_includedir}/kosmindoormap
+%{_includedir}/kosmindoormap_version.h
+%{_libdir}/cmake/KOSMIndoorMap
+%{_libdir}/libKOSM.so
+%{_libdir}/libKOSMIndoorMap.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kosmindoormap.git/commitdiff/ad383904e14f21deb42a2d39ecb8f878a2ac0b65



More information about the pld-cvs-commit mailing list