%global qt_version 4.8.5 Name: gammaray Version: 1.3.2 Release: 1%{?dist} Summary: A tool for examining internals of Qt applications License: GPLv2+ URL: http://www.kdab.com/kdab-products/gammaray/ # Available on https://github.com/KDAB/GammaRay/archive/v%{version}.tar.gz Source0: gammaray-%{version}.tar.gz Source1: http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-%{qt_version}.tar.gz BuildRequires: qt-devel BuildRequires: qt-devel-private BuildRequires: qtwebkit-devel BuildRequires: vtk-devel BuildRequires: glibc-devel BuildRequires: graphviz-devel BuildRequires: kdelibs4-devel BuildRequires: python-devel BuildRequires: hdf5-devel BuildRequires: libxml2-devel BuildRequires: chrpath BuildRequires: docbook-dtds BuildRequires: doxygen BuildRequires: graphviz %description A tool to poke around in a Qt-application and also to manipulate the application to some extent. It uses various DLL injection techniques to hook into an application at run-time and provide access to a lot of interesting information. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing plugins for %{name}. %package doc Summary: Developer documentation for %{name} BuildArch: noarch %description doc This package includes developer documentation in HTML format. %prep %setup -q -b 1 -n GammaRay-%{version} %build %cmake . -DQT_PRIVATE_INCLUDE_DIR=%{_builddir}/qt-everywhere-opensource-src-%{qt_version}/include/QtCore make %{?_smp_mflags} make docs %install %make_install # Install apidoc mkdir -p %{buildroot}/%{_docdir}/gammaray/html cp -r %{_builddir}/GammaRay-%{version}/apidocs/html/* %{buildroot}/%{_docdir}/gammaray/html/ # Copy ReadMe.txt and License.txt so that we can install it with doc subpkg cp %{_builddir}/GammaRay-%{version}/{License.txt,ReadMe.txt} %{buildroot}/%{_docdir}/gammaray/ # Force remove rpath from a plugin chrpath --delete %{buildroot}/%{_qt4_plugindir}/gammaray/gammaray_kjobtracker_plugin.so %files %{_bindir}/gammaray %{_qt4_libdir}/*.so %{_qt4_plugindir}/styles/*.so %{_qt4_plugindir}/gammaray %{_datadir}/applications/GammaRay.desktop %{_datadir}/icons/hicolor/*/apps/GammaRay.png %{_mandir}/man1/gammaray.1.gz %{_docdir}/gammaray/*.txt %files devel %{_includedir}/gammaray %files doc %{_docdir}/gammaray/*.txt %{_docdir}/gammaray/html/ %changelog * Thu Dec 05 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.2-1 - GammaRay 1.3.2 * Tue Aug 27 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.1-3 - fix duplicate documentation files (#1001275) * Tue Aug 27 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.1-2 - update Qt sources - fix build against VTK 6.0 * Mon Aug 05 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.1-1 - GammaRay 1.3.1 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.0-4 - add perl-podlators to BR as they've been split from perl pkg in rawhide * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Feb 05 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.0-2 - rename docs subpackage to doc - use %%global instead of %%define * Tue Jan 29 2013 Daniel Vrátil <dvratil@redhat.com> - 1.3.0-1 - first attempt