]> git.pld-linux.org Git - packages/cgdb.git/blob - cgdb.spec
373caff8dd7b0712d9ec9aa0757a373c19a7c23e
[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 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 # pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../..
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         noinst_bindir=/progs
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
66
67 %postun
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README
73 %attr(755,root,root) %{_bindir}/*
74 %{_infodir}/*
This page took 0.063391 seconds and 2 git commands to generate.