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