SHA256
1
0
forked from pool/qgis

Accepting request 1166489 from Application:Geo

- Add separate translations package

OBS-URL: https://build.opensuse.org/request/show/1166489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qgis?expand=0&rev=52
This commit is contained in:
Ana Guerrero 2024-04-10 15:49:07 +00:00 committed by Git OBS Bridge
commit 18ba147355
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 9 16:27:02 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- Add separate translations package
-------------------------------------------------------------------
Tue Mar 12 18:48:11 UTC 2024 - Libor Pechacek <lpechacek@gmx.com>

View File

@ -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