]> git.pld-linux.org Git - packages/cgdb.git/blame - cgdb.spec
- updated to 0.7.0
[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
b3192dd4
JB
4Version: 0.7.0
5Release: 1
630596f1 6License: GPL v2
eb0835d0 7Group: Development/Debuggers
0da5ac42 8Source0: http://cgdb.me/files/%{name}-%{version}.tar.gz
b3192dd4 9# Source0-md5: 7bdb1b418db4bcdb16ba004aebd8f3d7
ae3f1ab9 10Patch0: %{name}-home_etc.patch
0da5ac42
PS
11Patch1: %{name}-info.patch
12URL: http://cgdb.github.io/
b3192dd4 13BuildRequires: autoconf >= 2.50
5610bf3a 14BuildRequires: automake
b3192dd4
JB
15BuildRequires: libstdc++-devel
16BuildRequires: ncurses-devel
4f1eaccd 17BuildRequires: readline-devel >= 5.1
d5146b40 18BuildRequires: texinfo
eb0835d0
JB
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
842407a2 30%description -l pl.UTF-8
eb0835d0 31CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
842407a2
JR
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.
eb0835d0
JB
38
39%prep
40%setup -q
ae3f1ab9 41%patch0 -p1
2f15400f 42%patch1 -p1
4f1eaccd 43
eb0835d0 44%build
b3192dd4 45#CPPFLAGS='%{rpmcppflags} -I/usr/include/ncurses '
2f15400f 46%{__aclocal} -I config
47%{__autoconf}
48%{__autoheader}
49%{__automake}
50
8115280e 51%configure
eb0835d0
JB
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
630596f1 65%post -p /sbin/postshell
a9c1b0f0 66-/usr/sbin/fix-info-dir -c %{_infodir}
4f1eaccd 67
630596f1 68%postun -p /sbin/postshell
a9c1b0f0 69-/usr/sbin/fix-info-dir -c %{_infodir}
4f1eaccd 70
eb0835d0
JB
71%files
72%defattr(644,root,root,755)
b3192dd4 73%doc AUTHORS NEWS README
630596f1 74%attr(755,root,root) %{_bindir}/cgdb
630596f1 75%{_infodir}/cgdb.info*
d2c9bca5
JK
76%dir %{_datadir}/%{name}
77%{_datadir}/%{name}/cgdb.txt
This page took 0.113092 seconds and 4 git commands to generate.