This commit is contained in:
parent
6a01939a36
commit
37649dfac9
@ -42,7 +42,9 @@ BuildRequires: vtk-devel
|
|||||||
BuildRequires: vtk-java
|
BuildRequires: vtk-java
|
||||||
BuildRequires: vtk-qt
|
BuildRequires: vtk-qt
|
||||||
BuildRequires: vtk-tcl
|
BuildRequires: vtk-tcl
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
BuildRequires: pkgconfig(Qt5Bluetooth) >= 5.1.0
|
BuildRequires: pkgconfig(Qt5Bluetooth) >= 5.1.0
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.1.0
|
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.1.0
|
||||||
BuildRequires: pkgconfig(Qt5Core) >= 5.1.0
|
BuildRequires: pkgconfig(Qt5Core) >= 5.1.0
|
||||||
BuildRequires: pkgconfig(Qt5Designer) >= 5.1.0
|
BuildRequires: pkgconfig(Qt5Designer) >= 5.1.0
|
||||||
@ -95,6 +97,7 @@ LIBSUFFIX=""
|
|||||||
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-DCMAKE_SKIP_INSTALL_RPATH=ON \
|
-DCMAKE_SKIP_INSTALL_RPATH=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
|
||||||
$LIBSUFFIX
|
$LIBSUFFIX
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
@ -123,6 +126,7 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
|||||||
%{_docdir}/%{name}/
|
%{_docdir}/%{name}/
|
||||||
%{_libdir}/gammaray/
|
%{_libdir}/gammaray/
|
||||||
%{_libdir}/libgammaray_*-qt5*.so.*
|
%{_libdir}/libgammaray_*-qt5*.so.*
|
||||||
|
%{_libdir}/libgammaray_client.so.*
|
||||||
%{_mandir}/man1/gammaray.*
|
%{_mandir}/man1/gammaray.*
|
||||||
%if 0%{?suse_version} <= 1320
|
%if 0%{?suse_version} <= 1320
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
@ -132,7 +136,9 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libgammaray_*-qt5*.so
|
%{_libdir}/libgammaray_*-qt5*.so
|
||||||
|
%{_libdir}/libgammaray_client.so
|
||||||
%{_libdir}/cmake/GammaRay/
|
%{_libdir}/cmake/GammaRay/
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/qt5/mkspecs/modules/qt_GammaRay*.pri
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user