Compare commits

..

3 Commits

Author SHA1 Message Date
81e67d2ced Force server to be TRUE 2017-09-30 17:52:19 +02:00
5f79adb3dd Fix GRASS7 prefix 2017-09-30 17:46:28 +02:00
0a3b30fb8b Provide qextserialport sources 2017-09-30 15:36:54 +02:00

View File

@ -181,12 +181,14 @@ gzip ChangeLog
-D QGIS_CGIBIN_SUBDIR=%{_libexecdir}/%{name} \
-D WITH_BINDINGS:BOOL=TRUE \
-D WITH_GRASS7:BOOL=TRUE \
-D GRASS_PREFIX=%{_libdir}/grass \
-D GRASS_PREFIX7=%{_libdir}/grass \
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
-D ENABLE_TESTS:BOOL=FALSE \
-D WITH_INTERNAL_QEXTSERIALPORT:BOOL=FALSE \
-D QEXTSERIALPORT_INCLUDE_DIR:STRING=%{_includedir}/QtExtSerialPort \
-D WITH_QSPATIALITE:BOOL=TRUE \
-D WITH_SERVER:BOOL=TRUE \
.
make %{?_smp_mflags}
@ -199,9 +201,7 @@ make install DESTDIR=%{buildroot}
# Install desktop file without connecting proprietary file types
desktop-file-install \
%if (0%{?rhel} && 0%{?rhel} < 7)
--vendor="fedora" \
%endif
--remove-mime-type="application/x-raster-ecw" \
--remove-mime-type="application/x-raster-mrsid" \
--dir=%{buildroot}%{_datadir}/applications \