|
8 | 8 |
|
9 | 9 | # Force the python interpreter to python3:
|
10 | 10 | # brp-python-bytecompile is unable to identify
|
11 |
| -# the proper required version of python for |
| 11 | +# the proper required version of python for |
12 | 12 | # py files located under /usr/share/qgis/python/plugins
|
13 | 13 | %global __python %{__python3}
|
14 | 14 |
|
@@ -219,46 +219,11 @@ make %{?_smp_mflags}
|
219 | 219 | #export LD_LIBRARY_PATH=%{_builddir}%{name}-%{version}/output/%{_lib}
|
220 | 220 | make install DESTDIR=%{buildroot}
|
221 | 221 |
|
222 |
| -# Install desktop file without connecting proprietary file types |
223 |
| -desktop-file-install \ |
224 |
| - --vendor="fedora" \ |
225 |
| - --remove-mime-type="application/x-raster-ecw" \ |
226 |
| - --remove-mime-type="application/x-raster-mrsid" \ |
227 |
| - --dir=%{buildroot}%{_datadir}/applications \ |
228 |
| - debian/qgis.desktop |
229 |
| - |
230 | 222 | # Install MIME type definitions
|
231 | 223 | install -d %{buildroot}%{_datadir}/mime/packages
|
232 | 224 | install -pm0644 %{SOURCE5} \
|
233 | 225 | %{buildroot}%{_datadir}/mime/packages/%{name}.xml
|
234 | 226 |
|
235 |
| -# Install application and MIME icons |
236 |
| -for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128 192x192 256x256 512x512; do |
237 |
| - install -pd %{buildroot}%{_datadir}/icons/hicolor/$size/apps |
238 |
| - install -pm0644 debian/icons/%{name}-icon${size}.png %{buildroot}%{_datadir}/icons/hicolor/${size}/apps/%{name}.png |
239 |
| -done |
240 |
| - |
241 |
| -for ext in qgs qlr qml qpt; do |
242 |
| - for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128 192x192 256x256 512x512; do |
243 |
| - install -pd %{buildroot}%{_datadir}/icons/hicolor/$size/apps |
244 |
| - install -pm0644 debian/icons/%{name}-${ext}${size}.png %{buildroot}%{_datadir}/icons/hicolor/${size}/apps/%{name}-${ext}.png |
245 |
| - done |
246 |
| -done |
247 |
| - |
248 |
| -for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128 192x192 256x256 512x512; do |
249 |
| - install -pd %{buildroot}%{_datadir}/icons/hicolor/$size/mimetypes |
250 |
| - install -pm0644 debian/icons/qgis-mime-icon${size}.png %{buildroot}%{_datadir}/icons/hicolor/${size}/mimetypes/qgis-mime.png |
251 |
| -done |
252 |
| - |
253 |
| -install -pd %{buildroot}%{_datadir}/pixmaps |
254 |
| -install -pd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps |
255 |
| - |
256 |
| -install -pm0644 images/icons/%{name}-icon-512x512.png %{buildroot}%{_datadir}/pixmaps/%{name}.png |
257 |
| -install -pm0644 images/icons/%{name}_icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg |
258 |
| -install -pm0644 images/icons/%{name}_icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
259 |
| -install -pm0644 images/icons/%{name}-mime-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}-mime.png |
260 |
| -install -pm0644 images/icons/%{name}_mime_icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}-mime.png |
261 |
| - |
262 | 227 | # Install basic QGIS Mapserver configuration for Apache
|
263 | 228 | install -pd %{buildroot}%{_sysconfdir}/httpd/conf.d
|
264 | 229 | install -pm0644 %{SOURCE2} \
|
@@ -320,7 +285,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
320 | 285 | %dir %{_datadir}/%{name}/
|
321 | 286 | %{_datadir}/mime/packages/qgis.xml
|
322 | 287 | %{_datadir}/metainfo/org.qgis.qgis.appdata.xml
|
323 |
| -%{_datadir}/pixmaps/ |
324 | 288 | %{_datadir}/icons/hicolor/*/apps/*
|
325 | 289 | %{_datadir}/icons/hicolor/*/mimetypes/*
|
326 | 290 | %{_datadir}/applications/*%{name}.desktop
|
|
0 commit comments