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