Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
gammaray-qt4
gammaray-qt4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gammaray-qt4.spec of Package gammaray-qt4
# # spec file for package gammaray-qt4 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: gammaray-qt4 Version: 2.10.0 Release: 0 Summary: An introspection tool for Qt applications License: GPL-2.0-or-later Group: Development/Tools Source: gammaray-%{version}.tar.gz Url: https://github.com/KDAB/GammaRay BuildRoot: %{_tmppath}/%{name}-%{version}-build # this package only contains the Qt4 probe, pull in the client from the Qt5 version Requires: gammaray = %{version} BuildRequires: cmake %if %{defined suse_version} BuildRequires: libQtWebKit-devel BuildRequires: libkde4-devel BuildRequires: libqt4-devel %endif %if %{defined fedora} BuildRequires: kdelibs-devel BuildRequires: qt-devel BuildRequires: qtwebkit-devel BuildRequires: udisks2 %if 0%{?fedora} >= 22 BuildRequires: qca %endif %endif %description GammaRay is a tool for examining the internals of a Qt application and to some extent also manipulate it. GammaRay uses injection methods to hook into an application at runtime and provide access to a wide variety of interesting information. It provides easy ways of navigating through the complex internal structures you find in some Qt frameworks, such as QGraphicsView, model/view, QTextDocument, state machines and more. This package only contains the Qt4 probe; pull in the client from gammaray-qt5 package. Authors: -------- The GammaRay Team <gammaray-interest@kdab.com> %define debug_package %{nil} %global __debug_install_post %{nil} %package kde4-plugins Summary: GammaRay plug-ins to introspect KDE4 applications Group: Development/Tools Requires: %{name} = %{version} %description kde4-plugins Plug-ins for the GammaRay introspection tool to debug KDE4 applications, such as a KJob tracker. %prep %setup -q -n gammaray-%{version} # fix compilation with gcc11 sed -i "/#include <QMetaProperty>/a // Std\n#include <limits>" core/bindingnode.cpp sed -i "/#include <QMetaProperty>/a // Std\n#include <limits>" core/tools/objectinspector/bindingmodel.cpp %build %if %{defined fedora} %cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGAMMARAY_PROBE_ONLY_BUILD=ON %else %if "%{_lib}"=="lib64" cmake . -DLIB_SUFFIX=64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGAMMARAY_PROBE_ONLY_BUILD=ON %else cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGAMMARAY_PROBE_ONLY_BUILD=ON %endif %endif %__make %{?_smp_mflags} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %install %make_install %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/libgammaray_common-*.so.* %{_libdir}/libgammaray_core-*.so.* %{_libdir}/libgammaray_ui-*.so.* %{_libdir}/libgammaray_kitemmodels* %dir %{_libdir}/gammaray/ %dir %{_libdir}/gammaray/*/ %dir %{_libdir}/gammaray/*/*/ %{_libdir}/gammaray/*/*/libgammaray_widget_export_actions.so %{_libdir}/gammaray/*/*/gammaray_probe.so %{_libdir}/gammaray/*/*/gammaray_inprocessui.so %{_libdir}/gammaray/*/*/gammaray_actioninspector* %{_libdir}/gammaray/*/*/gammaray_codecbrowser* %{_libdir}/gammaray/*/*/gammaray_fontbrowser* %{_libdir}/gammaray/*/*/gammaray_guisupport* %{_libdir}/gammaray/*/*/gammaray_localeinspector* %{_libdir}/gammaray/*/*/gammaray_modelinspector* %{_libdir}/gammaray/*/*/gammaray_sceneinspector* %{_libdir}/gammaray/*/*/gammaray_scriptenginedebugger* %{_libdir}/gammaray/*/*/gammaray_signalmonitor* %{_libdir}/gammaray/*/*/gammaray_statemachineviewer* %{_libdir}/gammaray/*/*/gammaray_styleinspector* %{_libdir}/gammaray/*/*/gammaray_textdocumentinspector* %{_libdir}/gammaray/*/*/gammaray_timertop* %{_libdir}/gammaray/*/*/gammaray_widgetinspector* %exclude %{_libdir}/*.so %exclude %{_prefix}/share/icons/hicolor/* %files kde4-plugins %defattr(-,root,root) %{_libdir}/gammaray/*/*/gammaray_kjobtracker* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor