From 865e96c150f44ca9384eb73e8e2bb0e7a612fcc440581186f9ee7242a6bbf2a1 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 9 Apr 2024 13:25:47 +0000 Subject: [PATCH 1/2] Accepting request 1164228 from home:j_pr:branches:Application:Geo Move locale files into -lang subpackage OBS-URL: https://build.opensuse.org/request/show/1164228 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=390 --- qgis.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qgis.spec b/qgis.spec index 8c754c7..6673d35 100644 --- a/qgis.spec +++ b/qgis.spec @@ -193,6 +193,8 @@ Development packages for QGIS, including the C header files. %description sample-data QGIS sample data with raster, vector, gps files and a GRASS location from the Alaska area. +%lang_package + %prep %autosetup -p1 -n qgis-%{version} # Remove bad env and python version in grass plugin @@ -263,6 +265,8 @@ mv qgis_sample_data %{sampledir} find %{sampledir} -depth \( -name .tmp -o -name .bash\* -o -name \*~ \) -exec rm -r {} + popd +%find_lang %{name} --with-qt %{?no_lang_C} + %fdupes -s %{buildroot} %post -p /sbin/ldconfig @@ -277,6 +281,7 @@ popd %{_libdir}/qt5/plugins/sqldrivers/libqsqlspatialite.so %{_mandir}/man1/* %{_datadir}/qgis +%exclude %{_datadir}/qgis/i18n/* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/qgis.png # Own directories for icon size not provided by hicolor-icon-theme @@ -326,4 +331,6 @@ popd %dir %{_datadir}/qgis %{_datadir}/qgis/%{sampledir} +%files lang -f %{name}.lang + %changelog From 29f1283a531095e1660fd3ca6c93ddfa9d4562d54554b23a4bdd7155dddf77ac Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 9 Apr 2024 16:27:23 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=391 --- qgis.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qgis.changes b/qgis.changes index 5b6bc13..5dcf14f 100644 --- a/qgis.changes +++ b/qgis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 9 16:27:02 UTC 2024 - Dirk Stoecker + +- Add separate translations package + ------------------------------------------------------------------- Tue Mar 12 18:48:11 UTC 2024 - Libor Pechacek