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