]> git.pld-linux.org Git - packages/cgdb.git/blob - cgdb.spec
- up to 0.6.0 (tab completion works now)
[packages/cgdb.git] / cgdb.spec
1 Summary:        A lightweight, but fully functional curses frontend to gdb
2 Summary(pl):    Lekki, ale w pe³ni funkcjonalny frontend do gdb oparty na ncurses
3 Name:           cgdb
4 Version:        0.6.0
5 Release:        1
6 License:        GPL
7 Group:          Development/Debuggers
8 Source0:        http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
9 # Source0-md5:  61a5c5b6b76de70efd0bf2335b470f99
10 Patch0:         %{name}-home_etc.patch
11 Patch1:         %{name}-missing_includes.patch
12 URL:            http://cgdb.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  readline-devel >= 5.1
16 Requires:       gdb
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 CGDB is a curses-based interface to the GNU Debugger (GDB). The goal
21 of CGDB is to be lightweight and responsive; not encumbered with
22 unnecessary features. The interface is designed to deliver the
23 familiar GDB text interface, with a split screen showing the source as
24 it executes. The UI is modeled on the classic Unix text editor, vi.
25 Those familiar with vi should feel right at home using CGDB.
26
27 %description -l pl
28 CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
29 jest bycie lekkim i reaktywnym, nie obci±¿onym niepotrzebnymi
30 mo¿liwo¶ciami. Interfejs zosta³ tak zaprojektowany, by dostarczyæ
31 znajomy interfejs tekstowy GDB z podzielonym ekranem pokazuj±cym
32 ¼ród³a wykonywanego kodu. Interfejs u¿ytkownika jest modelowany na
33 klasyczny uniksowy edytor tekstu - vi. Znaj±cy vi u¿ywaj±c CGDB
34 powinni czuæ siê jak w domu.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 find . -type f -name Makefile.am -exec %{__sed} -i 's@AM_CFLAGS = -g @AM_CFLAGS = @' '{}' ';'
42
43 %build
44 CPPFLAGS=' -I/usr/include/ncurses '
45 %{__aclocal} -I config
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49
50 %configure 
51
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
65 %post
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
67
68 %postun
69 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_bindir}/*
75 %{_infodir}/*
This page took 0.047381 seconds and 3 git commands to generate.