]>
Commit | Line | Data |
---|---|---|
eb0835d0 | 1 | Summary: A lightweight, but fully functional curses frontend to gdb |
4b4f4ff3 | 2 | Summary(pl.UTF-8): Lekki, ale w pełni funkcjonalny frontend do gdb oparty na ncurses |
eb0835d0 | 3 | Name: cgdb |
4f203173 | 4 | Version: 0.8.0 |
fd73d03a | 5 | Release: 1 |
630596f1 | 6 | License: GPL v2 |
eb0835d0 | 7 | Group: Development/Debuggers |
0da5ac42 | 8 | Source0: http://cgdb.me/files/%{name}-%{version}.tar.gz |
4f203173 | 9 | # Source0-md5: 180c1c7100bd9591b0d29e46896b5092 |
ae3f1ab9 | 10 | Patch0: %{name}-home_etc.patch |
0da5ac42 PS |
11 | Patch1: %{name}-info.patch |
12 | URL: http://cgdb.github.io/ | |
b3192dd4 | 13 | BuildRequires: autoconf >= 2.50 |
5610bf3a | 14 | BuildRequires: automake |
b3192dd4 JB |
15 | BuildRequires: libstdc++-devel |
16 | BuildRequires: ncurses-devel | |
4f1eaccd | 17 | BuildRequires: readline-devel >= 5.1 |
d5146b40 | 18 | BuildRequires: texinfo |
eb0835d0 JB |
19 | Requires: gdb |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | CGDB is a curses-based interface to the GNU Debugger (GDB). The goal | |
24 | of CGDB is to be lightweight and responsive; not encumbered with | |
25 | unnecessary features. The interface is designed to deliver the | |
26 | familiar GDB text interface, with a split screen showing the source as | |
27 | it executes. The UI is modeled on the classic Unix text editor, vi. | |
28 | Those familiar with vi should feel right at home using CGDB. | |
29 | ||
842407a2 | 30 | %description -l pl.UTF-8 |
eb0835d0 | 31 | CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB |
842407a2 JR |
32 | jest bycie lekkim i reaktywnym, nie obciążonym niepotrzebnymi |
33 | możliwościami. Interfejs został tak zaprojektowany, by dostarczyć | |
34 | znajomy interfejs tekstowy GDB z podzielonym ekranem pokazującym | |
35 | źródła wykonywanego kodu. Interfejs użytkownika jest modelowany na | |
36 | klasyczny uniksowy edytor tekstu - vi. Znający vi używając CGDB | |
37 | powinni czuć się jak w domu. | |
eb0835d0 JB |
38 | |
39 | %prep | |
40 | %setup -q | |
ae3f1ab9 | 41 | %patch0 -p1 |
2f15400f | 42 | %patch1 -p1 |
4f1eaccd | 43 | |
eb0835d0 | 44 | %build |
2f15400f | 45 | %{__aclocal} -I config |
46 | %{__autoconf} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
8115280e | 49 | %configure |
fd73d03a | 50 | |
eb0835d0 JB |
51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | # pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../.. | |
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT \ | |
59 | noinst_bindir=/progs | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
630596f1 | 64 | %post -p /sbin/postshell |
a9c1b0f0 | 65 | -/usr/sbin/fix-info-dir -c %{_infodir} |
4f1eaccd | 66 | |
630596f1 | 67 | %postun -p /sbin/postshell |
a9c1b0f0 | 68 | -/usr/sbin/fix-info-dir -c %{_infodir} |
4f1eaccd | 69 | |
eb0835d0 JB |
70 | %files |
71 | %defattr(644,root,root,755) | |
fd73d03a | 72 | %doc AUTHORS NEWS |
630596f1 | 73 | %attr(755,root,root) %{_bindir}/cgdb |
630596f1 | 74 | %{_infodir}/cgdb.info* |
d2c9bca5 JK |
75 | %dir %{_datadir}/%{name} |
76 | %{_datadir}/%{name}/cgdb.txt |