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