]> git.pld-linux.org Git - packages/cgdb.git/blame - cgdb.spec
- unify direntry
[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
ab5eea6c 4Version: 0.6.4
5Release: 0.1
eb0835d0
JB
6License: GPL
7Group: Development/Debuggers
8Source0: http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
ab5eea6c 9# Source0-md5: bddcaaee7b20ab2c17f1f4e197db74c0
ae3f1ab9 10Patch0: %{name}-home_etc.patch
2f15400f 11Patch1: %{name}-missing_includes.patch
d5146b40 12Patch2: %{name}-info.patch
eb0835d0 13URL: http://cgdb.sourceforge.net/
2f15400f 14BuildRequires: autoconf
5610bf3a 15BuildRequires: automake
4f1eaccd 16BuildRequires: readline-devel >= 5.1
d5146b40 17BuildRequires: texinfo
eb0835d0
JB
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
842407a2 29%description -l pl.UTF-8
eb0835d0 30CGDB to oparty na curses interfejs do GNU Debuggera (GDB). Celem CGDB
842407a2
JR
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.
eb0835d0
JB
37
38%prep
39%setup -q
ae3f1ab9 40%patch0 -p1
2f15400f 41%patch1 -p1
d5146b40 42%patch2 -p1
4f1eaccd 43
44find . -type f -name Makefile.am -exec %{__sed} -i 's@AM_CFLAGS = -g @AM_CFLAGS = @' '{}' ';'
eb0835d0
JB
45
46%build
4f1eaccd 47CPPFLAGS=' -I/usr/include/ncurses '
2f15400f 48%{__aclocal} -I config
49%{__autoconf}
50%{__autoheader}
51%{__automake}
52
8115280e 53%configure
eb0835d0
JB
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59# pass noinst_bindir inside buildroot - don't mess in $TMPDIR/../../..
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT \
62 noinst_bindir=/progs
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
4f1eaccd 67%post
68[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70%postun
71[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
72
eb0835d0
JB
73%files
74%defattr(644,root,root,755)
75%doc AUTHORS ChangeLog NEWS README
76%attr(755,root,root) %{_bindir}/*
d3b13183 77%{_mandir}/man1/*
d5146b40 78%{_infodir}/*.info*
d2c9bca5
JK
79%dir %{_datadir}/%{name}
80%{_datadir}/%{name}/cgdb.txt
This page took 0.091172 seconds and 4 git commands to generate.