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