forked from KDAB/GammaRay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgammaray.spec
More file actions
87 lines (76 loc) · 2.64 KB
/
gammaray.spec
File metadata and controls
87 lines (76 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Name: gammaray
Version: 1.3.0
Release: 0
Summary: A tool to poke around in a Qt-application
Source: %{name}-%{version}.tar.gz
Url: git@github.com:KDAB/GammaRay.git
Group: Development/Tools/Debuggers
License: GPL v2, or any later version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{defined suse_version}
BuildRequires: libqt4-devel libQtWebKit-devel cmake graphviz-devel update-desktop-files
Requires: graphviz
%endif
%if %{defined fedora}
BuildRequires: gcc-c++ libqt4-devel qtwebkit-devel cmake desktop-file-utils graphviz-devel
Requires: graphviz
%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.
Authors:
--------
The GammaRay Team <gammaray-interest@kdab.com>
%prep
%setup -q
%build
%if %{defined fedora}
%cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%else
%if "%{_lib}"=="lib64"
cmake . -DLIB_SUFFIX=64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%else
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%endif
%endif
%__make %{?_smp_mflags}
%install
%make_install
%if %{defined suse_version}
%suse_update_desktop_file GammaRay Development Qt Debugger
%endif
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/share/applications/GammaRay.desktop
%{_prefix}/share/icons/hicolor
%{_prefix}/share/doc/gammaray
%{_mandir}/man1/gammaray.1.gz
%{_libdir}/gammaray_probe.so
%{_libdir}/libgammaray_widget_export_actions.so
%{_bindir}/gammaray
%{_libdir}/qt4/plugins/gammaray
%{_libdir}/qt4/plugins/styles
%{_libdir}/qt4/plugins/styles/gammaray_injector_style.so
%{_prefix}/include/gammaray
%changelog
* Sun Jan 27 2013 Allen Winter <allen.winter@kdab.com> 1.3.0
Update to lastest release
* Tue Jun 27 2012 Allen Winter <allen.winter@kdab.com> 1.1.98
- Rename version to use all integers
* Tue Jun 26 2012 Allen Winter <allen.winter@kdab.com> 1.2beta
- Update to beta release
* Wed Jun 20 2012 Allen Winter <allen.winter@kdab.com> 1.2prebeta
- Update to prebeta release
* Tue Jan 10 2012 Kevin Ottens <kevin.ottens@kdab.com> 1.1.0
- Update to latest release
* Sun Jan 8 2012 Kevin Ottens <kevin.ottens@kdab.com> 1.0.98.20120108
- Grabbing a new snapshot
* Wed Dec 21 2011 Kevin Ottens <kevin.ottens@kdab.com> 1.0.1
- First packaging