Christophe Giboudeaux 2018-11-14 10:45:36 +00:00 committed by Git OBS Bridge
parent ce932df13b
commit 9e9c85cb4f
2 changed files with 29 additions and 30 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 14 10:37:36 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>
- Remove unneeded build dependencies.
-------------------------------------------------------------------
Fri Oct 5 08:01:34 UTC 2018 - fabian@ritter-vogt.de

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -23,7 +23,7 @@ Release: 0
Summary: Introspection/Debugging Tool for Qt Applications
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
Url: http://www.kdab.com/gammaray
URL: http://www.kdab.com/gammaray
Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Fix_icons_installation.patch -- Don't try to install multiple copies in exotic subdirs
Patch0: Fix_icons_installation.patch
@ -31,14 +31,10 @@ Patch0: Fix_icons_installation.patch
Patch1: fix-build-qt-5.12.patch
Patch2: fix-build-qt-5.12-again.patch
BuildRequires: binutils-devel
BuildRequires: cmake >= 2.8.11
BuildRequires: fdupes
BuildRequires: kcoreaddons-devel
BuildRequires: cmake >= 3.0
# include this so the icon folders don't need to be owned by the package
BuildRequires: doxygen
%if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200
BuildRequires: glslang-devel
%endif
BuildRequires: fdupes
BuildRequires: graphviz-devel
BuildRequires: graphviz-gnome
BuildRequires: hicolor-icon-theme
@ -46,27 +42,16 @@ BuildRequires: kdstatemachineeditor-devel
BuildRequires: libQt5Core-private-headers-devel >= 5.3.0
BuildRequires: libQt5Gui-private-headers-devel >= 5.3.0
BuildRequires: libQt5Network-private-headers-devel >= 5.3.0
BuildRequires: libdw-devel
BuildRequires: libqt5-qt3d-devel >= 5.3.0
BuildRequires: libqt5-qtbase-doc >= 5.3.0
BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0
BuildRequires: libqt5-qtdoc >= 5.3.0
%if 0%{?suse_version} > 1320
BuildRequires: libqt5-qtscxml-private-headers-devel >= 5.8.0
%endif
BuildRequires: libqt5-qttools >= 5.3.0
BuildRequires: libqt5-qtwayland-devel >= 5.3.0
BuildRequires: libxml2-devel
BuildRequires: python-devel
BuildRequires: update-desktop-files
BuildRequires: vtk-devel
BuildRequires: vtk-java
BuildRequires: vtk-qt
BuildRequires: vtk-tcl
BuildRequires: wayland-devel
%if 0%{?suse_version} > 1320
BuildRequires: cmake(KF5SyntaxHighlighting) >= 5.28.0
%endif
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(Qt5Bluetooth) >= 5.3.0
BuildRequires: cmake(Qt5Concurrent) >= 5.3.0
BuildRequires: cmake(Qt5Core) >= 5.3.0
@ -79,17 +64,26 @@ BuildRequires: cmake(Qt5Qml) >= 5.3.0
BuildRequires: cmake(Qt5Quick) >= 5.3.0
BuildRequires: cmake(Qt5Script) >= 5.3.0
BuildRequires: cmake(Qt5ScriptTools) >= 5.3.0
BuildRequires: cmake(Qt5Svg) >= 5.3.0
BuildRequires: cmake(Qt5Test) >= 5.3.0
BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0
BuildRequires: cmake(Qt5Widgets) >= 5.3.0
%if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200
BuildRequires: glslang-devel
%endif
%if 0%{?suse_version} > 1320
BuildRequires: libqt5-qtscxml-private-headers-devel >= 5.8.0
%endif
%if 0%{?suse_version} > 1320
BuildRequires: cmake(KF5SyntaxHighlighting) >= 5.28.0
%endif
%if 0%{?suse_version} > 1320
BuildRequires: cmake(Qt5Scxml) >= 5.8.0
%endif
BuildRequires: cmake(Qt5Svg) >= 5.3.0
BuildRequires: cmake(Qt5Test) >= 5.3.0
BuildRequires: cmake(Qt5WebKitWidgets) >= 5.3.0
BuildRequires: cmake(Qt5Widgets) >= 5.3.0
%description
Gamma Ray is a comprehensive collection of high level introspection
and debugging utilities specifically tailored for the various
Gamma Ray is a comprehensive collection of high level introspection
and debugging utilities specifically tailored for the various
frameworks in Qt.
%package devel
@ -98,12 +92,12 @@ Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
Gamma Ray is a comprehensive collection of high level introspection
and debugging utilities specifically tailored for the various
Gamma Ray is a comprehensive collection of high level introspection
and debugging utilities specifically tailored for the various
frameworks in Qt. Development files.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%autopatch -p1
%build
@ -123,7 +117,7 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
make VERBOSE=1 %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%make_install
install -d -m 755 %{buildroot}%{_docdir}/%{name}
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}