File cgdb.spec of Package cgdb

#
# spec file for package cgdb (Version 0.6.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           cgdb
License:        GPL v2 or later
Group:          Development/Tools/Debuggers
Version:        0.6.4
Release:        2
Summary:        Curses Debugger
Url:            http://cgdb.sourceforge.net
Source0:        http://garr.dl.sourceforge.net/sourceforge/cgdb/%name-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReq:        on
BuildRequires:  bison flex ncurses-devel readline-devel
PreReq:         %install_info_prereq

%description
CGDB is a curses (terminal-based) interface to the GNU Debugger (GDB).
Its goal is to be lightweight and responsive; not encumbered with
unnecessary features.

The primary feature of CGDB is the constant presence of a source
display (screenshots), updated as the program executes, to help keep
you focused while debugging. The interface is inspired by the classic
Unix text editor, vi. Those familiar with vi (or vim) should feel right
at home using CGDB.



Authors:
--------
    bob_rossi@cox.net
    mike@subfocal.net

%prep
%setup -q

%build
%configure
make

%install
%makeinstall

%clean
[ "$RPM_BUILD_ROOT" != "" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%post
%install_info --info-dir=%_infodir %_infodir/%name.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%files
%defattr(-,root,root)
%doc TODO AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/cgdb
%{_datadir}/cgdb/cgdb.txt
%{_mandir}/man1/cgdb.1.gz
%{_infodir}/cgdb.info.gz
%dir %{_datadir}/cgdb
%changelog
* Fri Jul 18 2008 bwalle@suse.de
- change source file format to bzip2
* Fri Jul 18 2008 bwalle@suse.de
- initial package
openSUSE Build Service is sponsored by