]> git.pld-linux.org Git - packages/cgdb.git/blame_incremental - cgdb.spec
- updated to 0.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.7.0
5Release: 1
6License: GPL v2
7Group: Development/Debuggers
8Source0: http://cgdb.me/files/%{name}-%{version}.tar.gz
9# Source0-md5: 7bdb1b418db4bcdb16ba004aebd8f3d7
10Patch0: %{name}-home_etc.patch
11Patch1: %{name}-info.patch
12URL: http://cgdb.github.io/
13BuildRequires: autoconf >= 2.50
14BuildRequires: automake
15BuildRequires: libstdc++-devel
16BuildRequires: ncurses-devel
17BuildRequires: readline-devel >= 5.1
18BuildRequires: texinfo
19Requires: gdb
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23CGDB is a curses-based interface to the GNU Debugger (GDB). The goal
24of CGDB is to be lightweight and responsive; not encumbered with
25unnecessary features. The interface is designed to deliver the
26familiar GDB text interface, with a split screen showing the source as
27it executes. The UI is modeled on the classic Unix text editor, vi.
28Those familiar with vi should feel right at home using CGDB.
29
30%description -l pl.UTF-8
31CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
32jest bycie lekkim i reaktywnym, nie obciążonym niepotrzebnymi
33możliwościami. Interfejs został tak zaprojektowany, by dostarczyć
34znajomy interfejs tekstowy GDB z podzielonym ekranem pokazującym
35źródła wykonywanego kodu. Interfejs użytkownika jest modelowany na
36klasyczny uniksowy edytor tekstu - vi. Znający vi używając CGDB
37powinni 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
55rm -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
63rm -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.694678 seconds and 4 git commands to generate.