1 Summary: A lightweight, but fully functional curses frontend to gdb
2 Summary(pl.UTF-8): Lekki, ale w pełni funkcjonalny frontend do gdb oparty na ncurses
7 Group: Development/Debuggers
8 Source0: http://cgdb.me/files/%{name}-%{version}.tar.gz
9 # Source0-md5: 7bd38c79bf4d794d239928fef401fca3
10 Patch0: %{name}-home_etc.patch
11 Patch1: %{name}-info.patch
12 URL: http://cgdb.github.io/
13 BuildRequires: autoconf >= 2.5
14 BuildRequires: automake
15 BuildRequires: readline-devel >= 5.1
16 BuildRequires: texinfo
17 BuildRequires: help2man
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
29 %description -l pl.UTF-8
30 CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
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.
44 CPPFLAGS=' -I/usr/include/ncurses '
45 %{__aclocal} -I config
54 rm -rf $RPM_BUILD_ROOT
56 # pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../..
58 DESTDIR=$RPM_BUILD_ROOT \
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/postshell
65 -/usr/sbin/fix-info-dir -c %{_infodir}
67 %postun -p /sbin/postshell
68 -/usr/sbin/fix-info-dir -c %{_infodir}
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README
73 %attr(755,root,root) %{_bindir}/cgdb
74 %{_mandir}/man1/cgdb.1*
75 %{_infodir}/cgdb.info*
76 %dir %{_datadir}/%{name}
77 %{_datadir}/%{name}/cgdb.txt