]> git.pld-linux.org Git - packages/heap-shot.git/blame - heap-shot.spec
- updated to current git master (version is 0.2) to build with mono 4
[packages/heap-shot.git] / heap-shot.spec
CommitLineData
c9b64b7d
PS
1#
2%include /usr/lib/rpm/macros.mono
3#
4Summary: A profiler to explore live objects in the heap
3540f20a 5Summary(pl.UTF-8): Profiler do podglądania żywych obiektów na stercie
c9b64b7d 6Name: heap-shot
a280a350
JB
7Version: 0.2
8%define snap 20151022
9%define gitref 84033f7b9c19972b761ad0203c391b70fcf9c1a7
10%define rel 1
11Release: 0.%{gitref}.%{rel}
c9b64b7d
PS
12License: GPL v3
13Group: Development/Tools
a280a350
JB
14Source0: https://github.com/mono/heap-shot/archive/%{gitref}/%{name}-%{snap}.tar.gz
15# Source0-md5: 57a49b9f83d3d5cb079b5d710398719e
16Patch0: %{name}-wrapper.patch
c9b64b7d
PS
17URL: http://www.mono-project.com/HeapShot
18BuildRequires: autoconf
19BuildRequires: automake
3540f20a 20BuildRequires: dotnet-gtk-sharp2-devel >= 2
ab90a0e0 21BuildRequires: mono-csharp >= 2.8
c9b64b7d
PS
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Heap Shot is a profiler to explore memory allocation patterns in an
26application is it part of the Mono profiling tools. Heap Shot works by
27taking snapshots of the Mono managed heap from running Mono
28applications and displaying the results. Additionally, Heap Shot can
29compare the differences in live objects between a number of snapshots,
30this is very helpful to understand which objects are alive and which
3540f20a 31objects have been allocated. Heap Shot can either explore one snapshot
c9b64b7d
PS
32of memory at a point, or it can be used to compare the objects between
33two separate points in time.
34
3540f20a
JB
35%description -l pl.UTF-8
36Heap Shot to profiler do obserwacji wzorców przydzielania pamięci w
37aplikacji. Jest częścią narzędzi profilujących Mono. Działa poprzez
38wykonywanie migawek sterty zarządzanej przez Mono z działających
39aplikacji Mono oraz wyświetlanie wyników. Dodatkowo Heap Shot potrafi
40porównywać różnice w żywych obiektach między wieloma migawkami, co
41jest bardzo pomocne dla zrozumienia, które obiekty zostały powołane do
42życia, a które przydzielone. Heap Shot pozwala przeglądać pojedynczą
43migawkę pamięci z jakiejś chwili, albo porównywać obiekty między
44dwiema różnymi chwilami.
45
c9b64b7d 46%prep
a280a350 47%setup -q -n %{name}-%{gitref}
c9b64b7d 48%patch0 -p1
c9b64b7d
PS
49
50%build
7077d5bc
MB
51%{__aclocal}
52%{__autoconf}
53%{__automake}
a280a350 54%configure
c9b64b7d
PS
55
56%{__make} -j1
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} -j1 install \
62 DESTDIR=$RPM_BUILD_ROOT
63
c9b64b7d
PS
64%clean
65rm -rf $RPM_BUILD_ROOT
66
c9b64b7d
PS
67%files
68%defattr(644,root,root,755)
a280a350 69%doc AUTHORS ChangeLog README
c9b64b7d 70%attr(755,root,root) %{_bindir}/heap-shot-gui
c9b64b7d 71%{_prefix}/lib/%{name}
This page took 0.086943 seconds and 4 git commands to generate.