Fix icon paths
This commit is contained in:
parent
f405346510
commit
8b0b8bf2dd
11
qgis.spec
11
qgis.spec
@ -222,21 +222,22 @@ install -pm0644 %{SOURCE5} \
|
||||
# Install application and MIME icons
|
||||
for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128 192x192 256x256 512x512; do
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/$size/apps
|
||||
install -pm0644 debian/%{name}-icon$size.png %{buildroot}%{_datadir}/icons/hicolor/$size/apps/qgis.png
|
||||
install -pm0644 debian/icons/%{name}-icon$size.png %{buildroot}%{_datadir}/icons/hicolor/$size/apps/qgis.png
|
||||
done
|
||||
|
||||
for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128; do
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/$size/mimetypes
|
||||
install -pm0644 debian/qgis-mime-icon$size.png %{buildroot}%{_datadir}/icons/hicolor/$size/mimetypes/qgis-mime.png
|
||||
install -pm0644 debian/icons/qgis-mime-icon$size.png %{buildroot}%{_datadir}/icons/hicolor/$size/mimetypes/qgis-mime.png
|
||||
done
|
||||
|
||||
install -pd %{buildroot}%{_datadir}/pixmaps
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
||||
|
||||
install -pm0644 images/icons/%{name}-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
install -pm0644 images/icons/%{name}-mime-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}-mime.png
|
||||
install -pm0644 images/icons/%{name}_icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
install -pm0644 images/icons/%{name}_icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
|
||||
install -pm0644 images/icons/%{name}_icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
install -pm0644 images/icons/%{name}-mime-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}-mime.png
|
||||
install -pm0644 images/icons/%{name}-mime-icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}-mime.png
|
||||
|
||||
# Install basic QGIS Mapserver configuration for Apache
|
||||
install -pd %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||
@ -248,7 +249,7 @@ rm -f %{buildroot}%{_libexecdir}/%{name}/wms_metadata.xml
|
||||
rm -f %{buildroot}%{_libexecdir}/%{name}/admin.sld
|
||||
|
||||
# Remove install instructions
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL*
|
||||
|
||||
%find_lang %{name} --with-qt
|
||||
|
||||
|
Reference in New Issue
Block a user