]> git.pld-linux.org Git - packages/cgdb.git/blob - cgdb.spec
- added home_etc.patch
[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.4.0
5 Release:        2
6 License:        GPL
7 Group:          Development/Debuggers
8 Source0:        http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
9 # Source0-md5:  1c1fcf3100ab47abb2f6f925c9803753
10 Patch0:         %{name}-home_etc.patch
11 URL:            http://cgdb.sourceforge.net/
12 BuildRequires:  readline-devel
13 Requires:       gdb
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 CGDB is a curses-based interface to the GNU Debugger (GDB). The goal
18 of CGDB is to be lightweight and responsive; not encumbered with
19 unnecessary features. The interface is designed to deliver the
20 familiar GDB text interface, with a split screen showing the source as
21 it executes. The UI is modeled on the classic Unix text editor, vi.
22 Those familiar with vi should feel right at home using CGDB.
23
24 %description -l pl
25 CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
26 jest bycie lekkim i reaktywnym, nie obci±¿onym niepotrzebnymi
27 mo¿liwo¶ciami. Interfejs zosta³ tak zaprojektowany, by dostarczyæ
28 znajomy interfejs tekstowy GDB z podzielonym ekranem pokazuj±cym
29 ¼ród³a wykonywanego kodu. Interfejs u¿ytkownika jest modelowany na
30 klasyczny uniksowy edytor tekstu - vi. Znaj±cy vi u¿ywaj±c CGDB
31 powinni czuæ siê jak w domu.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 CPPFLAGS="-I/usr/include/ncurses"
39 %configure
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 # pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../..
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         noinst_bindir=/progs
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS ChangeLog NEWS README
57 %attr(755,root,root) %{_bindir}/*
This page took 0.062018 seconds and 4 git commands to generate.