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: 7bdb1b418db4bcdb16ba004aebd8f3d7
10 Patch0: %{name}-home_etc.patch
11 Patch1: %{name}-info.patch
12 URL: http://cgdb.github.io/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel
16 BuildRequires: ncurses-devel
17 BuildRequires: readline-devel >= 5.1
18 BuildRequires: texinfo
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
30 %description -l pl.UTF-8
31 CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
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.
45 #CPPFLAGS='%{rpmcppflags} -I/usr/include/ncurses '
46 %{__aclocal} -I config
55 rm -rf $RPM_BUILD_ROOT
57 # pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../..
59 DESTDIR=$RPM_BUILD_ROOT \
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/postshell
66 -/usr/sbin/fix-info-dir -c %{_infodir}
68 %postun -p /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
72 %defattr(644,root,root,755)
73 %doc AUTHORS NEWS README
74 %attr(755,root,root) %{_bindir}/cgdb
75 %{_infodir}/cgdb.info*
76 %dir %{_datadir}/%{name}
77 %{_datadir}/%{name}/cgdb.txt