[gammaray/f17] GammaRay 1.3.0

Daniel Vrátil dvratil at fedoraproject.org
Sun Feb 10 22:17:37 UTC 2013


commit 1da0c87ee27b3792187d909652ca91d16798d426
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Sun Feb 10 23:17:03 2013 +0100

    GammaRay 1.3.0

 .gitignore    |    2 +
 gammaray.spec |   88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    2 +
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..df09ed3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/gammaray-1.3.0.tar.gz
+/qt-everywhere-opensource-src-4.8.4.tar.gz
diff --git a/gammaray.spec b/gammaray.spec
new file mode 100644
index 0000000..ae1671f
--- /dev/null
+++ b/gammaray.spec
@@ -0,0 +1,88 @@
+%global qt_version 4.8.4
+
+Name:           gammaray
+Version:        1.3.0
+Release:        2%{?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:  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/
+
+# Force remove rpath from a plugin
+chrpath --delete %{buildroot}/%{_qt4_plugindir}/gammaray/gammaray_kjobtracker_plugin.so
+
+%files
+%doc License.txt ReadMe.txt
+%{_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/html/
+
+%changelog
+* Thu Feb 05 2013 Dan Vrátil <dvratil at redhat.com> 1.3.0-2
+ - rename docs subpackage to doc
+ - use %%global instead of %%define
+* Tue Jan 29 2013 Dan Vrátil <dvratil at redhat.com> 1.3.0-1
+ - first attempt
diff --git a/sources b/sources
index e69de29..dfdc7b7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+3a73f76b39a9aed6b5661a01d026a431  gammaray-1.3.0.tar.gz
+89c5ecba180cae74c66260ac732dc5cb  qt-everywhere-opensource-src-4.8.4.tar.gz


More information about the scm-commits mailing list