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