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
This commit is contained in:
parent
19d1fd4f2c
commit
865e96c150
@ -193,6 +193,8 @@ Development packages for QGIS, including the C header files.
|
|||||||
%description sample-data
|
%description sample-data
|
||||||
QGIS sample data with raster, vector, gps files and a GRASS location from the Alaska area.
|
QGIS sample data with raster, vector, gps files and a GRASS location from the Alaska area.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n qgis-%{version}
|
%autosetup -p1 -n qgis-%{version}
|
||||||
# Remove bad env and python version in grass plugin
|
# 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 {} +
|
find %{sampledir} -depth \( -name .tmp -o -name .bash\* -o -name \*~ \) -exec rm -r {} +
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%find_lang %{name} --with-qt %{?no_lang_C}
|
||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
@ -277,6 +281,7 @@ popd
|
|||||||
%{_libdir}/qt5/plugins/sqldrivers/libqsqlspatialite.so
|
%{_libdir}/qt5/plugins/sqldrivers/libqsqlspatialite.so
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/qgis
|
%{_datadir}/qgis
|
||||||
|
%exclude %{_datadir}/qgis/i18n/*
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/pixmaps/qgis.png
|
%{_datadir}/pixmaps/qgis.png
|
||||||
# Own directories for icon size not provided by hicolor-icon-theme
|
# Own directories for icon size not provided by hicolor-icon-theme
|
||||||
@ -326,4 +331,6 @@ popd
|
|||||||
%dir %{_datadir}/qgis
|
%dir %{_datadir}/qgis
|
||||||
%{_datadir}/qgis/%{sampledir}
|
%{_datadir}/qgis/%{sampledir}
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user