File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 1212%define builddate %(date '+%a %b %d %Y')
1313%endif
1414
15- # Qt53D support
16- # Fedora 26 provides Qt 5.7 which is not supported at the moment.
17- # This check may be removed when https://bodhi.fedoraproject.org/updates/FEDORA-2017-c133443edc
18- # is pushed to stable
19- %if 0%{?fedora} > 26
20- %global configure_with_3d -D WITH_3D:BOOL=TRUE
21- %global build_with_3d 1
22- %else
23- %global configure_with_3d -D WITH_3D:BOOL=FALSE
24- %global build_with_3d 0
25- %endif
26-
2715Name: qgis
2816Version: %{_version}
2917Release: %{_relver}%{?dist}
@@ -103,9 +91,7 @@ BuildRequires: qt5-qtwebkit-devel
10391BuildRequires: qt5-qtxmlpatterns-devel
10492BuildRequires: qtkeychain-qt5-devel
10593BuildRequires: qextserialport-devel
106- %if 0%{?build_with_3d}
10794BuildRequires: qt5-qt3d-devel
108- %endif
10995
11096# Qwt stuff
11197BuildRequires: qwt-devel
@@ -223,7 +209,7 @@ gzip ChangeLog
223209 -D ENABLE_TESTS:BOOL=FALSE \
224210 -D WITH_QSPATIALITE:BOOL=TRUE \
225211 -D WITH_SERVER:BOOL=TRUE \
226- %{configure_with_3d} \
212+ -D WITH_3D:BOOL=TRUE \
227213 .
228214
229215 # Using external QEXTSERIALPORT causes segfaults
@@ -331,9 +317,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
331317%{_libdir}/lib%{name}_analysis.so.*
332318%{_libdir}/lib%{name}_core.so.*
333319%{_libdir}/lib%{name}_gui.so.*
334- %if 0%{?build_with_3d}
335320%{_libdir}/lib%{name}_3d.so.*
336- %endif
337321%{_libdir}/%{name}/
338322%{_qt5_prefix}/plugins/sqldrivers/libqsqlspatialite.so
339323%{_bindir}/%{name}
You can’t perform that action at this time.
0 commit comments