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