diff --git a/gammaray.spec b/gammaray.spec index 9aa44dc..ccca708 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -42,7 +42,9 @@ BuildRequires: vtk-devel BuildRequires: vtk-java BuildRequires: vtk-qt BuildRequires: vtk-tcl +%if 0%{?suse_version} >= 1320 BuildRequires: pkgconfig(Qt5Bluetooth) >= 5.1.0 +%endif BuildRequires: pkgconfig(Qt5Concurrent) >= 5.1.0 BuildRequires: pkgconfig(Qt5Core) >= 5.1.0 BuildRequires: pkgconfig(Qt5Designer) >= 5.1.0 @@ -95,6 +97,7 @@ LIBSUFFIX="" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \ $LIBSUFFIX make VERBOSE=1 %{?_smp_mflags} @@ -123,6 +126,7 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir} %{_docdir}/%{name}/ %{_libdir}/gammaray/ %{_libdir}/libgammaray_*-qt5*.so.* +%{_libdir}/libgammaray_client.so.* %{_mandir}/man1/gammaray.* %if 0%{?suse_version} <= 1320 %dir %{_datadir}/appdata @@ -132,7 +136,9 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir} %files devel %defattr(-,root,root) %{_libdir}/libgammaray_*-qt5*.so +%{_libdir}/libgammaray_client.so %{_libdir}/cmake/GammaRay/ %{_includedir}/%{name} +%{_libdir}/qt5/mkspecs/modules/qt_GammaRay*.pri %changelog